Bonjour à tous,
Depuis hier je tente de faire fonctionner zoneminder sur ma machine, mais j'ai une erreur et malgré mes recherches et mes tentatives, je n'y arrive toujours pas.
J'ai suivi à la lettre ce tuto :
https://pellenalexandre.wordpress.com/documentation/Je n'ai pas eu d'erreurs sur les étapes précédentes celle-ci :
systemctl start zoneminder
Job for zoneminder.service failed because the control process exited with error code.
See "systemctl status zoneminder.service" and "journalctl -xe" for details.
Je ne comprends pas ce qui ne va pas.
Voici ce que me donnent les logs spécifiés dans le message d'erreur :
systemctl status zoneminder.service
● 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 Thu 2021-06-03 21:27:21 CEST; 1min 29s ago
Docs: http://zoneminder.readthedocs.org/en/latest/
Process: 13462 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255/EXCEPTION)
CPU: 174ms
jun 03 21:27:21 debian-home zmpkg[13462]: ERR [Error reconnecting to db: errstr:Access denied for user 'zmuser'@'localhost' error val:]
jun 03 21:27:21 debian-home zmpkg.pl[13462]: Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 9>
jun 03 21:27:21 debian-home zmpkg.pl[13462]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147.
jun 03 21:27:21 debian-home zmpkg.pl[13462]: Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
jun 03 21:27:21 debian-home zmpkg.pl[13462]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
jun 03 21:27:21 debian-home zmpkg.pl[13462]: Compilation failed in require at /usr/bin/zmpkg.pl line 34.
jun 03 21:27:21 debian-home zmpkg.pl[13462]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.
jun 03 21:27:21 debian-home systemd[1]: zoneminder.service: Control process exited, code=exited, status=255/EXCEPTION
jun 03 21:27:21 debian-home systemd[1]: zoneminder.service: Failed with result 'exit-code'.
jun 03 21:27:21 debian-home systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
jun 03 21:27:21 debian-home zmpkg.pl[13462]: DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhos>
jun 03 21:27:21 debian-home mariadbd[830]: 2021-06-03 21:27:21 79 [Warning] Access denied for user 'zmuser'@'localhost'
jun 03 21:27:21 debian-home zmpkg.pl[13462]: DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhos>
jun 03 21:27:21 debian-home zmpkg[13462]: ERR [Error reconnecting to db: errstr:Access denied for user 'zmuser'@'localhost' error val:]
jun 03 21:27:21 debian-home mariadbd[830]: 2021-06-03 21:27:21 80 [Warning] Access denied for user 'zmuser'@'localhost'
jun 03 21:27:21 debian-home zmpkg.pl[13462]: DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhos>
jun 03 21:27:21 debian-home zmpkg[13462]: ERR [Error reconnecting to db: errstr:Access denied for user 'zmuser'@'localhost' error val:]
jun 03 21:27:21 debian-home zmpkg.pl[13462]: Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 9>
jun 03 21:27:21 debian-home zmpkg.pl[13462]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147.
jun 03 21:27:21 debian-home zmpkg.pl[13462]: Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
jun 03 21:27:21 debian-home zmpkg.pl[13462]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
jun 03 21:27:21 debian-home zmpkg.pl[13462]: Compilation failed in require at /usr/bin/zmpkg.pl line 34.
jun 03 21:27:21 debian-home zmpkg.pl[13462]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.
jun 03 21:27:21 debian-home systemd[1]: zoneminder.service: Control process exited, code=exited, status=255/EXCEPTION
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit zoneminder.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 255.
jun 03 21:27:21 debian-home systemd[1]: zoneminder.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit zoneminder.service has entered the 'failed' state with result 'exit-code'.
jun 03 21:27:21 debian-home systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
░░ Subject: L'unité (unit) zoneminder.service a échoué
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) zoneminder.service a échoué, avec le résultat failed.
jun 03 21:29:09 debian-home gnome-shell[1671]: pushModal: invocation of begin_modal failed
jun 03 21:30:01 debian-home CRON[13584]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
jun 03 21:30:01 debian-home CRON[13585]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacro>
jun 03 21:30:01 debian-home CRON[13584]: pam_unix(cron:session): session closed for user root
Si quelqu'un a un conseil, je prends !
Merci,
Jet