LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   zoneminder on slackware 12.2 (https://www.linuxquestions.org/questions/slackware-14/zoneminder-on-slackware-12-2-a-810659/)

puneeth bhat 05-28-2010 05:36 AM

zoneminder on slackware 12.2
 
i m trying to install zoneminder on slackware 12.2 bt i m facing little problems,
The steps i followed
1. ./configure --with-webdir= /var/www/html/zm --with-cgidir=/var/www/cgi-bin
2.mysql
create database zm;
mysql> exit;
mysql zm < db/zm_create.sql
3. mysql zm <db> grant select,insert,update,delete on zm.* to '<database>'@localhost identified by '<database>';
mysql> quit;
mysqladmin reload
4. make
5. make install
compiled successfully bt i m not able to find what s the problem
6. zmpkg.pl start

zmpkg.pl.start has generrated several errors below..
foverriding installed ./zm.conf file with local copy
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder/Config.pm line 89
Can't call method "prepare_cached" on an undefined value at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder/Config.pm line 91.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder.pm line 33.
Compilation failed in require at /usr/local/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 45.

Please help me thank u in advance.

Drakeo 06-12-2010 09:53 AM

you must read down at the bottom of the wiki you did not set up permissions.
Quote:

Install ZM Database and Finalize MySql Installation
check it out
give the user permission build as root.
Quote:

Access denied for user


All times are GMT -5. The time now is 07:15 AM.