From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,54c2095dc0024022 X-Google-Attributes: gidfee84,public From: "Eric A. Hall" Subject: Re: Samba daemon startup problems Date: 1998/08/26 Message-ID: <35E4EA3A.1292E8D2@ehsco.com>#1/1 X-Deja-AN: 385170508 Content-Transfer-Encoding: 7bit References: <6s13gq$5jf$1@nnrp1.dejanews.com> To: matsaki@statcan.ca X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: EHS Company Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 > bind failed on port 139 socket_addr=0.0.0.0 (Address already in use) > bind failed on port 137 socket_addr=0.0.0.0 (Address already in use) Another LAN Manager server is probably already running on this system. This might be Samba, or it might be DEC's Advanced File Services (DEC's version of LAN Manager, which is better than Samba in many ways). > Is there somewhere else I can check to see what is actively listening on > ports 137/139? "netstat -a | more" will show everything bound to the IP stack. Look for ports 137/139 (UDP and TCP), and see what's bound to them. If that doesn't give enough info, run "ps -e | more" to see all running processes. Look for any instances of samba/nmbd (which might have been started by somebody/something else), or for knb, knblink or lmx. These are the DEC Advanced File Services components. If you want Samba and not AFS, the best way to get rid of it is to uninstall it altogether. You might like it better though, as it provides better integration with NT domains than Samba does, although it also costs money, which Samba doesn't, and there are other issues. > I checked my /etc/services and /etc/inetd.conf files, but there is > nothing that indicates that 137/139 are in use... no entries for any of > these ports... /etc/services is a map, like /etc/hosts, and doesn't control what gets started or not. It just gives you friendly names for port numbers, like /etc/hosts gives you friendly names for IP addresses. -- Eric A. Hall ehall@ehsco.com +1-650-685-0557 http://www.ehsco.com