HTTP 403 Forbidden After Login - Nagios xi 5.6

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
pavankumar
Posts: 14
Joined: Wed Aug 28, 2019 11:03 am

HTTP 403 Forbidden After Login - Nagios xi 5.6

Post by pavankumar »

Hi,

We have installed Nagios xi 5.6 and it was working fine.
We tried to update license using reset_maintenance.php and after that we are getting HTTP 403 Forbidden error after logging in.

Error Message :
This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage.

I have reset the password as well.
I tried Nagios Core and it is perfectly working fine.
I gave apache & nagios users sudo access as well to rule out any access issues.

Please suggest how to fix this.


Thanks,
Pavan.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: HTTP 403 Forbidden After Login - Nagios xi 5.6

Post by ssax »

If you run this tail command as root:

Code: Select all

tail -Fn0 /var/log/httpd/error_log /var/log/httpd/ssl_error_log /var/log/apache2/error.log
Then replicate the 403 message again and send us the full output of the still running tail command.

Since you're unable to generate the the profile through the web interface, please try generating it from the command line by running these commands as root:

Code: Select all

rm -rf /usr/local/nagiosxi/var/components/profile*​​
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORT
Then PM me the resulting /usr/local/nagiosxi/var/components/profile.zip​ file.​

If the profile script fails, please include the ENTIRE output.

What is the output of this command?

Code: Select all

ls -l /usr/local/nagiosxi/html/includes/components