NagiosXI 5.7.0 Issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI 5.7.0 Issues

Post by scottwilkerson »

JohnWillette wrote:The localhost services are created when the application is initially installed.

Can the service monitoring for ndo2db be changed to monitor ndo3, or is that even necessary anymore?
it is not necessary anymore as ndo3 no longer is a service, it is just a direct module to nagios.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
JohnWillette
Posts: 16
Joined: Mon Jun 18, 2018 1:59 pm

Re: NagiosXI 5.7.0 Issues

Post by JohnWillette »

Everything seemed to be okay after installing 5.7.1 on Monday 06/15/2020. Today I attempted to logon to the GUI on my lab hosts and received the database error message and to run ./repair_databases.sh and receiving this error message -

./repair_databases.sh
DATABASE: nagios
TABLE:
Unit mysqld.service could not be found.
Unit mariadb.service could not be found.
/var/lib/mysql/nagios /usr/local/nagiosxi/scripts
Failed to stop mysqld.service: Unit mysqld.service not loaded.
Failed to stop mariadb.service: Unit mariadb.service not loaded.
/usr/local/nagiosxi/scripts/repairmysql.sh: line 123: /usr/bin/myisamchk: No such file or directory
Failed to start mysqld.service: Unit not found.
Failed to start mariadb.service: Unit not found.
/usr/local/nagiosxi/scripts

===============
REPAIR COMPLETE
===============
DATABASE: nagiosql
TABLE:
Unit mysqld.service could not be found.
Unit mariadb.service could not be found.
/var/lib/mysql/nagiosql /usr/local/nagiosxi/scripts
DATABASE: nagiosxi
TABLE:
Unit mysqld.service could not be found.
Unit mariadb.service could not be found.
/var/lib/mysql/nagiosxi /usr/local/nagiosxi/scripts

=======================
nagios database repair FAILED, please check output above!

Supprt ticket 291952 has been opened.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI 5.7.0 Issues

Post by scottwilkerson »

JohnWillette wrote:Everything seemed to be okay after installing 5.7.1 on Monday 06/15/2020. Today I attempted to logon to the GUI on my lab hosts and received the database error message and to run ./repair_databases.sh and receiving this error message -

./repair_databases.sh
DATABASE: nagios
TABLE:
Unit mysqld.service could not be found.
Unit mariadb.service could not be found.
/var/lib/mysql/nagios /usr/local/nagiosxi/scripts
Failed to stop mysqld.service: Unit mysqld.service not loaded.
Failed to stop mariadb.service: Unit mariadb.service not loaded.
/usr/local/nagiosxi/scripts/repairmysql.sh: line 123: /usr/bin/myisamchk: No such file or directory
Failed to start mysqld.service: Unit not found.
Failed to start mariadb.service: Unit not found.
/usr/local/nagiosxi/scripts

===============
REPAIR COMPLETE
===============
DATABASE: nagiosql
TABLE:
Unit mysqld.service could not be found.
Unit mariadb.service could not be found.
/var/lib/mysql/nagiosql /usr/local/nagiosxi/scripts
DATABASE: nagiosxi
TABLE:
Unit mysqld.service could not be found.
Unit mariadb.service could not be found.
/var/lib/mysql/nagiosxi /usr/local/nagiosxi/scripts

=======================
nagios database repair FAILED, please check output above!

Supprt ticket 291952 has been opened.
Closing thread, help will continue through Ticket
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked