Cannot lauch Nagios on Web

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
vasyap
Posts: 1
Joined: Fri Nov 17, 2023 5:08 pm

Cannot lauch Nagios on Web

Post by vasyap »

I made an installation of Nagios 4.4 Core using this video: https://www.youtube.com/watch?v=oxv13_3 ... HL&index=5 on my Linux Centos 7.9 machine
When tried to browse Nagios in web using <my_machine_ip>/nagios, I got a prompt for a username and password. After entering my credentials, got error 500:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.

The Linux machine does not have a Firewall.
Please advise on solution.
ppear
Posts: 9
Joined: Tue Nov 14, 2023 7:17 am

Re: Cannot lauch Nagios on Web

Post by ppear »

I had a similar issue during an install recently and it came down to the ownership and permissions of the htpasswd.users file located in /usr/local/nagios/etc. If root is the owner, change it to the nagios user. chown nagios:nagios htpasswd.users. Mine also has 664 perms.
kvang
Posts: 34
Joined: Wed Aug 23, 2023 11:28 am

Re: Cannot lauch Nagios on Web

Post by kvang »

Hey vasyap,

Have you successfully addressed the issue? If not, have you examined the error logs? If you have reviewed the logs and implemented changes, be sure you run the necessary commands afterwards.

Code: Select all

systemctl restart httpd
systemctl restart nagios
Thanks!
Post Reply