On Jun 21, 2007, at 6:25 PM, Alex M wrote:
On 6/21/07, James Peach <email@hidden> wrote: On Jun 20, 2007,
at 8:53 AM, Alex M wrote:
> Hello,
>
> I am sharing a couple directories via SMB from a 10.4.9 server.
SMB
> seems to be dying after about day (at the most).
<snip>
> In /var/log/samba/log.nmbd I get:
>
> [2007/06/19 10:00:34, 0] /SourceCache/samba/samba-100.7/samba/
source/
> nmbd/nmbd.c:terminate(56)
> Got SIGTERM: going down...
> [2007/06/20 08:03:23, 0] /SourceCache/samba/samba-100.7/samba/
source/
> nmbd/nmbd.c:main(668)
> Netbios nameserver version 3.0.10 started.
> Copyright Andrew Tridgell and the Samba Team 1994-2004
> [2007/06/20 08:09:02, 0] /SourceCache/samba/samba-100.7/samba/
source/
> nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
This means that someone restarted nmbd. I'm not sure why this would
occur on your system, but unless you're seeing it all the time (eg.
every few minutes) I wouldn't worry too much about it.
I guess I should have quoted the logs a bit better - that was me
restarting it by hand. The service dies and does not start back up
until I stop and start it. In server admin it still shows that the
service is running when it clearly isn't. I haven't checked if the
process actually stops via `ps`.
It appears pretty random -- I can't tie it to any actions on my
end...
Quite a few people had problems with smbd/nmbd early in the life of
10.4 server.
Various scripts for kicking (restarting) smbd were suggested.
Another suggestion was to modify the smbd.plist as follows:
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/smbd</string>
<string>-F</string>
</array>