I'm using Ubuntu server 10.04.1 and have installed zoneminder 1.24.2 trough apt-get.
Usually, all updates are done using webmin and work without problems.
However, last update flagged zoneminder to remove and actually removed it.
Here's the log (/var/log/apt/history.log):
Code: Select all
Start-Date: 2010-09-25 20:04:51
Install: apache2-mpm-worker (2.2.14-5ubuntu8.2)
Upgrade: apache2.2-bin (2.2.14-5ubuntu8, 2.2.14-5ubuntu8.2), php5-gd (5.3.2-1ubuntu4.2, 5.3.2-1ubuntu4.5), apache2 (2.2.14-5ubuntu8, 2.2.14-5ubunt$
Remove: php5 (5.3.2-1ubuntu4.2), apache2-mpm-prefork (2.2.14-5ubuntu8), zoneminder (1.24.2-2build3), phpmyadmin (3.3.2-1), libapache2-mod-php5 (5.$
End-Date: 2010-09-25 20:05:55
Zoneminder seams to be installed, but there is some database problem:
Code: Select all
$ sudo apt-get install zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-2.6.32-21 linux-headers-2.6.32-23 linux-headers-2.6.32-23-generic-pae linux-headers-2.6.32-21-generic-pae
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
zoneminder
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1,541kB of archives.
After this operation, 6,693kB of additional disk space will be used.
Selecting previously deselected package zoneminder.
(Reading database ... 133724 files and directories currently installed.)
Unpacking zoneminder (from .../zoneminder_1.24.2-2build3_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up zoneminder (1.24.2-2build3) ...
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 installed post-installation script returned error exit status 255
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks.