Unable to make config changes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CSykes1
Posts: 34
Joined: Wed Mar 05, 2014 2:21 pm

Unable to make config changes

Post by CSykes1 »

Every time i try and make any config change I get Configuration error. Could not apply configuration. error and at the top of the page I get an SQL error with something like this

SQL Error [nagiosxi] : ERROR: syntax error at or near "Drive"
LINE 1: ...ace','nagiosadmin',4,'User reconfigured service \'Drive C: D...
^


How do I resolve?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Unable to make config changes

Post by benjaminsmith »

Hello @CSykes1,

That error message is similar to an a known issue with the Postgres database. Run the following command and if the output = 2, the server is running Postgress for the nagiosxi database. Follow the steps in the knowledge base article below to correct.

Code: Select all

grep mysql /usr/local/nagiosxi/html/config.inc.php | wc -
Nagios XI - SQL Error [nagiosxi] : ERROR: syntax error
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked