[Samba] samba start randomly a second nmbd process
Stéphane PURNELLE
stephane.purnelle at corman.be
Wed Sep 3 08:43:44 GMT 2008
Hi all,
My samba server is executed under a software which control if samba is
life.
The software use some scripts which made the control and verify if process
exist.
If the process not exist or have a problem, the software restart the
application ( in this case : samba)
sometimes I see that samva is restarted by the software.
yes terday I added a message for see what start the recovery of samba and
I find that nmbd is present two times.
My test into the script is :
health_smbd=`ps -ewwf | grep "smbd" | grep -v grep | wc -l`
health_nmbd=`ps -ewwf | grep "nmbd" | grep -v grep | wc -l`
# For success
[[ $health_smbd -ge 1 && $health_nmbd -eq 1 ]]
I must have on or more smbd and I must have one nmbd process.
But :
normal:
Lifekeeper: Samba: quickCheck RESOURCE Samba health status : 148 / 1
Lifekeeper: Samba: quickCheck RESOURCE Samba health status : 147 / 1
Lifekeeper: Samba: quickCheck RESOURCE Samba health status : 146 / 1
Lifekeeper: Samba: quickCheck RESOURCE Samba health status : 148 / 1
abnormal :
Lifekeeper: Samba: quickCheck RESOURCE Samba health status : 108 / 2
As you can see here :
# WINS et cache
wins server = wins-srv
# wins support = yes
# wins proxy = yes
name cache timeout = 660
the wins server is not active, is a smbd4wins on an ither server which
made the wins server.
Anyone can help me to find the source of the problem ?
Samba 3.2.2 on a Redhat Enterprise Linux 5.1
Thanks
Stéphane Purnelle
-----------------------------------
Stéphane PURNELLE stephane.purnelle at corman.be
Service Informatique Corman S.A. Tel : 00 32 087/342467
More information about the samba
mailing list