perl zmconfig.pl error

Support and queries relating to all previous versions of ZoneMinder
Locked
mozg
Posts: 2
Joined: Mon Dec 29, 2003 12:18 pm

perl zmconfig.pl error

Post by mozg »

Hello

I have problems during zm configuration. Here is the error output at the end of perl zmconfig.pl script:

Saving config to 'zmconfig.txt'
Saving config to DB
DBD::mysql::db do failed: Table 'zm.Config' doesn't exist at zmconfig.pl line 1204, <> line 74.
Can't do 'delete from Config': Table 'zm.Config' doesn't exist at zmconfig.pl line 1204, <> line 74.

I am using Debian unstable, with the following configure line:
./configure --with-webdir=/var/www --with-mysql=/usr/lib --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data

Do you guys now how to fix that problem?

Thanks
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: perl zmconfig.pl error

Post by zoneminder »

Hi Andrei,

I suspect the problem here is that you have not created the ZM database. This is not a problem the first time you run zmconfig.pl but should be done after that otherwise nothing will work. You don't mention which version of ZM you are running, as that might help.

Cheers,

Phil,
mozg
Posts: 2
Joined: Mon Dec 29, 2003 12:18 pm

Re: perl zmconfig.pl error

Post by mozg »

Philip,

Thanks a lot, I've sorted this problem, yeah, it was the database creation thing, as you've said.
Locked