simplexml_load_string() error during apply configuration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
adam_baldwin
Posts: 7
Joined: Tue Aug 10, 2010 11:38 am

simplexml_load_string() error during apply configuration

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: simplexml_load_string() error during apply configuration

Post 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).
adam_baldwin
Posts: 7
Joined: Tue Aug 10, 2010 11:38 am

Re: simplexml_load_string() error during apply configuration

Post 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
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: simplexml_load_string() error during apply configuration

Post 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.
Locked