First i get a problem with the boot disk on my unbunyu server get full. i install unbuntu tweak and remove old image files. After that i boot the servern and get som problems with permission to a lot of map/files.
I have try to change it with chmod 666/777.
finally i get nagios up and i looks find. Then i went in to the contacts.cfg files and change a mailadress an think thats everything i ok but..
now when i thy to start nagios :
ebsite: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Cannot open config file '/usr/local/nagios/etc/objects/commands.cfg' for reading: Permission denied
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
when i take ls -l
oot@ubusrv:/usr/local/nagios/etc# ls -l
total 84
-rwxrwxrwx 1 nagios nagios 12267 Mar 30 2016 cgi.cfg
-rwxrwxrwx 1 nagios nagios 104 Mar 31 2016 commands.cfg
-rwxrwxrwx 1 root root 50 Mar 30 2016 htpasswd.users
-rwxrwxrwx 1 nagios nagios 44830 Mar 22 14:51 nagios.cfg
-rwxrwxrwx 1 nagios nagios 7988 Mar 30 2016 nrpe.cfg
drw-rw-rw- 2 nagios nagios 4096 Mar 22 10:32 objects
-rwxrwxrwx 1 nagios nagios 1312 Mar 30 2016 resource.cfg
drw-rw-rw- 2 root root 4096 Oct 10 14:27 servers
i have try to start up nagios from nagios user and root and the same problem come up.
Please i need som help..