Page 1 of 1

ZM doesn't startup

Posted: Sat Feb 25, 2012 1:13 pm
by brunovg
Hi there,

I installed ZoneMinder on a Ubuntu Server 4 months ago and worked very well.
Suddenly it stopped working.
This is the error when I try to start it:

Code: Select all

Starting service zm ..

Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/local/share/perl/5.12.4/ZoneMinder/Logger.pm line 153.
BEGIN not safe after errors--compilation aborted at /usr/local/share/perl/5.12.4/ZoneMinder/Logger.pm line 168.
Compilation failed in require at /usr/local/share/perl/5.12.4/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.12.4/ZoneMinder.pm line 34.
Compilation failed in require at /usr/local/bin/zmpkg.pl line 37.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 37.
failure

.. failed!
Thanks.

Re: ZM doesn't startup

Posted: Tue Feb 28, 2012 2:57 am
by peterhman
I see the same error. Any suggestions?

$ sudo /etc/init.d/zm start
Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in gger.pm line 153.
BEGIN not safe after errors--compilation aborted at /opt/zm/share/perl/5.12.4/Zo
Compilation failed in require at /opt/zm/share/perl/5.12.4/ZoneMinder.pm line 34
BEGIN failed--compilation aborted at /opt/zm/share/perl/5.12.4/ZoneMinder.pm lin
Compilation failed in require at /opt/zm/bin/zmpkg.pl line 37.
BEGIN failed--compilation aborted at /opt/zm/bin/zmpkg.pl line 37.
failure

Re: ZM doesn't startup

Posted: Wed Mar 07, 2012 3:59 pm
by mastertheknife
This error is usually caused by a corrupt config table in the database.

mastertheknife