Samba 2.0.7 Configuration Problem
Robert Dahlem
Robert.Dahlem at gmx.net
Mon Dec 4 19:53:49 GMT 2000
John,
On Mon, 4 Dec 2000 10:30:39 -0500, Wood, John (Cahners) wrote:
>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)
Look at the times: ps reports nmbd has been started at 10:16:15, the
logfile reports 10:16:54.
I bet you are in the following situation: Your inetd.conf contains
entries for nmbd and smbd. Someone/something in the net triggered port
137, so inetd started nmbd. A little later nmbd was started from
/etc/init.d/samba, (possibly rotated nmbd.log) and what you are seeing
now in the logfile is a standard behaviour when starting nmbd twice.
Check inetd.conf for nmbd/smbd entries and delete them.
Regards,
Robert
--
---------------------------------------------------------------
Robert.Dahlem at gmx.net Fax +49-69-432647
---------------------------------------------------------------
Sent using PMMail (http://www.pmmail2000.com) - fast, decent, email
software; far better than Outlook. Try it sometime.
More information about the samba
mailing list