Page 3 of 3
Re: Nagios throwing DB errors on apache
Posted: Tue Mar 18, 2014 5:03 pm
by tmcdonald
Can you post screenshots of the pages you are visiting when these errors are thrown?
Re: Nagios throwing DB errors on apache
Posted: Wed Mar 19, 2014 7:40 am
by johndoe
tmcdonald wrote:Can you post screenshots of the pages you are visiting when these errors are thrown?
The pages load fine and show no errors themselves, the errors just show up on the logs and are as shown previously.
As for error #3 it now appears to be solved, browser session doesnt appear to crash anymore when the reports are opened and all of them seem to work ok...
Re: Nagios throwing DB errors on apache
Posted: Wed Mar 19, 2014 2:18 pm
by sreinhardt
The php errors have been resolved in our code, and will be out with the next release. I believe you should be able to modify and resolve it now by altering /usr/local/nagiosxi/html/includes/db.inc.php
Line 260 from:
Code: Select all
$DB[$db]=&NewADOConnection($dbtype);
To:
Code: Select all
$DB[$db]=NewADOConnection($dbtype);
Re: Nagios throwing DB errors on apache
Posted: Thu Mar 20, 2014 8:20 am
by johndoe
Hi spencer,
as mentioned previously that did solve that problem, however two others appeared to me (See on previous messages Error 1 and Error 2), should i open new threads for them or will we discuss them here?
Re: Nagios throwing DB errors on apache
Posted: Thu Mar 20, 2014 8:53 am
by scottwilkerson
For (Error 1) upload attached through Admin -> Manage Config Wizards
ssh-expect.zip
For (Error 2) unzip attached
ajaxhelpers-perfdata.inc.zip
an place file in
/usr/local/nagiosxi/html/includes/components/xicore/dashlets-perfdata.inc.php
Re: Nagios throwing DB errors on apache
Posted: Tue Mar 25, 2014 7:36 am
by johndoe
Hi Scott, for error number 2, you sent me a file with one name and requested me to replace it with another file under another name?
I replaced it by the file with the same name, but problem still persists, did you send me the wrong file?
Re: Nagios throwing DB errors on apache
Posted: Tue Mar 25, 2014 3:46 pm
by slansing
What is the output of:
ls -la /usr/local/nagiosxi/html/includes/components/xicore/dashlets-perfdata.inc.php
Did the wizard upload correctly?