NConf installation error for Nagios?
-
Noctis0791
- Posts: 58
- Joined: Wed Oct 09, 2013 3:41 pm
NConf installation error for Nagios?
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
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?
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?
Code: Select all
tail -25 /var/log/httpd/error_logFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
Noctis0791
- Posts: 58
- Joined: Wed Oct 09, 2013 3:41 pm
Re: NConf installation error for Nagios?
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
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?
Depending on the distro, it could be somewhere else. . .
How about:
Or:
How about:
Code: Select all
tail -25 /var/log/apache2/error.logCode: Select all
tail -25 /var/log/httpd-error.logFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
Noctis0791
- Posts: 58
- Joined: Wed Oct 09, 2013 3:41 pm
Re: NConf installation error for Nagios?
Okay. This code works. Ive attached the log generated.
tail -25 /var/log/apache2/error.log
Thanks,
Arnel
tail -25 /var/log/apache2/error.log
Thanks,
Arnel
- Attachments
-
apache2 error_log.txt- (2.88 KiB) Downloaded 492 times
Re: NConf installation error for Nagios?
Code: Select all
[error] [client 127.0.0.1] File does not exist: /var/www/phpmyadminCode: Select all
ls -lad /var/www Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
Noctis0791
- Posts: 58
- Joined: Wed Oct 09, 2013 3:41 pm
Re: NConf installation error for Nagios?
Okay. I got this result.
drwxrwxr -x 3 www-data arnel 4096 Oct 19 04:06 /var/www
Thanks,
Arnel
drwxrwxr -x 3 www-data arnel 4096 Oct 19 04:06 /var/www
Thanks,
Arnel
Re: NConf installation error for Nagios?
Well heck, that looks fine. How about:
Code: Select all
ls -la /var/www/Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
Noctis0791
- Posts: 58
- Joined: Wed Oct 09, 2013 3:41 pm
Re: NConf installation error for Nagios?
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
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?
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
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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.