[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Permission test failed -- current permission is 0000
From: |
Marc Tauber |
Subject: |
Permission test failed -- current permission is 0000 |
Date: |
Tue, 13 Jan 2015 14:40:42 +0000 |
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
- Permission test failed -- current permission is 0000,
Marc Tauber <=