[Samba] WINS Server failing to start

Joel Hammer Joel at HammersHome.com
Fri Jan 31 02:24:46 GMT 2003

What is in samba start script? As I recall, the Redhat startup scripts are
extremely convoluted. Have you tried something simple like this?

case "$1" in
  killall smbd
  killall nmbd
/usr/local/samba/bin/smbd -D
/usr/local/samba/bin/nmbd -D

  killall smbd
  killall nmbd
 kill -SIGHUP `cat /usr/local/samba/var/locks/smbd.pid`
 kill -SIGHUP `cat /usr/local/samba/var/locks/nmbd.pid`
 echo Usage: 
 echo start stop reload
exit 0

Or, just put a simple killall nmbd into your Redhat script.


On Fri, Jan 31, 2003 at 08:32:28AM +0930, David.Brown at csm.com.au wrote:
> Hi All,
> Just wondering if anyone has seen this problem before. Firstly heres some
> background.
> We run a fair few RH 7.2 servers which had been running samba 2.2.3a
> perfectly. I have now upgraded some of them to run samba 2.2.7a. On a few
> of these upgraded servers i find that when samba is stopped then started or
> restarted WINS fails to come up. Running smbclient -L //server reports
> wins_server_died().
> Now having looked through the debug logs i have found that when the smb
> stop command is issued sometimes it fails to kill the running nmbd
> processes (both of them). Therefore when smb goes to start up it cant start
> nmbd as it is already started but is not accepting connections.
> If i manually kill the nmbd processes it works no worries. Basically the
> init script is not killing the nmbd processes, however the init script is
> EXACTLY the same as the servers that work fine. (I might add that all the
> server configurations are identical). I have tried every combination of
> uninstall / reinstall / upgrade of the samba rpm without  luck. What
> puzzles me is that it only occurs on some of the servers.
> Obviously wins support = yes is set in the smb.conf file.
> Any ideas welcome. Thanks in advance.
> _____________________________
> David Brown
> Systems Specialist
> CSM Technology
> Darwin, NT, Australia
> Email: david.brown at csm.com.au
> _____________________________
> This e-mail, including any attachments, is intended only for the use of the
> individual or entity named above and may contain information that is
> confidential and privileged. Any information contained in this e-mail is
> not to be used or disclosed for any purpose other than the purpose for
> which you received it. If you are not the intended recipient you are
> notified that disclosing, copying, distributing or taking any action in
> reliance on the contents of this information is strictly prohibited. If you
> have received this e-mail by mistake, please delete this e-mail permanently
> from your system. WARNING: Although the company has taken reasonable
> precautions to ensure no viruses are present in this e-mail, the company
> can not accept responsibility for any loss or damage arising from the use
> of this e-mail or attachments.
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list