Page 2 of 2
Re: i can not access nagios via web after installation
Posted: Wed Jun 11, 2014 4:02 pm
by lmiltchev
Is selinux enabled?
Have you checked your firewall rules?
Restart apache:
then try to access nagios in the web UI:
If you get any errors, show us a screenshot of the page.
Re: i can not access nagios via web after installation
Posted: Mon Jun 16, 2014 4:58 am
by Ladi
Hi All,
Below is the error am getting now when am trying to access nagios from the web. After i enabled SElinux, i try to access the page again and it ask me to login, after that is thrown the error below.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.22 (Ubuntu) Server at localhost Port 80
I check the apache2 logs, below is the error am seeing.
[Mon Jun 16 01:55:55 2014] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /usr/local/nagios/etc/htpasswd.users
[Mon Jun 16 01:55:55 2014] [error] [client 127.0.0.1] File does not exist: /var
Please i will happy to hear from you. Thanks for usual assistance.
Regards,
Ladi
Re: i can not access nagios via web after installation
Posted: Mon Jun 16, 2014 5:51 am
by rajesh.mehra
Hi
Is this file available
Code: Select all
/usr/local/nagios/etc/htpasswd.users
.
If not available create it
Code: Select all
htpasswd –c /usr/local/nagios/etc/htpasswd.users nagiosadmin
Re: i can not access nagios via web after installation
Posted: Mon Jun 16, 2014 7:26 am
by Ladi
Hi,
Its work like magic, after i created the path below.
htpasswd –c /usr/local/nagios/etc/htpasswd.users nagiosadmin
Am starting the proper configuration now.
Thank you all for your support. I do appreciate.
Regards,
Ladi
Re: i can not access nagios via web after installation
Posted: Mon Jun 16, 2014 8:56 am
by slansing
I suggest that you take a look at these getting started guides as it sounds like you have not had any experience with Nagios before:
http://nagios.sourceforge.net/docs/3_0/ ... tions.html