[Samba] WINS Server failing to start

David.Brown at csm.com.au David.Brown at csm.com.au
Fri Jan 31 02:31:25 GMT 2003

Thanks Joel,

I have found that the init script provided in official redhat packages is
slightly different to the one provided in the official samba packages. I am
going to replace the one in the samba package with the one in the redhat
package and see how it goes. I would lke to install the official redhat rpm
however it was released on Nov 22 - prior to the release of samba-2.2.7a
from samba. Therefore the latest samba package doesnt have all the large
file support fixes included in 2.2.7a.

I'll let the list know how it goes so (hopefully) anyone who has the same
problem will not tear their hair out.

David Brown
Systems Specialist
CSM Technology
Email: david.brown at csm.com.au

                    Joel Hammer                                                                                                                     
                    <Joel at Hammers        To:     David.Brown at csm.com.au, samba at lists.samba.org                                                      
                    Home.com>            cc:                                                                                                        
                                         Subject:     Re: [Samba] WINS Server failing to start                                                      

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
> 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
> 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
> 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
> have received this e-mail by mistake, please delete this e-mail
> 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