Hi guys,
We opened a topic with the same subject, this was solved but now we have another issue.
Yesterday we noticed that after login in NagiosXI we receive an "error 500: this page not work. the web page 172.16.40.1 couldn't execute this request":
- https://ibb.co/jbdfyK
Users that was logged before was Ok but new users can't do it.
Users that were already logged in, when doing logout later they couldn't login in.
Thanks
Problemes after to upgrade to Nagios XI 5.5.2 (2)
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Problemes after to upgrade to Nagios XI 5.5.2 (2)
Hello, @morabanc.Please tail the error log while attempting to log in with one of the "non-working" users.
And send me the messages you see in the console.
Also, please run the following script to reset the config permissions:
Code: Select all
tail -f /var/log/httpd/error_log
Also, please run the following script to reset the config permissions:
Code: Select all
/usr/local/nagiosxi/scripts/reset_config_perms.sh
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Problemes after to upgrade to Nagios XI 5.5.2 (2)
Hi ! Thanks for your answer.
This is the output of error_log after login:
Finally y run the script you told me:
After run the script and try once again, login failed again:
Thanks
This is the output of error_log after login:
Code: Select all
[Tue Aug 21 12:04:09 2018] [error] [client 172.21.10.117] PHP Fatal error: Cannot redeclare class adLDAPException in /usr/local/nagiosxi/html/includes/components/active_directory/adLDAP/adLDAP.php on line 3031, referer: https://172.16.40.1/nagiosxi/login.php?redirect=/nagiosxi/index.php%3f&noauth=1
Code: Select all
# /usr/local/nagiosxi/scripts/reset_config_perms.sh
--- reset_config_perms.sh ------------
> Setting CCM script permissions
> Setting script permissions
> Setting special component script permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
> Setting NOM checkpoint user:group permissions
> + Setting Nagios Core corelog.newobjects user:group permissions
> + Setting CCM configuration file user:group permissions
> + Setting Recurring Downtime file user:group permissions
> + Setting BPI configuration file user:group permissions
--------------------------------------
Code: Select all
[Tue Aug 21 12:05:55 2018] [error] [client 172.21.10.117] PHP Fatal error: Cannot redeclare class adLDAPException in /usr/local/nagiosxi/html/includes/components/active_directory/adLDAP/adLDAP.php on line 3031, referer: https://172.16.40.1/nagiosxi/login.php?redirect=/nagiosxi/index.php%3f&noauth=1
Thanks
Re: Problemes after to upgrade to Nagios XI 5.5.2 (2)
This is because you are using the old AD component as well, you will need to move that out and setup the new AD/LDAP (Admin > LDAP/AD Integration):
Code: Select all
mv /usr/local/nagiosxi/html/includes/components/active_directory /tmp/
Re: Problemes after to upgrade to Nagios XI 5.5.2 (2)
Thanks, all it's OK
Re: Problemes after to upgrade to Nagios XI 5.5.2 (2)
That's great to hear, are we okay to lock the topic and mark it as resolved?