I installed zomeminder 1.36 on Debian 11 Bullseye, following this guide for Buster using Bullseye repository:
https://zoneminder.readthedocs.io/en/la ... ebian.html
Then i run db configuration as follow:
https://wiki.zoneminder.com/MySQL
When i Start zoneminder I got this error:
Code: Select all
zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2021-09-21 11:33:02 CEST; 2s ago
Docs: http://zoneminder.readthedocs.org/en/latest/
Process: 31241 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255/EXCEPTION)
CPU: 67ms
Sep 21 11:33:02 zoneminder zmpkg[31241]: ERR [Error reconnecting to db: errstr:Access denied for user 'www-data'@'localhost' (using password: NO) error val:]
Sep 21 11:33:02 zoneminder zmpkg.pl[31241]: Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 96.
Sep 21 11:33:02 zoneminder zmpkg.pl[31241]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147.
Sep 21 11:33:02 zoneminder zmpkg.pl[31241]: Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
Sep 21 11:33:02 zoneminder zmpkg.pl[31241]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Sep 21 11:33:02 zoneminder zmpkg.pl[31241]: Compilation failed in require at /usr/bin/zmpkg.pl line 34.
Sep 21 11:33:02 zoneminder zmpkg.pl[31241]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.
Sep 21 11:33:02 zoneminder systemd[1]: zoneminder.service: Control process exited, code=exited, status=255/EXCEPTION
Sep 21 11:33:02 zoneminder systemd[1]: zoneminder.service: Failed with result 'exit-code'.
Sep 21 11:33:02 zoneminder systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
Any help would be appreciated
Marco