Page 1 of 2
NConf installation error for Nagios?
Posted: Mon Oct 21, 2013 10:16 am
by Noctis0791
Hello Everyone,
I am trying to configure Nagios3 with NConf but Im having this error (see attached) during NConf 1.3-0-0 installation. I know I should have posted this on NConf forum but my registration was not yet been approved by the admins for 3 days now. Maybe some of you guys encountered the same issue during your Nagios-NConf configuration. Any ideas or suggestions?
Thanks in advanced,
Arnel
Re: NConf installation error for Nagios?
Posted: Mon Oct 21, 2013 12:51 pm
by abrist
Thank you for trying the other forum first. This looks like permission problems. . . . What does the error log look like:
Alternatively, have you tried nagioql instead of nconf?
Re: NConf installation error for Nagios?
Posted: Mon Oct 21, 2013 1:23 pm
by Noctis0791
Thanks abrist. I tried executing the code on the terminal but I got this in return.
tail -25 /var/log/httpd/error_log
cannot open '/var/log/httpd/error_log' for reading: No such file or directory
Havent tried nagioql yet but i'll look into it.
Thank You,
Arnel
Re: NConf installation error for Nagios?
Posted: Mon Oct 21, 2013 1:26 pm
by abrist
Depending on the distro, it could be somewhere else. . .
How about:
Code: Select all
tail -25 /var/log/apache2/error.log
Or:
Re: NConf installation error for Nagios?
Posted: Mon Oct 21, 2013 1:40 pm
by Noctis0791
Okay. This code works. Ive attached the log generated.
tail -25 /var/log/apache2/error.log
Thanks,
Arnel
Re: NConf installation error for Nagios?
Posted: Mon Oct 21, 2013 1:44 pm
by abrist
Code: Select all
[error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
These errors could very well be symptomatic of permission issues. What are the permissions for:
Re: NConf installation error for Nagios?
Posted: Mon Oct 21, 2013 1:50 pm
by Noctis0791
Okay. I got this result.
drwxrwxr -x 3 www-data arnel 4096 Oct 19 04:06 /var/www
Thanks,
Arnel
Re: NConf installation error for Nagios?
Posted: Mon Oct 21, 2013 1:53 pm
by abrist
Well heck, that looks fine. How about:
Re: NConf installation error for Nagios?
Posted: Mon Oct 21, 2013 2:00 pm
by Noctis0791
Here's the result.
total 16
drwxrwxr-x 3 www-data arnel 4096 Oct 19 04:06.
drwxr-xr 14 root root 4096 Oct 19 05:06..
-rw-rw-r-- 1 arnel www-data 177 Oct 10 23:10 index.html
drwxr-xr-x 14 arnel arnel 4096 Dec 11 2011 nconf
Thanks,
Arnel
Re: NConf installation error for Nagios?
Posted: Mon Oct 21, 2013 2:05 pm
by abrist
Hmmm. You are missing a number of necessary files/folders. Where did you expand the nconf directory to?
Additionally, once expanded, you need to set the permissions on a numebr of folders. See their documentation:
http://www.nconf.org/dokuwiki/doku.php? ... stallation
2. Set permissions
Make sure the following directories are writable to your webserver user.
You can change permissions on the console or via FTP client (CHMOD)
./config
./output
./static_cfg
./temp