Page 1 of 1

Unable to make config changes

Posted: Tue Oct 01, 2019 1:35 pm
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?

Re: Unable to make config changes

Posted: Tue Oct 01, 2019 2:15 pm
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