Page 1 of 1

service zoneminder fail starting

Posted: Mon Mar 14, 2022 5:51 pm
by bensz
Hello,
I have a debian buster with zm 1.36.5
It worked correctly until I had a full disk in /var (in fact it was inode full). I erased files to have free space and inodes. But now I can't start service zoneminder. As this computer is not connected to internet, I attach screen captures with logs.
In firefox, I have a blank screen.
As you can see, I have error message for mariadb, mariadb works correctly, but le table Logs is empty.
Thanks for help and ideas.
Benoit

Re: service zoneminder fail starting

Posted: Tue Mar 15, 2022 1:46 pm
by Maximo1970
It would be worth checking the service configuration for Zoneminder and check to see that all the requirements are available. On my setup I have SQL running on anther server and need to comment out the requirement for the Zoenminder service to start.

Re: service zoneminder fail starting

Posted: Tue Mar 15, 2022 1:58 pm
by Magic919
I'd start with running mysqlcheck against the DB.

Re: service zoneminder fail starting

Posted: Tue Mar 15, 2022 5:11 pm
by bensz
hello,
Thanks for ideas. I tried the check for mariadb, but everything is right. For checking config, it must be right because zm worked correctly before my "disk full".
Thanks
Benoit

Re: service zoneminder fail starting

Posted: Tue Mar 15, 2022 11:33 pm
by dougmccrary
Did you empty trash? Your disk might still be full.

Re: service zoneminder fail starting

Posted: Wed Mar 16, 2022 11:27 am
by bensz
Hello,
normally, no problem as I used rm in terminal and df an df -i said I have free space.
Thanks
Benoit

Re: service zoneminder fail starting

Posted: Wed Mar 16, 2022 6:02 pm
by Magic919
You'll have to tackle to DB the way I see it.

You could see what the value is that it's trying to use -

Code: Select all

SELECT `AUTO_INCREMENT` FROM  INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'zm' AND   TABLE_NAME   = 'Logs';
and see if that's the problem for the table.