OSX Server Tiger SAMBA/smbd-nmbd

pinoypaf

Registered
Has anyone else experienced an oddity with Samba and the nmbd service just stopping without any notice, and with no log of it stopping?

Occasionally and more often than not, the service will just stop and Windows users will report not being able to connect to their shares nor login etc...

Is there anyway of making sure that service stays up and 2 has anyone written a cron script that may restart it if it fails? I'm a script newb, so any help here would be much appreciated.

I've tried forcing an election because I thought another server was hijacking the master browser using "smbcontrol nmbd force-election", but I dunno if that is really the problem.

WINS is enabled on this Server too.

Help as this is getting real annoying for me and my Windows users.

Thanks

I've pasted a snippet the nmbd.log:
[2005/12/02 11:05:14, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd.c:main(668)
Netbios nameserver version 3.0.10 started.
Copyright Andrew Tridgell and the Samba Team 1994-2004
[2005/12/02 11:05:14, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/asyncdns.c:start_async_dns(149)
started asyncdns process 14794
[2005/12/02 11:05:14, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_logonnames.c:add_logon_names(163)
add_domain_logon_names:
Attempting to become logon server for workgroup HOPEPARK on subnet 192.168.1.20
[2005/12/02 11:05:14, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_logonnames.c:add_logon_names(163)
add_domain_logon_names:
Attempting to become logon server for workgroup HOPEPARK on subnet UNICAST_SUBNET
[2005/12/02 11:05:14, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(327)
become_domain_master_browser_wins:
Attempting to become domain master browser on workgroup HOPEPARK, subnet UNICAST_SUBNET.
[2005/12/02 11:05:14, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(341)
become_domain_master_browser_wins: querying WINS server from IP 192.168.1.20 for domain master browser name HOPEPARK<1b> on workgroup HOPEPARK
[2005/12/02 11:05:14, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_logonnames.c:become_logon_server_success(124)
become_logon_server_success: Samba is now a logon server for workgroup HOPEPARK on subnet UNICAST_SUBNET
[2005/12/02 11:05:14, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
*****

Samba server HOPESERVE1 is now a domain master browser for workgroup HOPEPARK on subnet UNICAST_SUBNET

*****
[2005/12/02 11:05:14, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282)
become_domain_master_browser_bcast:
Attempting to become domain master browser on workgroup HOPEPARK on subnet 192.168.1.20
[2005/12/02 11:05:14, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295)
become_domain_master_browser_bcast: querying subnet 192.168.1.20 for domain master browser on workgroup HOPEPARK
[2005/12/02 11:05:18, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_logonnames.c:become_logon_server_success(124)
become_logon_server_success: Samba is now a logon server for workgroup HOPEPARK on subnet 192.168.1.20
[2005/12/02 11:05:22, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
*****

Samba server HOPESERVE1 is now a domain master browser for workgroup HOPEPARK on subnet 192.168.1.20

*****
[2005/12/02 11:05:38, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****

Samba name server HOPESERVE1 is now a local master browser for workgroup HOPEPARK on subnet 192.168.1.20

*****
[2005/12/02 11:09:42, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd.c:main(668)
Netbios nameserver version 3.0.10 started.
Copyright Andrew Tridgell and the Samba Team 1994-2004
[2005/12/02 11:09:42, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/asyncdns.c:start_async_dns(149)
started asyncdns process 14893
[2005/12/02 11:09:42, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_logonnames.c:add_logon_names(163)
add_domain_logon_names:
Attempting to become logon server for workgroup HOPEPARK on subnet 192.168.1.20
[2005/12/02 11:09:42, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_logonnames.c:add_logon_names(163)
add_domain_logon_names:
Attempting to become logon server for workgroup HOPEPARK on subnet UNICAST_SUBNET
[2005/12/02 11:09:42, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(327)
become_domain_master_browser_wins:
Attempting to become domain master browser on workgroup HOPEPARK, subnet UNICAST_SUBNET.
[2005/12/02 11:09:42, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(341)
become_domain_master_browser_wins: querying WINS server from IP 192.168.1.20 for domain master browser name HOPEPARK<1b> on workgroup HOPEPARK
[2005/12/02 11:09:42, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_logonnames.c:become_logon_server_success(124)
become_logon_server_success: Samba is now a logon server for workgroup HOPEPARK on subnet UNICAST_SUBNET
[2005/12/02 11:09:42, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
*****

Samba server HOPESERVE1 is now a domain master browser for workgroup HOPEPARK on subnet UNICAST_SUBNET

*****
[2005/12/02 11:09:42, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282)
become_domain_master_browser_bcast:
Attempting to become domain master browser on workgroup HOPEPARK on subnet 192.168.1.20
[2005/12/02 11:09:42, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295)
become_domain_master_browser_bcast: querying subnet 192.168.1.20 for domain master browser on workgroup HOPEPARK
[2005/12/02 11:09:47, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_logonnames.c:become_logon_server_success(124)
become_logon_server_success: Samba is now a logon server for workgroup HOPEPARK on subnet 192.168.1.20
[2005/12/02 11:09:51, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
*****

Samba server HOPESERVE1 is now a domain master browser for workgroup HOPEPARK on subnet 192.168.1.20

*****
[2005/12/02 11:10:05, 0] /SourceCache/samba/samba-92.9/samba/source/nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****

Samba name server HOPESERVE1 is now a local master browser for workgroup HOPEPARK on subnet 192.168.1.20

*****
 
Back
Top