Page 1 of 1

Problems upgrading from 2014R2.0 to 2014R2.3

Posted: Tue Jan 06, 2015 3:52 am
by qbdrift
Hi,

I am a bit stuck with the update to the latest version.

I am getting the current error, during the upgrade process.

.
.
.
/bin/cat check_mysql_health.pl | /bin/grep -v "^use Nagios" | /bin/grep -v "^my %ERROR" | /bin/gawk -f ./subst >> check_mysql_health
chmod +x check_mysql_health
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1/plugins-scripts'
Making all in t
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1/t'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1/t'
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1'
Extra Plugins upgraded OK
Updating NRDP..
cp: cannot create regular file `/usr/local/nrdp/server/plugins/nagioscorepassivecheck/nagioscorepassivecheck.inc.php': No such file or directory

Thanks for any help!

Kind regards,

Heiko

Re: Problems upgrading from 2014R2.0 to 2014R2.3

Posted: Tue Jan 06, 2015 10:17 am
by scottwilkerson
This is odd, did you remove the NRDP directory from your machine?

Can you post the output of the following:

Code: Select all

ls -la /usr/local/nrdp/server/plugins/nagioscorepassivecheck
ls -la /usr/local/nrdp/server/plugins
ls -la /usr/local/nrdp/server
ls -la /usr/local/nrdp

Re: Problems upgrading from 2014R2.0 to 2014R2.3

Posted: Wed Jan 07, 2015 4:37 am
by qbdrift
Hi,

thanks for your answer, no I haven't deleted anything. Here are the results.

Last login: Tue Jan 6 09:37:45 2015 from 172.31.200.4
[root@QuestNagiosXI1 ~]# ls -la /usr/local/nrdp/server/plugins/nagioscorepassivecheck
ls: cannot access /usr/local/nrdp/server/plugins/nagioscorepassivecheck: No such file or directory
[root@QuestNagiosXI1 ~]# ls -la /usr/local/nrdp/server/plugins
ls: cannot access /usr/local/nrdp/server/plugins: No such file or directory
[root@QuestNagiosXI1 ~]# ls -la /usr/local/nrdp/server
ls: cannot access /usr/local/nrdp/server: No such file or directory
[root@QuestNagiosXI1 ~]# ls -la /usr/local/nrdp
ls: cannot access /usr/local/nrdp: No such file or directory

They are not there anymore.

Hmm, what can I do?

Re: Problems upgrading from 2014R2.0 to 2014R2.3

Posted: Wed Jan 07, 2015 5:02 am
by qbdrift
Hi,

I have installed NRDP from assets.nagios.com/downloads/nrdp/nrdp.zip and the update worked.

But now I have a problem with the Network Outages: "Error: Unable to parse XML output".

Our Nagios installation was a fresh VMWare Virtual Machine with the Version 2014R2.0, so not much has happend there.

Thanks again for your help.

Re: Problems upgrading from 2014R2.0 to 2014R2.3

Posted: Wed Jan 07, 2015 12:40 pm
by slansing
Please run the following and then try to open the network outages page, then let us know what the output is:

Code: Select all

tail -f /var/log/httpd/error_log
Additionally, is there any output from:

Code: Select all

tail -50 /usr/local/nagiosxi/var/load_url.log
Thanks!

Re: Problems upgrading from 2014R2.0 to 2014R2.3

Posted: Thu Jan 15, 2015 7:31 am
by qbdrift
Hi,

sorry for the late reply, here are the results from the error_log. No results for tail -50 /usr/local/nagiosxi/var/load_url.log

Code: Select all

[root@QuestNagiosXI1 nagiosxi]# tail -f /var/log/httpd/error_log
[Thu Jan 15 13:26:07 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string():     ^ in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-tac.inc.php on line 34, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/tac.php
[Thu Jan 15 13:26:07 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): Entity: line 20: parser error : Opening and ending tag mismatch: OL line 12 and outages in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-tac.inc.php on line 34, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/tac.php
[Thu Jan 15 13:26:07 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): </outages> in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-tac.inc.php on line 34, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/tac.php
[Thu Jan 15 13:26:07 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string():           ^ in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-tac.inc.php on line 34, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/tac.php
[Thu Jan 15 13:26:07 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): Entity: line 21: parser error : Premature end of data in tag P line 11 in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-tac.inc.php on line 34, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/tac.php
[Thu Jan 15 13:26:07 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string():  in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-tac.inc.php on line 34, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/tac.php
[Thu Jan 15 13:26:07 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): ^ in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-tac.inc.php on line 34, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/tac.php
[Thu Jan 15 13:26:07 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): Entity: line 21: parser error : Premature end of data in tag outages line 2 in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-tac.inc.php on line 34, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/tac.php
[Thu Jan 15 13:26:07 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string():  in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-tac.inc.php on line 34, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/tac.php
[Thu Jan 15 13:26:07 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): ^ in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-tac.inc.php on line 34, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/tac.php
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): Entity: line 15: parser error : Opening and ending tag mismatch: LI line 14 and OL in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): </OL> in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string():      ^ in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): Entity: line 16: parser error : Opening and ending tag mismatch: LI line 13 and P in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): </P> in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string():     ^ in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): Entity: line 20: parser error : Opening and ending tag mismatch: OL line 12 and outages in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): </outages> in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string():           ^ in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): Entity: line 21: parser error : Premature end of data in tag P line 11 in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string():  in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): ^ in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): Entity: line 21: parser error : Premature end of data in tag outages line 2 in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string():  in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:15 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): ^ in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): Entity: line 15: parser error : Opening and ending tag mismatch: LI line 14 and OL in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): </OL> in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string():      ^ in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): Entity: line 16: parser error : Opening and ending tag mismatch: LI line 13 and P in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): </P> in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string():     ^ in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): Entity: line 20: parser error : Opening and ending tag mismatch: OL line 12 and outages in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): </outages> in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string():           ^ in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): Entity: line 21: parser error : Premature end of data in tag P line 11 in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string():  in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): ^ in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): Entity: line 21: parser error : Premature end of data in tag outages line 2 in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string():  in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages
[Thu Jan 15 13:26:45 2015] [error] [client 172.31.200.13] PHP Warning:  simplexml_load_string(): ^ in /usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php on line 33, referer: http://questnagiosxi1.qb-drift.questback.com/nagiosxi/includes/components/xicore/status.php?show=outages

Re: Problems upgrading from 2014R2.0 to 2014R2.3

Posted: Thu Jan 15, 2015 8:41 am
by qbdrift
Hi,

I think I fixed it.

In messages log I could see, the following error:
failed to load module '/usr/local/nagios/bin/ndomod.o'

I upgraded the NDOUtils from the installation files and it is working now.

Thanks!

Re: Problems upgrading from 2014R2.0 to 2014R2.3

Posted: Thu Jan 15, 2015 10:23 am
by tgriep
Glad that you fixed the issue. I will close the post for you.