[root@localhost LambNet]# service zm start
ERROR 1146 (42S02) at line 1: Table 'zm.Config' doesn't exist
Starting ZoneMinder: DBD::mysql::st execute failed: Table 'zm.Config' doesn't exist at /usr/local/share/perl5/ZoneMinder/Config.pm line 92.
Can't execute: Table 'zm.Config' doesn't exist at /usr/local/share/perl5/ZoneMinder/Config.pm line 100
BEGIN failed--compilation aborted at /usr/local/share/perl5/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/local/share/perl5/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/local/share/perl5/ZoneMinder.pm line 33.
Compilation failed in require at /usr/local/bin/zmpkg.pl line 37.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 37.
[FAILED]
Have you installed the zoneminder from repositories or compiled yourself?
Anyway, download and extract the attached file and run the following commands in order to create the database for ZM1.25:
#create db
mysqladmin -u root -p -f drop zm
mysql -u root -p < db/zm_create.sql
#Password that is requested is Mysql root password that was entered during install, not your debian password.
mysql -u root -p
grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';
quit
mysqladmin -p reload
Don't forget to change 'zmuser' and 'zmpass' according to your settings.
Have you installed the zoneminder from repositories or compiled yourself?
Anyway, download and extract the attached file and run the following commands in order to create the database for ZM1.25:
#create db
mysqladmin -u root -p -f drop zm
mysql -u root -p < db/zm_create.sql
#Password that is requested is Mysql root password that was entered during install, not your debian password.
mysql -u root -p
grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';
quit
mysqladmin -p reload
Don't forget to change 'zmuser' and 'zmpass' according to your settings.
Hope it helps,
PacoLM
Paco
Thank you so much for your help, wasn't quite as easy as your post made it look but i got their in the end
Just trying to figure out how to secure Zoneminder now