Skip to content

smbd and nmbd daemons stop working unexpectedly

28. December 2011

Samba services were started automatically when the server is powered on.
But after some time, the Samba services are not running any more.

smbd and nmbd daemons stopped working unexpectedly.
pgrep smbd and pgrep nmbd return no process id
What does the log say? See /opt/local/var/log.smbd and log.nmbd


Restart the services manually

sudo launchctl start org.samba.nmbd; sudo launchctl start org.samba.smbd

Maybe adding a “keep alive” option in the org.samba.smbd.plist / org,samba.nmbd.plist will help?


Use SuccessfulExit = false!
So samba services only gets restarted in case of an unexpected error.
Otherwise, you’ll get a loop, when launchd is restarting samba over and over again.

Leave a Comment

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: