This morning at 9:25 AM I unexpectedly got an alert that ZoneMinder stopped. When I tried to start it, it failed and said "You must run /srv/zoneminder/bin/zminit manually." No packages had been upgraded or modified (in fact I had not used the computer since the night before) so I suspected a problem with the MySQL database. I backed it up, checked the tables, and they all reported an OK status. I ran zminit, dropped the database, and started ZoneMinder without any problem (although all my settings were now gone). So I restored the database, and ZoneMinder still insists I run zminit manually. Oddly, if I run "/etc/rc.d/zm stop" it displays a number of Perl errors:
Code: Select all
Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /srv/zoneminder/bin/zmpkg.pl line 150.
Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /srv/zoneminder/bin/zmpkg.pl line 149.
Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /srv/zoneminder/bin/zmpkg.pl line 151.
Execution of /srv/zoneminder/bin/zmpkg.pl aborted due to compilation errors.
This is really strange because I did not upgrade or modify any files since it was last working. Does anyone have a recommendation on how to recover the info in my database?