Page 1 of 1

Error installation 1.23.1

Posted: Mon Feb 18, 2008 12:31 pm
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.

Posted: Mon Feb 18, 2008 10:45 pm
by zoneminder
Do you have any tables in the database? DId you create them and if so did you get errors?

Error installation 1.23 Version

Posted: Tue Feb 19, 2008 12:56 pm
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.

Posted: Tue Feb 19, 2008 9:13 pm
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.