Hello we seem to be having an issue with Service notifications Report.
When we want to run a Service notification we get the following error:
Incorrect file format 'nagios_contactnotificationmethods
This is the same for ALL service notifications.
OS is CentOS 7.9.2009
Nagios is version 5.8.4
SQL Error [ndoutils] : Incorrect file format 'nagios_contact
-
nagios-retail
- Posts: 36
- Joined: Mon Feb 09, 2015 3:32 am
SQL Error [ndoutils] : Incorrect file format 'nagios_contact
You do not have the required permissions to view the files attached to this post.
Re: SQL Error [ndoutils] : Incorrect file format 'nagios_con
Please repair the databases following this guide:
https://assets.nagios.com/downloads/nag ... tabase.pdf
https://assets.nagios.com/downloads/nag ... tabase.pdf
-
nagios-retail
- Posts: 36
- Joined: Mon Feb 09, 2015 3:32 am
Re: SQL Error [ndoutils] : Incorrect file format 'nagios_con
Hello,
The repair failed with the following error:
I also ran the
where I got the error log:
So the database repair did not work.
I still get the same error code in the " Service Notifications"
The repair failed with the following error:
Code: Select all
myisamchk: error: 'nagios_contactnotificationmethods' is not a MyISAM-tableCode: Select all
SELECT CONCAT('ALTER TABLE ', TABLE_SCHEMA, '.', TABLE_NAME, '
engine=MyISAM;') FROM information_schema.TABLES WHERE ENGINE = 'InnoDB';Code: Select all
Error : Incorrect file format 'nagios_contactnotificationmethods'
error : Corrupt
I still get the same error code in the " Service Notifications"
-
nagios-retail
- Posts: 36
- Joined: Mon Feb 09, 2015 3:32 am
Re: SQL Error [ndoutils] : Incorrect file format 'nagios_con
I send you @ssax a profile for further investigation.
Thx.
Thx.
Re: SQL Error [ndoutils] : Incorrect file format 'nagios_con
Hi,
How are you doing?
Please try the followings command:
Best Regards,
Vinh
How are you doing?
Please try the followings command:
Code: Select all
echo 'repair table nagios_contactnotificationmethods use_frm;' | mysql -t -u root -pnagiosxi nagios
mysqlcheck -f -r -u root -pnagiosxi nagios
systemctl restart mariadb
/usr/local/nagiosxi/scripts/repair_databases.sh
Best Regards,
Vinh