Page 1 of 1
Error http internal server error when entering wrong passwor
Posted: Thu Sep 04, 2014 4:20 am
by WillemDH
Hello,
I had some users complaining they could not log into Nagios anymore. After some testing, it seemed they entered the wrong password. It does not seem normal users get a 500 server error. Is this a bug? Could someone test this on 2014 R1.4? There should be a message a wrong pasword is entered, not an internal server error.
Grtz
Willem
Re: Error http internal server error when entering wrong pas
Posted: Thu Sep 04, 2014 9:23 am
by tmcdonald
I'm not seeing the same behavior. Can you test this on a different XI server if you have one? Is there anything in the /var/log/httpd/error_log file?
Re: Error http internal server error when entering wrong pas
Posted: Fri Sep 05, 2014 2:28 am
by WillemDH
I did a test with my QA XI server and there I do get 'wrong password' message. After trying again on my production resulting again in a server error with http status code 500, this is an extract of the errorlog:
Code: Select all
[Fri Sep 05 08:59:34 2014] [error] [client 172.19.4.245] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on$
[Fri Sep 05 08:59:38 2014] [error] [client 172.19.4.245] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on$
[Fri Sep 05 09:00:31 2014] [error] [client 172.19.4.245] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on$
[Fri Sep 05 09:00:38 2014] [error] [client 172.19.4.245] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on$
[Fri Sep 05 09:16:10 2014] [error] [client 172.19.4.245] PHP Fatal error: Call to a member function authenticate() on a non-object in /usr/local/nagiosxi/html/includes/components/active_direct$
[Fri Sep 05 09:18:08 2014] [error] [client 172.19.4.245] PHP Fatal error: Call to a member function authenticate() on a non-object in /usr/local/nagiosxi/html/includes/components/active_direct$
[Fri Sep 05 09:18:08 2014] [error] [client 172.19.4.245] File does not exist: /var/www/html/favicon.ico
[Fri Sep 05 09:18:08 2014] [error] [client 172.19.4.245] File does not exist: /var/www/html/favicon.ico
I would think it has something to do with "[Fri Sep 05 09:18:08 2014] [error] [client 172.19.4.245] PHP Fatal error: Call to a member function authenticate() on a non-object in /usr/local/nagiosxi/html/includes/components/active_direct$"
So I checked the ad integration components, which should be disabled and it was in fact disabled. Any idea what might be the issue?
Grtz
Willem
Re: Error http internal server error when entering wrong pas
Posted: Fri Sep 05, 2014 12:10 pm
by sreinhardt
I would\will have to take a look to see what might be going on there. I do know that AD has not had changes for 2014, but whether they are needed or not is the question. If you are not using the ad component, I would highly suggest removing it and seeing if that resolves the issues you are seeing.
Re: Error http internal server error when entering wrong pas
Posted: Wed Sep 10, 2014 4:46 am
by WillemDH
Spenser,
The problem has been solved by removing the Active Directory Inegration component. A bit strange, as it was not enabled.
I guess this thread can be closed.
Grtz
Willem
Re: Error http internal server error when entering wrong pas
Posted: Wed Sep 10, 2014 1:09 pm
by tmcdonald
Could be that it was "disabled" but still in use. I saw a few bugs recently where the web interface did not reflect the true state of a flatfile or database entry.
Either way, glad it was resolved. Closing up.