William Enestvedt
2004-Feb-02 16:38 UTC
[Samba] Solaris 8 & Samba 3: "address already in use"
I am getting errors when I try to start smbd which say that port 445 is already in use, but nothing else is using it. In the log, the full error is: -----start log.smbd---- [2004/02/02 11:03:53, 0] lib/util_sock.c:open_socket_in(662) bind failed on port 445 socket_addr = 0.0.0.0. Error = Address already in use ------end log.smbd----- In my /etc/services file, I have these entries: -----start services----- netbios-ns 137/tcp # NETBIOS Name Service netbios-ns 137/udp # NETBIOS Name Service netbios-dgm 138/tcp # NETBIOS Datagram Service netbios-dgm 138/udp # NETBIOS Datagram Service netbios-ssn 139/tcp # NETBIOS Session Service netbios-ssn 139/udp # NETBIOS Session Service microsoft-ds 445/tcp #Direct-Hosted Service ------end services------ And in my /etc/inetd.conf file, I have this: -----start inetd.conf----- netbios-ssn stream tcp nowait root /usr/local/samba/sbin/smbd smbd netbios-ns dgram upd wait root /usr/local/samba/sbin/nmbd nmbd microsoft-ds stream tcp nowait root /usr/local/samba/sbin/smbd smbd ------end inetd.conf------ Are any of my entries incorrect? Thanks for the help. -wde -- Will Enestvedt UNIX System Administrator Johnson & Wales University -- Providence, RI
Fabien Chevalier
2004-Feb-02 16:54 UTC
[Samba] Solaris 8 & Samba 3: "address already in use"
Le Lundi 2 F?vrier 2004 17:37, William Enestvedt a ?crit :> I am getting errors when I try to start smbd which say that > port 445 is already in use, but nothing else is using it. In > the log, the full error is:Don't you have a stale smbd process, preventing a new smbd from binding to port 445? cheers, Fabien Chevalier
William Enestvedt
2004-Feb-02 17:10 UTC
[Samba] Solaris 8 & Samba 3: "address already in use"
Fabien Chevalier asked:> > Don't you have a stale smbd process, preventing a new smbd > from binding to port 445? >It's a good ides -- but I don't think it's the case here: `ps -ef` doesn't show any instances of smbd, and `top` doesn't indicate any zombies. Can you suggest another way to find stale smbd processes? -wde -- Will Enestvedt UNIX System Administrator Johnson & Wales University -- Providence, RI