logs/errors
Dear All,
I Got this error when i tried this command.......... hanif@hanif-desktop:~$ sudo apt-get install samba Password: E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? Any help will be appreciated Thank You. |
Is there any packet manager instance running in your box?
|
hi SMUS
Yes i am running software updates. and it is downloading 197 updates(Downloading Package files). |
Possibly you are getting error because of it. The files that package manager uses directly locked by one instance if you are running second instance you will get this kind of errors.
|
i have completed all the 197 updates and restarted my Ubuntu box.
please help me in setting LAN with my Win Domain Network Linux IP is eth0 192.168.2.100 255.255.255.0 XP IP is 192.168.2.101 255.255.255.0 i have not downloaded anything yet as mentioned by you but i will do it right now please help me in this. i dont know commands for linux Also i have modified my smb.conf file in the /etc/samba folder, which i saw from these help forums i have 1 win2000 adv server acting as ADS server and its IP is 192.168.2.254 255.255.255.0 from 2000server i get request timed out when i ping to ubuntu My win network is fine, just i want to add this ubuntu to my windows domain network and use it as normal client. how can i do this please let me know Thank you |
hi,
usually there two eth adaptors for your box one of them is LO(Loobback) the other one is your physical ethernet adaptor if your LO is not running or not showing 127.0.0.1 you cannot send ICMP packets (ping command) to destination first pls check the adaptors by typing ifconfig -a within your box console. if your loopback adaptor is visible than you must check your default gateway from /etc/network/interfaces . Pls let me know the results. lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:643613 errors:0 dropped:0 overruns:0 frame:0 TX packets:643613 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100829743 (96.1 Mb) TX bytes:100829743 (96.1 Mb) |
Dear SUMS
Below is the result i got when i entered ifconfig -a lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:163 errors:0 dropped:0 overruns:0 frame:0 TX packets:163 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:14683 (14.3 Kib) TX bytes:14683 (14.3 Kib) |
is there any firewall between this machines?
|
Hi SUMS
THANK YOU FOR YOUR REPLY. yes i am using comodo firewall on 2000ADVserver and do not know anything about my linux box. Regards. |
i just checked by disabling the firewall on my 2000server but still no progress
|
are you able to ping in reverse way. Windows to box? If so there isnothing remain in my mind :(
|
no i cannot ping from both side
|
Please Somebody Help In Setting My Lan
|
I am getting this error
hanif@hanif-desktop:~$ sudo aptitude install samba samba-common Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Building tag database... Done No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done Setting up samba (3.0.22-1ubuntu3.6) ... update-rc.d: warning: /etc/rc2.d/K09samba is not a link to ../init.d/samba or /etc/init.d/samba update-rc.d: warning: /etc/rc3.d/K09samba is not a link to ../init.d/samba or /etc/init.d/samba invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba dpkg: error processing samba (--configure): subprocess post-installation script returned error exit status 102 Errors were encountered while processing: samba E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up samba (3.0.22-1ubuntu3.6) ... update-rc.d: warning: /etc/rc2.d/K09samba is not a link to ../init.d/samba or /etc/init.d/samba update-rc.d: warning: /etc/rc3.d/K09samba is not a link to ../init.d/samba or /etc/init.d/samba invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba dpkg: error processing samba (--configure): subprocess post-installation script returned error exit status 102 Errors were encountered while processing: samba |
All times are GMT -5. The time now is 01:42 AM. |