Search found 11 matches

by lakeshorelearning
Fri Oct 15, 2021 11:23 am
Forum: Nagios XI
Topic: Updating Nagios XI after migrating to a new Linux
Replies: 15
Views: 1146

Re: Updating Nagios XI after migrating to a new Linux

in the .cfg file, I also do see this:

Code: Select all

Error: Service description, host name, or check command is NULL
Error: Could not register service (config file '/usr/local/nagios/etc/services/b.cfg', starting on line 16)
   Error processing object config files!
by lakeshorelearning
Fri Oct 15, 2021 10:58 am
Forum: Nagios XI
Topic: Updating Nagios XI after migrating to a new Linux
Replies: 15
Views: 1146

Re: Updating Nagios XI after migrating to a new Linux

After running the repair again, i still received the same thing. Ran the 2 commands. This is the output: Check your configuration file(s) to ensure that they contain valid directives and data definitions. If you are upgrading from a previous version of Nagios, you should be aware that some variables...
by lakeshorelearning
Fri Oct 15, 2021 10:24 am
Forum: Nagios XI
Topic: Updating Nagios XI after migrating to a new Linux
Replies: 15
Views: 1146

Re: Updating Nagios XI after migrating to a new Linux

Ok I ran it. At the end I received this: =============== REPAIR COMPLETE =============== Job for nagios.service failed because the control process exited with error code. See "systemctl status nagios.service" and "journalctl -xe" for details. ======================= nagios databa...
by lakeshorelearning
Thu Oct 14, 2021 11:18 am
Forum: Nagios XI
Topic: Updating Nagios XI after migrating to a new Linux
Replies: 15
Views: 1146

Re: Updating Nagios XI after migrating to a new Linux

PM'd you. Also, could a potential reason be a different of databases? I read somewhere that anything beforoe 5.5 uses a different database & might have to be offloaded? Is there a way I can confirm this if that's a potential reason?
by lakeshorelearning
Thu Oct 14, 2021 11:01 am
Forum: Nagios XI
Topic: Updating Nagios XI after migrating to a new Linux
Replies: 15
Views: 1146

Re: Updating Nagios XI after migrating to a new Linux

I tried updating to 5.6.9. While I don't get the SQL/db error in the web interface, it looks like the update is still not completing successfully. At the very end, this is what I get instead of a 'successful upgrade' prompt: make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4...
by lakeshorelearning
Thu Oct 14, 2021 10:28 am
Forum: Nagios XI
Topic: Updating Nagios XI after migrating to a new Linux
Replies: 15
Views: 1146

Re: Updating Nagios XI after migrating to a new Linux

Yea I think the db issue is what's holding me back. LEt me try your suggestion of upgrading in smaller steps & I'll get back to you. Thanks again for the input.
by lakeshorelearning
Wed Oct 13, 2021 4:42 pm
Forum: Nagios XI
Topic: Updating Nagios XI after migrating to a new Linux
Replies: 15
Views: 1146

Re: Updating Nagios XI after migrating to a new Linux

Tried updating & receiving the following: SQL Error [nagiosxi] : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE user_id = 2' at line 3 & Nagios is pretty much not usable at that point even though ...
by lakeshorelearning
Wed Oct 13, 2021 3:25 pm
Forum: Nagios XI
Topic: Nagios XI Migration to New Server
Replies: 17
Views: 2748

Re: Nagios XI Migration to New Server

Apologies, but I'm kind of in the same position too. After migrating/restoring to a new server however, I'm receiving 'SQL Error [nagiosxi] : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE user_id = 2' at...