Nagios reports problems after restart

Hi,

I’ve just installed Nagios 2.7 on SuSE and, after I restarted Nagios, this is what popped up…

nagios:~ # /etc/init.d/nagios restart
Running configuration check…done
Stopping network monitor: nagios
Waiting for nagios to exit . done.
Starting network monitor: nagios
touch: cannot touch /usr/local/nagios/var/nagios.log': Permission denied touch: cannot touch/usr/local/nagios/var/retention.dat’: Permission denied
nagios:~ #

I am new to linux, so help me

Check the ownership and permissions on the directories…The user ( I am assuming that you are using “nagios” ) does not have write permissions.

Use man pages for help on linux:

man chown
man chmod

Hope that helps