service zoneminder fail starting

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
bensz
Posts: 8
Joined: Wed Feb 03, 2021 5:40 pm

service zoneminder fail starting

Post 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
Attachments
IMG_20220314_111011.resized.jpg
IMG_20220314_111011.resized.jpg (551.09 KiB) Viewed 904 times
IMG_20220314_111034.resized.jpg
IMG_20220314_111034.resized.jpg (513.15 KiB) Viewed 904 times
IMG_20220314_111057.resized.jpg
IMG_20220314_111057.resized.jpg (595.05 KiB) Viewed 904 times
Maximo1970
Posts: 97
Joined: Sun May 28, 2017 4:29 pm

Re: service zoneminder fail starting

Post 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.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: service zoneminder fail starting

Post by Magic919 »

I'd start with running mysqlcheck against the DB.
-
bensz
Posts: 8
Joined: Wed Feb 03, 2021 5:40 pm

Re: service zoneminder fail starting

Post 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
dougmccrary
Posts: 1373
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: service zoneminder fail starting

Post by dougmccrary »

Did you empty trash? Your disk might still be full.
bensz
Posts: 8
Joined: Wed Feb 03, 2021 5:40 pm

Re: service zoneminder fail starting

Post by bensz »

Hello,
normally, no problem as I used rm in terminal and df an df -i said I have free space.
Thanks
Benoit
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: service zoneminder fail starting

Post 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.
-
Post Reply