Error installation 1.23.1

Support and queries relating to all previous versions of ZoneMinder
Locked
SuperUser
Posts: 3
Joined: Mon Feb 18, 2008 8:55 am

Error installation 1.23.1

Post by SuperUser »

I need assistance with the setup of zoneminder, I'm in the final stage of the installation,
seems that I'm missing a table in the DB of MYSQL, but I don't know what is the structure of that table.
I'm receiiving the following error.

[root@pentagon tmp]# /etc/init.d/zoneminder start

DBD::mysql::st execute failed: Table 'zm.Config' doesn't exist at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder/Config.pm line 92.
Can't execute: Table 'zm.Config' doesn't exist at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder/Config.pm line 100
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmupdate.pl line 48.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 48.

thank you for the assistance.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Do you have any tables in the database? DId you create them and if so did you get errors?
Phil
SuperUser
Posts: 3
Joined: Mon Feb 18, 2008 8:55 am

Error installation 1.23 Version

Post by SuperUser »

Following the instructions in the installation I saw command only for to create the DB, however I didn't see any one for the creation of tables, which I could have done.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

This part

Code: Select all

mysql mysql < db/zm_create.sql
should create the database and the tables. You need to check what exists and what doesn't, or delete your DB and try and recreate it to see if there were errors.
Phil
Locked