[CentOS] Odd failure of smbd to start from init.d - CentOS 5.4

Fri May 21 02:29:16 UTC 2010
Jason Pyeron <jpyeron at pdinc.us>

 

> -----Original Message-----
> From: Whit Blauvelt
> Sent: Thursday, May 20, 2010 17:42
> Subject: Re: [CentOS] Odd failure of smbd to start from 
> init.d - CentOS 5.4
> 
> More data:
> 
> "service smb restart" - does NOT get smbd running (although 
> shows "OK")
> 
> "sh /etc/init.d/smb restart" - DOES get smbd running
> 
> The "service" man page claims the only environment variables 
> it passes are LANG and TERM. But that can't be the key, since 
> 
> "/etc/init.d/smb restart" - does NOT get smbd running 
> (although shows "OK")
> 
> For that matter
> 
> "bash /etc/init.d/smb restart" - DOES get smbd running
> 
> Changing the first line of init.d/smb to /bin/bash from 
> /bin/sh changes all this not at all.
> 
> What the heck can this be?

We have this issue too. Our case it caused by a faulty ethernet card. If a user
logs on with a large profile 2-8GB it will lock the card up, then samba will not
start (no messages, just the [OK] and it is gone). When we powercycle the box,
all is well. We have tried to rmmod/insmod the nic drivers with intermittent
results. We have the new boxes to migrate, now just looking for the time to do
it. PS read the remainder of the thread before replying.

-Jason 

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.