Comment 2 for bug 243934

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote : Re: install failed

That's because zoneminder fails to install with the following error:

Selecting previously deselected package zoneminder.
(Reading database ... 150559 files and directories currently installed.)
Unpacking zoneminder (from .../zoneminder_1.22.3-10_i386.deb) ...
Setting up zoneminder (1.22.3-10) ...
Installing new version of config file /etc/zm/zm.conf ...
Installing new version of config file /etc/init.d/zoneminder ...
Starting ZoneMinder: DBI connect('database=zm;host=localhost','zmuser',...) failed: Unknown database 'zm' at /usr/share/perl5/ZoneMinder/Config.pm line 89
Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 91.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 45.
failure

invoke-rc.d: initscript zoneminder, action "start" failed.
dpkg: error processing zoneminder (--configure):
 subprocess post-installation script returned error exit status 255