[Samba] samba -i prints some strange stuff

Eric Games frequencydrive at yahoo.com
Sun Feb 17 07:11:04 GMT 2002


I did a complete installation of Red Hat 7.2 on my Dell Inspiron 5000
laptop from RH6.2.  I had SAMBA running on it fine until I wiped my
hard drive and installed RH 7.2.  So now I have to learn how to set up
SAMBA with xinetd.  I saw a newer version of SAMBA on the SAMBA.org
web site so I downloaded it.  After reading the INSTAll file and
following the instructions it created an RPM in:

/usr/src/redhat/RPMS/i386/samba-2.2.3a-20020206.i386 

so I then did this:
 
rpm -ivh /usr/src/redhat/RPMS/i386/samba-2.2.3a-20020206.i386.rpm 

and of course it saw there 
was already a previous version of samba installed so it wouldn't
complete the installation.  I then forced the install with the --force
option.  So it
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


What is this?  What can I do to get out of this mess?  I just want to
run a simple SAMBA server for my small home network.

p.s. My wife is gunna kill me if I spend another 14 hours on this!

Thank you.


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com




More information about the samba mailing list