Page 1 of 1

HTTP 403 Forbidden After Login - Nagios XI 5.6

Posted: Thu Sep 24, 2020 1:51 pm
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.

Re: HTTP 403 Forbidden After Login - Nagios XI 5.6

Posted: Fri Sep 25, 2020 12:50 pm
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