I am setting up SAMBA on a RedHat 6.2 Linux box for a friend (it is actually running under VMWARE).
I can not get the SMBD to stay running. It starts, creates a PID file in /var/lock/samba, but then exits saying that a port is already in use. I have added entries to /etc/inetd.conf already. It also doesn't start automatically.
any clue? This should be a fairly vanilla install. I had originally setup the computer to run on DHCP, but have changed it to static. I wanted to get this system to my buddy by Tuesday, but I can wait til Wednesday or so.
--------------------------
----------
----------
----------
Here is my inetd.conf settings:
# SAMBA NetBIOS services (for PC file and print sharing)
netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd
netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd
--------------------------
----------
----------
----------
Here is the error I get with level 3 debugging on smbd:
[2000/12/24 15:10:25, 3] param/loadparm.c:lp_add_ip
c(1566)
adding IPC service
[2000/12/24 15:10:25, 2] lib/interface.c:add_interf
ace(83)
added interface ip=192.168.10.2 bcast=192.168.10.255 nmask=255.255.255.0
[2000/12/24 15:10:25, 1] smbd/files.c:file_init(216
)
file_init: Information only: requested 10000 open files, 1014 are available.
[2000/12/24 15:10:25, 3] smbd/server.c:main(699)
loaded services
[2000/12/24 15:10:25, 3] smbd/server.c:main(707)
Becoming a daemon.
[2000/12/24 15:10:25, 3] locking/shmem_sysv.c:sysv_
shm_open(7
06)
Initialised IPC area of size 1048576
[2000/12/24 15:10:25, 0] lib/util_sock.c:open_socke
t_in(853)
bind failed on port 139 socket_addr=0.0.0.0 (Address already in use)
[2000/12/24 15:10:25, 2] smbd/server.c:exit_server(
408)
Closing connections
[2000/12/24 15:10:25, 3] smbd/server.c:exit_server(
435)
Server exit (caught signal)
[2000/12/24 15:11:31, 1] smbd/server.c:main(643)
smbd version 2.0.6 started.
Copyright Andrew Tridgell 1992-1998
[2000/12/24 15:11:31, 1] smbd/files.c:file_init(216
)
file_init: Information only: requested 10000 open files, 1014 are available.
thanks for any help!