Permission error when uploading a plugin
Posted: Thu Jan 12, 2012 4:25 pm
I am running Nagios XI.
Linux version 2.6.32-220.2.1.el6.i686 ([email protected]) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Thu Dec 22 18:50:52 GMT 2011
-bash-4.1#
I get the following error message when I upload a plugin:
Plugin could not be installed - directory permissions may be incorrect.
I tried to run the script NagiosXI-FixPerms.sh with no luck. I restarted the services.
Here are the permissions in the nagios XI directory
total 1096
-rwxr-xr-x 1 root root 1086617 Dec 14 11:01 NagiosXI-FixPerms.sh
drwxr-xr-x 2 nagios nagios 4096 Jan 4 10:27 cron
drwxr-xr-x 3 nagios nagios 4096 Jan 4 10:27 etc
drwxr-xr-x 18 nagios nagios 4096 Jan 4 10:27 html
drwxr-xr-x 3 nagios nagios 4096 Jan 4 10:27 nom
drwxr-xr-x 2 nagios nagios 4096 Jan 4 11:05 scripts
drwsrwsr-x 2 apache nagios 4096 Jan 11 15:16 tmp
drwxr-xr-x 2 nagios nagios 4096 Jan 4 10:27 tools
drwxr-xr-x 4 nagios nagios 4096 Jan 12 16:00 var
-bash-4.1# pwd
what am I missing?
thanks
joe
Linux version 2.6.32-220.2.1.el6.i686 ([email protected]) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Thu Dec 22 18:50:52 GMT 2011
-bash-4.1#
I get the following error message when I upload a plugin:
Plugin could not be installed - directory permissions may be incorrect.
I tried to run the script NagiosXI-FixPerms.sh with no luck. I restarted the services.
Here are the permissions in the nagios XI directory
total 1096
-rwxr-xr-x 1 root root 1086617 Dec 14 11:01 NagiosXI-FixPerms.sh
drwxr-xr-x 2 nagios nagios 4096 Jan 4 10:27 cron
drwxr-xr-x 3 nagios nagios 4096 Jan 4 10:27 etc
drwxr-xr-x 18 nagios nagios 4096 Jan 4 10:27 html
drwxr-xr-x 3 nagios nagios 4096 Jan 4 10:27 nom
drwxr-xr-x 2 nagios nagios 4096 Jan 4 11:05 scripts
drwsrwsr-x 2 apache nagios 4096 Jan 11 15:16 tmp
drwxr-xr-x 2 nagios nagios 4096 Jan 4 10:27 tools
drwxr-xr-x 4 nagios nagios 4096 Jan 12 16:00 var
-bash-4.1# pwd
what am I missing?
thanks
joe