DB Error on clean install

Forum for questions and support relating to the 1.29.x releases only.
Locked
Grundle
Posts: 2
Joined: Wed Mar 02, 2016 1:47 am

DB Error on clean install

Post by Grundle »

I'm following the "Easy way" instructions and I get this during the apt-get install zoneminder php5-gd step:

Setting up zoneminder (1.29.0-wily) ...
DBI connect('database=zwhost=localhost1,1zmuser',...) failed: Unknown database 'zm' at /usr/share/per15/2oneMinder/Config.pm line 92.
Can't connect to db at /usr/share/per15/2oneMinder/Config.pm line 119.
BEGIN failed--compilation aborted at /usr/share/per15/2oneMinder/Config.pm line 119.
Compilation failed in require at /usr/bin/zmupdate.pl line 71.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71.
dpkg: error processing package 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)

My system is a 15.10 server install on a Hyper-V VM. I ran the next couple steps setting up the databases and it works fine now, but I wanted to report so that the instructions could be updated.

Looking forward to getting the next part running!
bbunge
Posts: 2944
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: DB Error on clean install

Post by bbunge »

You may ignore the error message. Continue with the install procedure as cited in the WIKI and set up the database manually.

The error is the result of the auto database setup being removed from the install. It was decided to make the Ubuntu installs like the Debian installs and our wonderful package maintainer has not gotten all the old code removed...yet.

See: https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

bb
Locked