.pid files

peloy at ven.ra.rockwell.com peloy at ven.ra.rockwell.com
Fri Jul 3 22:30:41 GMT 1998


Humm, this is new, isn't it (nmbd storing its pid in a file)? This is
great.

What about smbd? How are multiple instances handled?

E.-

Jeremy Allison <jallison at whistle.com> wrote:
> Mike Black wrote:
>> 
>> #1 - Just upgraded a server to the new ntdom code
>> #2 - Just had a system lockup -- had to do a hard reset
>> #3 - Samba says:
>>     ERROR: nmbd is already running
> 
>> Shouldn't the error message be:
>> 
>> ERROR: Lock file '/usr/local/samba/var/locks/nmbd.pid' exists -- improper
>> shutdown?
>> It would be nice if it offered to continue and overwrite the pid file
>> anyway.  But, at LEAST give a good error message please!!  Actually, it
>> would probably be better for a command line switch to FORCE overwriting
>> (like during the boot process).  I've added an "rm" to my startup script to
>> fix this for now...
>> 
> 
> Ok, ok - you're right. I've fixed it in the latest
> CVS source to give a good error message.
> 
> Cheers,
> 
> 	Jeremy Allison,
> 	Samba Team.
> 
> -- 
> --------------------------------------------------------
> Buying an operating system without source is like buying
> a self-assembly Space Shuttle with no instructions.
> --------------------------------------------------------
> 

-- 

Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


More information about the samba-ntdom mailing list