Zoneminder

Make a PKGBUILD? Submit it here for user review and possible placement into the repository.

Zoneminder

Postby Socaltom » Fri Aug 29, 2014 5:43 pm

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

Code: Select all
â 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


Code: Select all
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
Owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
Adminstrator for
Goflex net, Black V3, Black V2
Socaltom
 
Posts: 567
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: Zoneminder

Postby Socaltom » Fri Aug 29, 2014 10:06 pm

Apparently I missed some of the install istructions that popped up. I'm going through those right now. Hopefully that resolves the issue.
Tom
Owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
Adminstrator for
Goflex net, Black V3, Black V2
Socaltom
 
Posts: 567
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: Zoneminder

Postby Socaltom » Sun Aug 31, 2014 1:47 am

If its not one thing its another. Now apache is complaining about php. I think I'll put this on pause for a while and stick with motion.
Tom
Owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
Adminstrator for
Goflex net, Black V3, Black V2
Socaltom
 
Posts: 567
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side


Return to User-Submitted Packages

Who is online

Users browsing this forum: No registered users and 2 guests