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

Fri May 21 21:45:12 UTC 2010
Les Mikesell <lesmikesell at gmail.com>

On 5/21/2010 4:37 PM, Ross Walker wrote:
> On May 21, 2010, at 3:48 PM, Whit Blauvelt<whit at transpect.com>  wrote:
>
>> On Fri, May 21, 2010 at 03:12:02PM -0400, Ross Walker wrote:
>>
>>> What happens when you manually try to execute the above commands?
>>
>> # /bin/bash -c 'ulimit -S -c 0>/dev/null 2>&1 ; smbd -D'
>>
>> Not sure what that might in theory do, but it works:
>>
>> # ps aux | grep mbd | grep -v grep
>> root      7870  0.0  0.0 135952  2592 ?        Ss   15:46   0:00
>> smbd -D
>> root      7871  0.0  0.0 135952  1408 ?        S    15:46   0:00
>> smbd -D
>>
>
> Idea wa to see if there was a ulimit set that is preventing smbd from
> starting.
>
> Need to look back at the debug output to see if it included a
> restrictive ulimit...

That shouldn't change between doing an 'sh script start' and 'script 
start'.   But then again, neither should anything else...

-- 
   Les Mikesell
    lesmikesell at gmail.com