Error: 22 (Invalid argument)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
jmchavez84
Posts: 4
Joined: Tue Mar 04, 2025 1:39 pm

Error: 22 (Invalid argument)

Post by jmchavez84 »

I' am running RHEL9, and NagiosXI. My server crashed last night, and now I am getting Error: 22 (Invalid argument) when I try to start the mysqld service. I have ran:
/usr/local/nagiosxi/scripts/repair_databases.sh and /usr/local/nagiosxi/scripts/repairmysql.sh nagios

Still no luck. Thought I would post here while I still look into this. I appreciate any help.

Thank you
User avatar
lgute
Posts: 415
Joined: Mon Apr 06, 2020 2:49 pm

Re: Error: 22 (Invalid argument)

Post by lgute »

Hi @jmchavez84,

Thanks for reaching out.

You may be able to get more information about what is going on with the following:
  • tail /var/log/mysql/mysqld.log
  • journalctl -xeu mysqld.service
If you have a recent version of XI, you can try running /usr/local/nagiosxi/scripts/repair_crashed_databases.sh

This StackOverflow: mysql cannot start... may be helpful.

If you need more help, please open a support ticket here: https://support.nagios.com/, so our support team can help you.
Please let us know if you have any other questions or concerns.

-Laura
Post Reply