You are not logged in.
Pages: 1
Hey guys,
After installing it using Yaourt, i wasnt able to start it (using /etc/rc.d/nagios start). I tried to changing nagios.cfg definition of the user and group to nagios/nagios to no avail.
Does anyone know of any Arch documentation for setting up Nagios or does anyone know whats causing the startup error?
Thanks in advanced
Last edited by rogg (2009-08-27 08:40:44)
Offline
Try running this command which will give you more feedback:
/etc/nagios/daemon-init start
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Thanks that did the trick. For anyone else wondering
/usr/bin/nagios -v /etc/nagios/nagios.cfg will run a flight check, which is very useful.
I just have one more issue actually, after getitng nagios running when i try to do certain things on the webinterface such as leaving comments i get thrown:
Error: Could not open command file '/var/nagios/rw/nagios.cmd' for update!
The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions.
An error occurred while attempting to commit your command for processing.
for nagios.cmd my permissions are currently
prw-rw---- 1 nagios nagios
Does anyone know whats causing this?
Last edited by rogg (2009-08-26 12:50:37)
Offline
What about the parent directories? Can nagios read them?
Offline
That file needs to be writable by the http process, so:
chown nagios:http /var/nagios/rw/nagios.cmd
chmod 660 /var/nagios/rw/nagios.cmd
It's a pain... I'd change the PKGBUILD but I'm not the maintainer
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Thanks everyone, its all works now
Fukwai2's suggestion worked perfectly
thanks everyone!
Offline
Pages: 1