Page 1 of 1

perl zmconfig.pl error

Posted: Mon Dec 29, 2003 12:21 pm
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

Re: perl zmconfig.pl error

Posted: Mon Dec 29, 2003 5:10 pm
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,

Re: perl zmconfig.pl error

Posted: Mon Dec 29, 2003 9:05 pm
by mozg
Philip,

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