* Samba daemon startup problems
@ 1998-08-26 4:00 matsaki
1998-08-26 4:00 ` Eric A. Hall
0 siblings, 1 reply; 2+ messages in thread
From: matsaki @ 1998-08-26 4:00 UTC (permalink / raw)
I am trying to install Samba on DU4.0D...
In my smb log, I get the following error:
bind failed on port 139 socket_addr=0.0.0.0 (Address already in use)
And in my nmb log, I get the following error:
bind failed on port 137 socket_addr=0.0.0.0 (Address already in use)
I have been trying to start smbd and nmbd as daemons with the -D switch...but
these errors pop up in my logs... 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...
Is there somewhere else I can check to see what is actively listening on
ports 137/139 ? Is there something in the boot process that will initially
use these ports??
Any suggestions , comments would be appreciated.
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Samba daemon startup problems
1998-08-26 4:00 Samba daemon startup problems matsaki
@ 1998-08-26 4:00 ` Eric A. Hall
0 siblings, 0 replies; 2+ messages in thread
From: Eric A. Hall @ 1998-08-26 4:00 UTC (permalink / raw)
To: matsaki
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-08-26 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-26 4:00 Samba daemon startup problems matsaki
1998-08-26 4:00 ` Eric A. Hall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox