Can't start zoneminder service
Posted: Fri Feb 16, 2024 10:07 am
Hi there.
I installed zm following the instructions in https://zoneminder.readthedocs.io/en/la ... buntu.html .
Ubuntu 22.04
zm 1.36 from ubuntu repository
When i try i get these error messages:
I know, there is no database zm in mysql yet. Do i have to create it myself? I don't read about that in the link above (and other instructions).
When i try in browser, i get:
What did i misunderstand?
Any help?
Thank you for all answers
Peter
I installed zm following the instructions in https://zoneminder.readthedocs.io/en/la ... buntu.html .
Ubuntu 22.04
zm 1.36 from ubuntu repository
When i try
Code: Select all
systemctl status zoneminder.service
Code: Select all
Feb 16 10:55:49 pt-t430 zmpkg[8707]: ERR [Error reconnecting to db: errstr:Unknown database 'zm' error val:]
Feb 16 10:55:49 pt-t430 zmpkg.pl[8707]: Unable to connect to DB. ZM Cannot continue.
Feb 16 10:55:49 pt-t430 zmpkg.pl[8707]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 150.
Feb 16 10:55:49 pt-t430 zmpkg.pl[8707]: Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
Feb 16 10:55:49 pt-t430 zmpkg.pl[8707]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Feb 16 10:55:49 pt-t430 zmpkg.pl[8707]: Compilation failed in require at /usr/bin/zmpkg.pl line 34.
Feb 16 10:55:49 pt-t430 zmpkg.pl[8707]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.
Feb 16 10:55:50 pt-t430 systemd[1]: zoneminder.service: Control process exited, code=exited, status=255/EXCEPTION
Feb 16 10:55:50 pt-t430 systemd[1]: zoneminder.service: Failed with result 'exit-code'.
Feb 16 10:55:50 pt-t430 systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
When i try
Code: Select all
http://localhost/zm/
Code: Select all
Fatal error: Uncaught TypeError: array_replace(): Argument #1 ($array) must be of type array, bool given in /usr/share/zoneminder/www/includes/config.php:52 Stack trace: #0 /usr/share/zoneminder/www/includes/config.php(52): array_replace() #1 /usr/share/zoneminder/www/index.php(46): require_once('...') #2 {main} thrown in /usr/share/zoneminder/www/includes/config.php on line 52
Any help?
Thank you for all answers
Peter