I upgraded to Ubuntu Server 12.04 LTS and I cannot get zoneminder to start! "Motion" works, but I want the real deal!
The errors I receive are below, This is a CLEAN install on ubuntu except for Motion. (which is stopped)
During Install:
Code: Select all
root@homeserver:/tmp/motion# apt-get install zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
zoneminder
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/1,849 kB of archives.
After this operation, 6,470 kB of additional disk space will be used.
Selecting previously unselected package zoneminder.
(Reading database ... 32433 files and directories currently installed.)
Unpacking zoneminder (from .../zoneminder_1.25.0-1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up zoneminder (1.25.0-1) ...
Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Logger.pm line 153.
BEGIN not safe after errors--compilation aborted at /usr/share/perl5/ZoneMinder/Logger.pm line 168.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 34.
Compilation failed in require at /usr/bin/zmpkg.pl line 37.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
failure
invoke-rc.d: initscript zoneminder, action "start" failed.
dpkg: error processing zoneminder (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
root@homeserver:/tmp/motion# service zoneminder start
Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Logger.pm line 153.
BEGIN not safe after errors--compilation aborted at /usr/share/perl5/ZoneMinder/Logger.pm line 168.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 34.
Compilation failed in require at /usr/bin/zmpkg.pl line 37.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
failure
Code: Select all
May 23 20:25:40 homeserver undef[4920]: ERR [Config mismatch, expected 218 items, read 0. Try running 'zmupdate.pl -f' to reload config.]