smbd will not run on LPPC...

Per Kofod per at sgi.com
Thu Dec 7 07:43:03 GMT 2000


Hi Reed

Looks like you already have something bound/listening on TCP port 139. 
and this causes smbd to exit, as it cannot bind to this port

what is the output of `netstat -an |grep 139` in my case I do have smbd
listening to this port, and get this output:

tcp        0      0  *.139                  *.*                   
LISTEN

If you have inetd running, you should check if inetd is configured to
listen
to this port, first check for an entry in /etc/services ( `grep 139
/etc/services` )

if you see an output like:

<servicename>	139/tcp    ......

Then check for existence of this service in /etc/inetd.conf ( `grep
<servicename> /etc/inetd.conf`)

The port might also be handled by a portmapper, you can check with
`rpcinfo -p | grep 139`

Hope this helps

Per Kofod


> 
> Message: 2
> Date: Wed, 06 Dec 2000 06:44:20 -0700
> From: Reed Loefgren <reedloefgren at interfold.com>
> To: samba at lists.samba.org
> Subject: smbd will not run on LPPC...
> 
> Hi all,
> 
>   I have been trying to get samba to run as a daemon on a
> LinuxPPC-1999Q3 machine (Red Hat based.)
> Whenever I did /usr/sbin/{smbd & nmbd} -D, nmbd would show up in ps
> -aux, but not smbd. I have since tried to start them using the Run Level
> Editor in Control-Panel; nmbd -D shows up in ps -aux, but again, not
> smbd. A check of log.smbd says:
> 
> [2000/12/03 20:52:18, 1] smbd/server.c:main(641)
>   smbd version 2.0.7 started.
>   Copyright Andrew Tridgell 1992-1998
> [2000/12/03 20:52:18, 1] smbd/files.c:file_init(216)
>   file_init: Information only: requested 10000 open files, 1014 are
> available.
> [2000/12/03 20:52:18, 0] lib/util_sock.c:open_socket_in(863)
>   bind failed on port 139 socket_addr=0.0.0.0 (Address already in use)
> [2000/12/04 23:18:52, 1] smbd/server.c:main(641)
>   smbd version 2.0.7 started.
>   Copyright Andrew Tridgell 1992-1998
> [2000/12/04 23:18:53, 1] smbd/files.c:file_init(216)
>   file_init: Information only: requested 10000 open files, 1014 are
> available.
> [2000/12/04 23:18:53, 0] lib/util_sock.c:open_socket_in(863)
>   bind failed on port 139 socket_addr=0.0.0.0 (Address already in use)
> 
> So it looks like it is running, right? Why doesn't it show up in a ps
> -aux? This is the case no matter what smb.conf I use (they're default
> and sample confs right now.) samba runs fine on my LPPC-2000 client.
> There is a long thread at LPPC-users concerning installing 2000 on a
> Powermac 8500 (which my server is,) and I might have a now bad cd, so
> upgrading to 2000 is not in the cards. Should I just wait for Halloween
> to go final and install that?
>   The specs are:
> Powermac 8500/150MHz/80MB RAM/1-SCSI cdrom/2-SCSI
> disks/LinuxPPC-1999Q3/kernel 2.2.15pre3
> 
> Thanks for any ideas,
> 
> Reed
> --




More information about the samba mailing list