On Wed, Nov 30, 2016 at 9:08 AM, Anthony Griffiths <neuron...@gmail.com> wrote:

> On Tue, Nov 29, 2016 at 11:57 PM, Weedy <weedy2...@gmail.com> 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?

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to