Peter Palfrader <[EMAIL PROTECTED]> writes:

> On Thu, 01 Mar 2007, Jari Aalto wrote:
>
>> A possible cause: There is no pid file for the process.
>
> The question is: why is there no pid file.  Please show me the outputs
> of:
>       ls -ld /var/run/mixmaster
>       ls -l /var/run/mixmaster
>       df -m /var/run
>       mount | grep var/run

This may something to do with start-top-daemon

$ /etc/etc/init.d/mixmaster start
Starting Mixmaster Daemon: mixmaster...
Mixmaster 3.0b2
Detaching.
done.

$ ls -la /var/run/mixmaster/mixmaster.pid
ls: /var/run/mixmaster/mixmaster.pid: No such file or directory

$ ls -ld /var/run/mixmaster
drwxrwsr-x 2 root mixmaster 4096 2006-09-28 21:06 /var/run/mixmaster
ls -l /var/run/mixmaster

$ mount | grep var/run
<empty>

$ df -m /var/run /var/run
/dev/mapper/vg0-var      30249     18322     10391  64% /var
Filesystem           1M-blocks      Used Available Use% Mounted on

[mount skipped for privacy reasons]

$ touch /var/run/mixmaster/mixmaster.pidaster.pid
$ ls -la /var/run/mixmaster/mixmaster.pidaster.pid
-rw-r--r-- 1 root mixmaster 0 2007-03-01 16:56 /var/run/mixmaster/mixmaster.pid
$ rm /var/run/mixmaster/mixmaster.pidaster.pid

Jari




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to