Hello!
I installed Samba 2.07 on a system running Solaris 2.5.1 and have
tried to get a basic configuration to work properly. However,
I have had problems getting both the smbd & nmbd daemons to
run. When I start samba thru /etc/init.d/samba start, I wind
up starting the nmbd daemon, but smbd is not up.
# ps -ef | grep mb
root 18996 17668 0 10:22:31 pts/0 0:00 grep mb
root 18906 1 0 10:16:15 ? 0:00 /opt/samba/bin/nmbd -D -d 0
-l /var/opt/samba/log.nmb
There are both pid files for smbd.pid and nmbd.pid in
/var/opt/samba/locks. Yet, the logs (at level -3) appear to
show that nmbd tries to restart:
# tail -20 log.nmb
services not loaded
[2000/12/04 10:16:54, 3] lib/util.c:(2698)
fcntl lock gave errno 11 (Resource temporarily unavailable)
[2000/12/04 10:16:54, 3] lib/util.c:(2720)
lock failed at offset 0 count 1 op 6 type 2 (Resource temporarily
unavailable)
[2000/12/04 10:16:54, 0] lib/pidfile.c:(86)
ERROR: nmbd is already running. File /var/opt/samba/locks/nmbd.pid exists
and process id 18906 is running.
[2000/12/04 10:16:55, 1] nmbd/nmbd.c:(757)
Netbios nameserver version 2.0.7 started.
Copyright Andrew Tridgell 1994-1998
[2000/12/04 10:16:55, 3] param/loadparm.c:(2805)
pm_process() returned Yes
[2000/12/04 10:16:55, 3] nmbd/nmbd.c:(289)
services not loaded
[2000/12/04 10:16:55, 3] lib/util.c:(2698)
fcntl lock gave errno 11 (Resource temporarily unavailable)
[2000/12/04 10:16:55, 3] lib/util.c:(2720)
lock failed at offset 0 count 1 op 6 type 2 (Resource temporarily
unavailable)
[2000/12/04 10:16:55, 0] lib/pidfile.c:(86)
ERROR: nmbd is already running. File /var/opt/samba/locks/nmbd.pid exists
and proceess id 18906 is running.
Yet, when I access the browser to check Samba, under Server Status,
the browser shows smbd being "up" but not "nmbd"? What is
wrong with my configuration? Any info would help, and I kindly
thank you in advance.
Sincerely,
John J. Wood
Sr. System Administrator
manufacturing.net
jwood@manufacturing.net