I'm working with the Zoneminder package that Moonman created.
I've gotten it installed, but I had to manually install the 8 packages that came with it.
Now I've tried to start it and I'm getting the following errors.
From systemctl status zoneminder -l
$this->bbcode_second_pass_code('', 'â zoneminder.service - Capture, analyse, record and monitor video security cameras
Loaded: loaded (/usr/lib/systemd/system/zoneminder.service; disabled)
Active: failed (Result: exit-code) since Fri 2014-08-29 10:40:38 PDT; 21s ago
Process: 9115 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)
Aug 29 10:40:38 PogoV3 zmpkg.pl[9115]: DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 89.
Aug 29 10:40:38 PogoV3 systemd[1]: zoneminder.service: control process exited, code=exited status=255
Aug 29 10:40:38 PogoV3 systemd[1]: Failed to start Capture, analyse, record and monitor video security cameras.
Aug 29 10:40:38 PogoV3 systemd[1]: Unit zoneminder.service entered failed state.
Aug 29 10:40:38 PogoV3 zmpkg.pl[9115]: Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 91.
Aug 29 10:40:38 PogoV3 zmpkg.pl[9115]: BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 100.
Aug 29 10:40:38 PogoV3 zmpkg.pl[9115]: Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 33.
Aug 29 10:40:38 PogoV3 zmpkg.pl[9115]: BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 33.
Aug 29 10:40:38 PogoV3 zmpkg.pl[9115]: Compilation failed in require at /usr/bin/zmpkg.pl line 37.
Aug 29 10:40:38 PogoV3 zmpkg.pl[9115]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.')
from journalctl -xn
$this->bbcode_second_pass_code('', 'Aug 29 10:40:38 PogoV3 systemd[1]: Unit zoneminder.service entered failed state.
Aug 29 10:40:38 PogoV3 zmpkg.pl[9115]: Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/vendor_perl/ZoneMind
Aug 29 10:40:38 PogoV3 zmpkg.pl[9115]: BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 100.
Aug 29 10:40:38 PogoV3 zmpkg.pl[9115]: Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 33.
Aug 29 10:40:38 PogoV3 zmpkg.pl[9115]: BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 33.
Aug 29 10:40:38 PogoV3 zmpkg.pl[9115]: Compilation failed in require at /usr/bin/zmpkg.pl line 37.
Aug 29 10:40:38 PogoV3 zmpkg.pl[9115]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.')
I think its due to a mysql error. I tried adding user zmuser, but I'm not sure how to create a db or if I need to?
I've searched the wiki, but I haven't found anything I thought would help.
Thanks
Tom