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

Thu May 20 23:35:39 UTC 2010
Whit Blauvelt <whit at transpect.com>

On Thu, May 20, 2010 at 03:50:20PM -0700, Craig White wrote:

> not until you run the command as suggested much earlier...
> 
> /usr/sbin/smbd -iF
> 
> which will launch it iteractively and output everything to standard out
> - the console itself and then let us know what it says.

Hi Craig,

/usr/sbin/smbd -D as reported earlier works. The problem is when it's
started from the /etc/init.d/smb script in the normal way.

But to be sure:

# /usr/sbin/smbd -iF
smbd version 3.0.33-3.28.el5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2008

That's all that shows, it stops there. It's running at first:

# ps aux | grep smbd
root     10268  0.0  0.0 135576  4568 pts/0    S+   19:14   0:00 /usr/sbin/smbd -iF

... for a few minutes. Then it goes away. But there's no message as to why 
it's failed to show anything more on the open console. But the process is
gone. Does that tell us anything yet?

On the other hand, a /usr/sbin/smbd -D started process is fully persistent.

Whit