pb installing zm-1.22.3-6mdv2007.0.i686
Posted: Mon Apr 09, 2007 2:31 pm
Hi all,
I had an old zm with an old mdk working all right but I'm having difficulties in installation. I dl zm-1.22.3-6mdv2007.0.i686, installed it. Then performed this:
First edit /etc/zm.conf and add a user name and password, something like
this:
ZM_DB_SERVER=localhost
ZM_DB_NAME=zm
ZM_DB_USER=zm_user
ZM_DB_PASS=zm_pass
ZM will use these to access the MySQL database created in the next step.
Next, run "/usr/lib/zm/init/zminit"
When prompted for the MySQL admin user name enter "root" and when prompted for
a password, leave it blank and hit enter. You will see some messages as the
database is created.
Now you can run "service zm start"
I got this at that point, don't understand why ?
[root@corti bin]# service zm start
Lancement de ZoneMinder : Can't open config file '/etc/zm.conf': Permission non accordée at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Config.pm line 100
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder.pm line 33.
Compilation failed in require at /usr/lib/zm/bin/zmdc.pl line 50.
BEGIN failed--compilation aborted at /usr/lib/zm/bin/zmdc.pl line 50.
[ÉCHEC ]
Any help appreciated
chris
I had an old zm with an old mdk working all right but I'm having difficulties in installation. I dl zm-1.22.3-6mdv2007.0.i686, installed it. Then performed this:
First edit /etc/zm.conf and add a user name and password, something like
this:
ZM_DB_SERVER=localhost
ZM_DB_NAME=zm
ZM_DB_USER=zm_user
ZM_DB_PASS=zm_pass
ZM will use these to access the MySQL database created in the next step.
Next, run "/usr/lib/zm/init/zminit"
When prompted for the MySQL admin user name enter "root" and when prompted for
a password, leave it blank and hit enter. You will see some messages as the
database is created.
Now you can run "service zm start"
I got this at that point, don't understand why ?
[root@corti bin]# service zm start
Lancement de ZoneMinder : Can't open config file '/etc/zm.conf': Permission non accordée at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Config.pm line 100
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder.pm line 33.
Compilation failed in require at /usr/lib/zm/bin/zmdc.pl line 50.
BEGIN failed--compilation aborted at /usr/lib/zm/bin/zmdc.pl line 50.
[ÉCHEC ]
Any help appreciated
chris