I have a LibreNMS (MariaDB 10.1.19 back-end) installation that has been happily ticking along for a couple of weeks, and today I logged in to see the dreaded
MySQL Error
No such file or directory
Digging around, I can see that the MariaDB/mysql process is no longer running.
When I start the process manually
sudo service mysql start
It waits for around 10 seconds before failing:
Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
Digging through journalctl --xe
I see the following error:
[ERROR] /usr/sbin/mysqld: Error while setting value '""'' to 'sql_mode'
[ERROR] Aborting
Any ideas where I should start looking next? Google returns no matches on that error.