Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SMB sharing dies



On Jun 23, 2007, at 6:17 AM, David Haines wrote:


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>


AFAICT this should have no effect. In the smbd codebase, -F is implied by the fact that it is running in inetd-compatibility mode.


--
James Peach | email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >SMB sharing dies (From: "Alex M" <email@hidden>)
 >Re: SMB sharing dies (From: James Peach <email@hidden>)
 >Re: SMB sharing dies (From: "Alex M" <email@hidden>)
 >Re: SMB sharing dies (From: David Haines <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.