[Samba] samba -i prints some strange stuff

Tom Syroid tom at syroidmanor.com
Sun Feb 17 07:52:24 GMT 2002


Understand the wife thing <grin>...

Always (arguable by some, but I'm talking experience here) uninstall any 
previous Samba RPMs first.

So, going back to square one:

1. rpm -qa | grep samba
2. uninstall any results
3. rpm -ivh sambafile

The reason you can't start samba from the command line is because it's not 
on the path.

Once you get things sorted out and you've install the Samba-built rpm, try 
(as root)

service smb start


--On Sunday, February 17, 2002 07:05 -0800 Eric Games 
<frequencydrive at yahoo.com> wrote:

> 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 =
> 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 =
>   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
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list