Also, can you run and report the output of the following:
Code: Select all
tail -20 /var/log/mysqld.logCode: Select all
service ndo2db restartCode: Select all
tail -20 /var/log/mysqld.logCode: Select all
service ndo2db restartCode: Select all
# tail -20 /var/log/mysqld.log
130528 11:36:06 [Note] /usr/libexec/mysqld: Shutdown complete
130528 11:36:06 mysqld ended
130528 11:36:50 mysqld started
130528 11:36:50 InnoDB: Started; log sequence number 0 43665
130528 11:36:50 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.95' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
130528 11:59:22 [Note] /usr/libexec/mysqld: Normal shutdown
130528 11:59:24 InnoDB: Starting shutdown...
130528 11:59:25 InnoDB: Shutdown completed; log sequence number 0 43665
130528 11:59:25 [Note] /usr/libexec/mysqld: Shutdown complete
130528 11:59:25 mysqld ended
130528 12:02:02 mysqld started
130528 12:02:02 InnoDB: Started; log sequence number 0 43665
130528 12:02:02 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.95' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
Code: Select all
# service ndo2db restart
Stopping ndo2db: done.
Starting ndo2db: done.
Code: Select all
service nagios stop
service ndo2db stop
service mysqld stop
service npcd stop
service postgresql stop
service httpd stop
service crond stopCode: Select all
chmod +x /usr/local/nagiosxi/scripts/reset_config_perms.sh
/usr/local/nagiosxi/scripts/reset_config_perms.shCode: Select all
service nagios start
service ndo2db start
service mysqld start
service npcd start
service postgresql start
service httpd start
service crond startCode: Select all
cd /usr/local/nagiosxi
ls -ld ./ cron html html/includes
ll html/config.inc.php
ll html/includes/utils.inc.php
Code: Select all
root@serverx:~(3442)# cd /usr/local/nagiosxi
root@serverx:/usr/local/nagiosxi(3443)# ls -ld ./ cron html html/includes
drwxr-xr-x 10 nagios nagios 4096 Jan 12 2011 ./
drwxr-xr-x 2 nagios nagios 4096 Nov 19 2012 cron
drwxr-xr-x 18 nagios nagios 4096 Apr 8 10:44 html
drwxr-x--- 11 nagios nagios 4096 Nov 19 2012 html/includes
root@serverx:/usr/local/nagiosxi(3444)# ll html/config.inc.php
-rwxr-x--- 1 nagios nagios 5914 May 28 09:26 html/config.inc.php*
root@azure:/usr/local/nagiosxi(3445)# ll html/includes/utils.inc.php
-rwxr-x--- 1 nagios nagios 26681 May 28 09:26 html/includes/utils.inc.php*
root@serverx:/usr/local/nagiosxi(3446)#
Code: Select all
su nagios -c '/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php'