zoneminder installation error
Posted: Thu Feb 27, 2020 4:13 pm
I've successfully followed the instruction for installing Zoneminder on Ubuntu 18, but when I get enter the following command (systemctl start zoneminder), I get the following error messages:
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 2020-02-27 10:21:52 EST; 48s ago
Docs: http://zoneminder.readthedocs.org/en/latest/
Process: 4215 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255/EXCEPTION)
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS zmpkg.pl[4215]: DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuse
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS zmpkg.pl[4215]: Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166.
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS zmpkg.pl[4215]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166.
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS zmpkg.pl[4215]: Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS zmpkg.pl[4215]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS zmpkg.pl[4215]: Compilation failed in require at /usr/bin/zmpkg.pl line 34.
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS zmpkg.pl[4215]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS systemd[1]: zoneminder.service: Control process exited, code=exited, status=255/EXCEPTION
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS systemd[1]: zoneminder.service: Failed with result 'exit-code'.
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
I have no idea how to remedy this problem. Any thoughts?
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 2020-02-27 10:21:52 EST; 48s ago
Docs: http://zoneminder.readthedocs.org/en/latest/
Process: 4215 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255/EXCEPTION)
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS zmpkg.pl[4215]: DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuse
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS zmpkg.pl[4215]: Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166.
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS zmpkg.pl[4215]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166.
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS zmpkg.pl[4215]: Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS zmpkg.pl[4215]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS zmpkg.pl[4215]: Compilation failed in require at /usr/bin/zmpkg.pl line 34.
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS zmpkg.pl[4215]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS systemd[1]: zoneminder.service: Control process exited, code=exited, status=255/EXCEPTION
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS systemd[1]: zoneminder.service: Failed with result 'exit-code'.
Feb 27 10:21:52 rich-VivoBook-E14-E402WAS systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
I have no idea how to remedy this problem. Any thoughts?