how to solve it?
Posted: Sat Mar 13, 2010 1:51 pm
im in serious trouble to install zone, i made like that:
apt-get -f install zoneminder...
then, in ZoneMinder-1.23.3 folder:
./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data --with-ffmpeg --with-libarch ZM_SSL_LIB=opensslNew
then:
make
then:
mysql mysql <db> grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass'
i tried give the sintax:
"mysql> quit"
but it refuses...
i tried quit;
was refused too, so:
ctrl+c
the make install
and when i try
andre:/home/dukenukem# /etc/init.d/zoneminder start
Starting ZoneMinder: DBD::mysql::st execute failed: SELECT command denied to user 'zmuser'@'localhost' for table 'Config' at /usr/local/share/perl/5.10.1/ZoneMinder/Config.pm line 92.
Can't execute: SELECT command denied to user 'zmuser'@'localhost' for table 'Config' at /usr/local/share/perl/5.10.1/ZoneMinder/Config.pm line 100
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/local/share/perl/5.10.1/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 45.
failure
andre:/home/dukenukem#
some clue?
________
VERMONT DISPENSARY
apt-get -f install zoneminder...
then, in ZoneMinder-1.23.3 folder:
./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data --with-ffmpeg --with-libarch ZM_SSL_LIB=opensslNew
then:
make
then:
mysql mysql <db> grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass'
i tried give the sintax:
"mysql> quit"
but it refuses...
i tried quit;
was refused too, so:
ctrl+c
the make install
and when i try
andre:/home/dukenukem# /etc/init.d/zoneminder start
Starting ZoneMinder: DBD::mysql::st execute failed: SELECT command denied to user 'zmuser'@'localhost' for table 'Config' at /usr/local/share/perl/5.10.1/ZoneMinder/Config.pm line 92.
Can't execute: SELECT command denied to user 'zmuser'@'localhost' for table 'Config' at /usr/local/share/perl/5.10.1/ZoneMinder/Config.pm line 100
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/local/share/perl/5.10.1/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 45.
failure
andre:/home/dukenukem#
some clue?
________
VERMONT DISPENSARY