[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Permission test failed -- current permission is 0000
From: |
Martin Pala |
Subject: |
Re: Permission test failed -- current permission is 0000 |
Date: |
Wed, 14 Jan 2015 09:37:35 +0100 |
Which Monit version it is?
Please can you run Monit in debug mode and send output and send the logfile?:
0.) make sure you have "set logfile" statement in your monit configuration file
1.) stop monit
2.) start monit in debug mode and collect output: monit -v
3.) when the problem will occur, send the logfile
Regards,
Martin
> On 13 Jan 2015, at 15:40, Marc Tauber <address@hidden> wrote:
>
> I’m getting the following failure:
>
> permission test failed for /usr/sbin/mysqld — current permission is 0000
>
> Other file permission tests are working fine and this has previously worked
> correctly.
>
> Details below.
>
>
> ---
>
> The permissions for the file are as follows:
>
> # ls -l /usr/sbin/mysqld
> -rwxr-xr-x 1 root root 11754400 Oct 11 01:13 /usr/sbin/mysqld
>
> ---
>
> Monit is being run as root:
>
> # ps aux | grep monit
> root 3892 0.0 0.0 108700 4064 ? Sl 2014 139:26
> /usr/bin/monit -c /etc/monit/monitrc
>
> # stat /usr/sbin/mysqld
> File: ‘/usr/sbin/mysqld’
> Size: 11754400 Blocks: 22960 IO Block: 4096 regular file
> Device: ca00h/51712d Inode: 172035 Links: 1
> Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
> Access: 2014-10-20 11:52:10.000000000 +0000
> Modify: 2014-10-11 01:13:37.000000000 +0000
> Change: 2014-10-20 11:52:11.990107355 +0000
> Birth: -
>
> ---
>
> This is the the entry:
>
> File Name = mysql_bin
> Group = mysql
> Path = /usr/sbin/mysqld
> Monitoring mode = active
> Existence = if does not exist 1 times within 1 cycle(s) then
> restart else if succeeded 1 times within 1 cycle(s) then alert
> Checksum = if failed 18b49ee80df853500e563d3467f60fca(MD5) 1
> times within 1 cycle(s) then unmonitor else if succeeded 1 times within 1
> cycle(s) then alert
> Permission = if failed 0755 1 times within 1 cycle(s) then
> unmonitor else if succeeded 1 times within 1 cycle(s) then alert
> UID = if failed 0 1 times within 1 cycle(s) then unmonitor
> else if succeeded 1 times within 1 cycle(s) then alert
> GID = if failed 0 1 times within 1 cycle(s) then unmonitor
> else if succeeded 1 times within 1 cycle(s) then alert
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general