LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba problem (while starting) (https://www.linuxquestions.org/questions/linux-networking-3/samba-problem-while-starting-55133/)

koy 04-15-2003 09:03 AM

Samba problem (while starting)
 
This is a very simple and prolly simple to solve problem but as i'm pretty newbie at linux i dunno how to solve it :p

Here is what i get when i start smbd:

Code:

lib/util_sock.c:open_socket_in(804)
  bind failed on port 139 socket_addr = 0.0.0.0.
  Error = Address already in use

it does not say that in the console but it does in the log (the console starts it but it stops after about 0.5 secs). To solve the problem u prolly need to find out wich program is using the adress and disable ir or smth, i dunno how to do that do :S

jharris 04-15-2003 09:11 AM

It sounds like something is already listening on the Samba port. You want to check that you don't already have samba running (hint - ps -ef | grep smbd), if its not already running (the ps command returned no 'smbd' processes) then it may be that inetd or xinetd is listening on the port. Take a look at /etc/inetd.conf or your xinetd conf (dunno where the conf files are for this I don't use it). The ouput from netstat -a may also be useful, look for mention of things listening on port 139.

HTH

Jamie...

koy 04-15-2003 03:49 PM

Quote:

Originally posted by jharris
It sounds like something is already listening on the Samba port. You want to check that you don't already have samba running (hint - ps -ef | grep smbd), if its not already running (the ps command returned no 'smbd' processes) then it may be that inetd or xinetd is listening on the port. Take a look at /etc/inetd.conf or your xinetd conf (dunno where the conf files are for this I don't use it). The ouput from netstat -a may also be useful, look for mention of things listening on port 139.

HTH

Jamie...


Tanx the ps command told me that vmware was running samba, i forgot about that. But as i don't need vmware anymore could u tell me how to uninstall it as i installed it via source and not rpm? :)

jharris 04-16-2003 02:55 AM

I can't say I've played with VMWare but my normaly way of uninstalling source-installed programs is to use good old rm although I've seen some programs where you can download the same version of the source, do the same ./configure as before then do a make uninstall but I've never tried myself.

cheers

Jamie...

koy 04-16-2003 03:21 AM

Quote:

Originally posted by jharris
I can't say I've played with VMWare but my normaly way of uninstalling source-installed programs is to use good old rm although I've seen some programs where you can download the same version of the source, do the same ./configure as before then do a make uninstall but I've never tried myself.

cheers

Jamie...

Tanx m8! I thought that i had seen a script like taht in the source so i re-downed it and it worked perfectly.


BTW:How would the rm work? thought it was only for deleting single files :S

jharris 04-16-2003 03:23 AM

rm is for deleteing things! You would delete all the files that VMWare had put on the system!

cheers

Jamie...

koy 04-16-2003 05:19 AM

Quote:

Originally posted by jharris
rm is for deleteing things! You would delete all the files that VMWare had put on the system!

cheers

Jamie...


thats what i thought, would have been complicated that way :p

Anyways it's all workin now, Tanx for ur help :)


All times are GMT -5. The time now is 07:32 PM.