ZM doesn't startup

Forum for questions and support relating to the 1.25.x releases only.
Locked
brunovg
Posts: 1
Joined: Sat Feb 25, 2012 1:09 pm

ZM doesn't startup

Post 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.
peterhman
Posts: 1
Joined: Tue Feb 28, 2012 2:54 am

Re: ZM doesn't startup

Post 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
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: ZM doesn't startup

Post by mastertheknife »

This error is usually caused by a corrupt config table in the database.

mastertheknife
Kfir Itzhak.
Locked