Page 3 of 3

Re: NagiosXI 5.7.0 Issues

Posted: Wed Jun 10, 2020 12:31 pm
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.

Re: NagiosXI 5.7.0 Issues

Posted: Thu Jun 18, 2020 3:37 pm
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.

Re: NagiosXI 5.7.0 Issues

Posted: Fri Jun 19, 2020 7:06 am
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