Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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?
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.