Page 1 of 1
NagiosXI won't load GUI (403 Forbidden Error)
Posted: Tue Sep 29, 2020 10:43 am
by klg
I have a NagiosXI server. When I open the Web Interface, I get a page with no formatting and missing pictures. When I click on "Access NagiosXI", I get a error 403 "You don't have permission to access /nagiosxi/ on this server" message. If I open the core server, I can log in and see my services running. I have played with file permissions and groups. Any help would be appreciated. Thanks.
Re: NagiosXI won't load GUI (403 Forbidden Error)
Posted: Wed Sep 30, 2020 11:22 am
by benjaminsmith
Hi
@klg,
Were any changes made to the server prior to this happening? For example, upgrades, permission settings or Apache changes?
Let's grab some Apache log output from that page. Run the following tail command from the shell and then reload the GUI to reproduce the error and post the output to the thread.
Code: Select all
tail -Fn0 /var/log/httpd/error_log /var/log/httpd/ssl_error_log /var/log/apache2/error.log
Also, please PM your system profile. You'll have to do this from the command line since the GUI is not accessible.
Code: Select all
rm -rf /usr/local/nagiosxi/var/components/profile*
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORT
After running those commands, you'll find the profile at:
/usr/local/nagiosxi/var/components/profile.zip
Thank you,
Benjamin