From: "Eric A. Hall" <ehall@ehsco.com>
To: matsaki@statcan.ca
Subject: Re: Samba daemon startup problems
Date: 1998/08/26 [thread overview]
Message-ID: <35E4EA3A.1292E8D2@ehsco.com> (raw)
In-Reply-To: 6s13gq$5jf$1@nnrp1.dejanews.com
> 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
prev parent reply other threads:[~1998-08-26 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-08-26 4:00 Samba daemon startup problems matsaki
1998-08-26 4:00 ` Eric A. Hall [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox