.pid files

Jeremy Allison jallison at whistle.com
Thu Jul 2 23:54:08 GMT 1998

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.


	Jeremy Allison,
	Samba Team.

Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.

More information about the samba-ntdom mailing list