Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

smbcontrol won't end all samba Processes ...

Status
Not open for further replies.

TSch

Technical User
Jul 12, 2001
557
DE
Hi folks,

we're using the following commands in a shutdown script to end all samba processes on our archive server:

/opt/pware/samba/3.0.25a/bin/smbcontrol -s /shareddir/smb.conf nmbd shutdown

/opt/pware/samba/3.0.25a/bin/smbcontrol -s /shareddir/smb.conf smbd shutdown

But when the shutdown script comes to the point where it is to unmount the filesystems it fails and we have to perform all remaining actions manually because there are always smbd and nmbd processes remaining active that we have to kill first blocking the filesystem ...

Is there any way to prevent this from happening ? Maybe perform some kind of forces smbcontrol shutdown or a way to script a kill on everything that's named smbd and nmbd ?

Regards
Thomas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top