[Samba] samba -i prints some strange stuff

Christian Barth barth at cck.uni-kl.de
Sun Feb 17 09:08:02 GMT 2002


> > is installed now.  When I type smbd -D nothing happens.  There is no
> > instance of smbd running when I do a ps -aux.  When I type nmbd -D it
> > starts and I can see it with ps -aux.  What happened to smbd -D?  After
> > a "man smbd" I saw the -i switch.  Here is what I get when I type
> > smbd -i:
> >
> > Copyright Andrew Tridgell and the Samba Team 1992-2002
> > bind failed on port 139 socket_addr = 0.0.0.0.
> > Error = Address already in use
> >
> > What does this mean?  Is this because I forced the rpm over the top of
> > an already installed samba? I tried to install the rpm using the -U
> > switch but it wouldn't install either so I forced it with --force.
> > If I do a "cat /var/log/samba/smbd.log" I get:
> >
> > [root at penguin samba] cat /var/log/samba/smbd.log
> > [2002/02/17 04:10:03, 0] lib/util_sock.c:open_socket_in(789)
> >   bind failed on port 139 socket_addr = 0.0.0.0.
> >   Error = Address already in use

Samba uses the TCP/IP-prot 139. But it can not start, because an user 
programm allready uses thist prot:

Brute force: reboot the machine and try again (just to be sure that 
there is no old version of samba runnning). If this doesn't work, you 
have to check out what process uses prot 139.

"fuser" has an option to find that out. check (x)inetd, look at the 
output of "ps auwxf" and think what it could be. Kill every thing you 
are not sure you realy need it (you may lear that you need it).

Christian

               _(_)_                          wWWWw   _
   @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
  @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
   @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
    /      Y       \|    \|/    /(_)    \|      |/      |
 \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^




More information about the samba mailing list