The permissions are as follows:
Code: Select all
[root@central nagiosxi]# ll /usr/local/nagios/var
total 124
drwxrwxr-x. 2 nagios nagios 4096 Sep 27 08:42 archives
-rw-rw-r--. 1 nagios nagios 0 Sep 27 08:53 host-perfdata
-rw-r--r--. 1 nagios nagios 6 Sep 27 08:45 nagios.lock
-rw-r--r--. 1 nagios root 1375 Sep 27 08:45 nagios.log
-rw-r--r--. 1 nagios nagios 6 Sep 27 08:45 ndo2db.lock
-rw-r--r--. 1 nagios nagios 0 Sep 27 08:45 ndomod.tmp
srwxr-xr-x. 1 nagios nagios 0 Sep 27 08:45 ndo.sock
-rw-r--r--. 1 nagios nagios 49712 Sep 27 08:52 npcd.log
-rw-r--r--. 1 nagios nagios 21892 Sep 27 08:45 objects.cache
-rw-r--r--. 1 nagios root 0 Sep 27 08:45 retention.dat
drwxrwsr-x. 2 nagios nagcmd 4096 Sep 27 08:45 rw
-rw-rw-r--. 1 nagios nagios 0 Sep 27 08:53 service-perfdata
drwxr-xr-x. 5 nagios nagios 4096 Sep 27 08:42 spool
drwxr-xr-x. 2 nagios nagios 4096 Sep 27 08:52 stats
-rw-rw-r--. 1 nagios nagios 14347 Sep 27 08:53 status.dat
[root@central nagiosxi]#
The global check permissions was strange. Part of that is displayed below:
Code: Select all
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/css': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/css': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/css/hypermap.css': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/css/hypermap.css': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/css/base.css': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/css/base.css': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/js': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/js': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/js/Extras': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/js/Extras': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/js/Extras/excanvas.js': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/js/Extras/excanvas.js': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/js/jit.js': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/js/jit.js': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/js/example1.js': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/js/example1.js': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/js/hypermap.js': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/js/hypermap.js': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/js/jit-yc.js': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/js/jit-yc.js': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/dashlet.inc.php': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/dashlet.inc.php': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/index.php': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/index.php': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/hypermap_preview.png': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/hypermap_preview.png': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/ajax.inc.php': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/hypermap_replay/ajax.inc.php': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/bpa': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/bpa': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/tmp': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/tmp': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/tmp/prop-base': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/tmp/prop-base': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/tmp/text-base': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/tmp/text-base': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/tmp/props': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/tmp/props': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/entries': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/entries': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/all-wcprops': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/all-wcprops': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/prop-base': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/prop-base': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/text-base': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/text-base': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/text-base/bpa.inc.php.svn-base': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/text-base/bpa.inc.php.svn-base': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/props': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/.svn/props': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/bpa.inc.php': No such file or directory
chown: cannot access `/usr/local/nagiosxi/html/includes/components/bpa/bpa.inc.php': No such file or directory
chmod +x "/usr/local/nagios/share/perfdata";
chmod +x "/usr/local/nagios/share/perfdata/.pnp-internal";
chmod +x "/usr/local/nagios/share/perfdata/localhost";
[root@central tmp]#
I would almost say that its missing something, although that is possible due too it being a total clean install with no extra components like the ones missing above. When i try to restart from the tools menu the same error is still present btw.
What i did notice before but havent really thought about was during the installation. At the start of the install it has to download all the packages needed to install nagios
xi. However it seems to me that this was always a different number then any other install. For example, i did 3 CentOS 6.0 installs so far of which 1 had 204 packages and 1 had 196, the other i cant remember exactly since i didn't really pay attention to that at the time. I hope this helps.