monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit doesn't see pid file


From: Anthony Griffiths
Subject: Re: monit doesn't see pid file
Date: Wed, 30 Nov 2016 09:11:44 +0000

On Wed, Nov 30, 2016 at 9:08 AM, Anthony Griffiths <address@hidden> wrote:

> On Tue, Nov 29, 2016 at 11:57 PM, Weedy <address@hidden> wrote:
>> On 29/11/16 12:46 PM, Anthony Griffiths wrote:
>>>
>>> when the stream is running the pid file at /var/run/stream.pid is
>>> always there because I've check it.
>>> why can't monit see the pid file?
>>
>>
>> Permissions?
>>
>> ls -l /proc/$(cat /var/run/stream.pid)/stat
>> ls -l /var/run/stream.pid

apologies I top posted in my last reply, please ignore it and use this
one if you wish:

thanks for your response. I ran the commands you gave but I don't know
whet the output means:
# ls -l /proc/$(cat /var/run/stream.pid)/stat
-r--r--r--. 1 root root 0 Nov 30 09:06 /proc/6715/stat

# ls -l /var/run/stream.pid
-rw-r--r--. 1 root root 5 Nov 30 09:05 /var/run/stream.pid

what permissions does monit need? Is it the stream.pid file that's at
fault here?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]