[Samba] Solaris 8 & Samba 3: "address already in use"

William Enestvedt William.Enestvedt at jwu.edu
Mon Feb 2 16:37:27 GMT 2004


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


More information about the samba mailing list