Page 1 of 1

simplexml_load_string() error during apply configuration

Posted: Thu Aug 12, 2010 10:32 pm
by adam_baldwin
Getting the following error in the http error log when attempting to apply a configuration. This is the first of the configuration I'm setting up after the manual installation. It is a simple host group that I am adding. Any ideas?

[Fri Aug 13 03:20:03 2010] [error] [client XX.XX.XX.XX] PHP Warning: simplexml_load_string(): ^ in /usr/local/nagiosxi/html/includes/utils-backend.inc.php on line 27, referer: http://XX.XX.XX.XX/nagiosxi/includes/co ... groups.php

Re: simplexml_load_string() error during apply configuration

Posted: Fri Aug 13, 2010 10:30 am
by mguthrie
Is the configuration applying within Nagios without errors? Do you have any warnings or errors in your configuration snapshot? Also, what version of PHP is on your system? (Type 'php -v' in a terminal to check your version).

Re: simplexml_load_string() error during apply configuration

Posted: Mon Aug 16, 2010 6:05 pm
by adam_baldwin
The configuration applies, but never gets through verification. Also it doesn't update the .cfg files for hostgroups....

[root@nagios1 ~]# php -v
PHP 5.3.2 (cli) (built: Apr 30 2010 05:43:53)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

Re: simplexml_load_string() error during apply configuration

Posted: Tue Aug 17, 2010 11:14 am
by mmestnik
http://go.nagios.com/faq#Core_Config_Manager_Problems
http://go.nagios.com/faq#Common_Solutio ... hese_First

Follow these instructions, we will update them with any other debugging steps or information we can collect from you. I'll point this error out to our developers.