hello all,
i had my zoneminder working, installed on a Linux 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64 GNU/Linux (wheezy)
but suddenly stopped....
this is the error i get:
root@localhost:~# /etc/init.d/zoneminder start
Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Debug.pm line 265.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 34.
Compilation failed in require at /usr/bin/zmpkg.pl line 46.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 46.
failure
can anyone help me ?
Zoneminder wont start
Zoneminder wont start
Ye-Olde's Manor - http://ye-olde.net
Re: Zoneminder wont start
i tried to install another package on my Debian, and i got this message...
Setting up zoneminder (1.24.4-1+b2) ...
Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Debug.pm line 265.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 34.
Compilation failed in require at /usr/bin/zmpkg.pl line 46.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 46.
failure
invoke-rc.d: initscript zoneminder, action "start" failed.
dpkg: error processing zoneminder (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up zoneminder (1.24.4-1+b2) ...
Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Debug.pm line 265.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 34.
Compilation failed in require at /usr/bin/zmpkg.pl line 46.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 46.
failure
invoke-rc.d: initscript zoneminder, action "start" failed.
dpkg: error processing zoneminder (--configure):
subprocess installed post-installation script returned error exit status 2
Ye-Olde's Manor - http://ye-olde.net
Re: Zoneminder wont start
I have exactly the same message and issue. Could it be a Debian only issue linked with a dependancy upgrade?
Maybe we should fill a bug report?
Maybe we should fill a bug report?
Re: Zoneminder wont start
Try to recreate the database, I had the same failure, the config table was broken.
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Re: Zoneminder wont start
i did a mysqlcheck --all-databases --auto-repair -u root -p
now, i can login but it redirects me to http://xx.xx.xx.xx/zm/undefined
now, i can login but it redirects me to http://xx.xx.xx.xx/zm/undefined
Ye-Olde's Manor - http://ye-olde.net
Re: Zoneminder wont start
Maybe the tables are repaired but void. Try to recreate them using :
Give it a try, you will need to configure again your system, but maybe is better than nothing!
Code: Select all
cd /usr/share/zoneminder
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
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...