View unanswered posts | View active topics It is currently Mon May 20, 2013 8:06 am



Reply to topic  [ 8 posts ] 
Suse 9.3: compile -> OK, but perl errors when starting 
Author Message

Joined: Thu Aug 04, 2005 6:43 pm
Posts: 2
Post Suse 9.3: compile -> OK, but perl errors when starting
hello,

i have set up an standard suse 9.3 with all neccesary rpms

it compiles, but when starting via

zmpkg.pl start

i get the following: this error

Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 77.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmpkg.pl line 78.


The webinterface also shows php-errors, very often when doing: foreach(....


Thx for any help


Thu Aug 04, 2005 6:48 pm
Profile
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post 
Might check that apache has permisions to read and write is log files.
It will not start if it can't.
Regards,
Cordel

_________________
Image
[url=http://tinyurl.com/cae63]Image
3939663646337[/url]
It's better to keep your mouth shut and appear stupid than open it and remove all doubt.
-Mark Twain


Fri Aug 05, 2005 12:47 am
Profile WWW

Joined: Thu Aug 04, 2005 6:43 pm
Posts: 2
Post 
hello,

thx for answering. What do you mean?

Sure, apache writes its own logs, so what permission for what user i need to set.

Are you talking about the zoneminder log folder ?

I already set the logfolder to 777 - that shouldnt be the problem.
Also when i comment line 77 and 78 in zmpkg.pl i get

Bareword "VERBOSE" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 134.
Bareword "VERBOSE" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 144.
Bareword "ZM_OPT_FRAME_SERVER" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 262.
Bareword "ZM_OPT_CONTROL" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 274.
Bareword "ZM_OPT_TRIGGERS" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 286.
Bareword "ZM_OPT_X10" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 290.
Bareword "ZM_CHECK_FOR_UPDATES" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 295.
Bareword "LOG_FILE" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 166.
Execution of /usr/local/bin/zmpkg.pl aborted due to compilation errors.


So i dont think its about the logs.
But i also think somebody else had the problem before me. When googling after it:

http://www.google.com/search?q=Bareword ... ot+allowed

it finds 1 probably old post in this forum but it cannot be displayed anymore.

regards

TomTom


Fri Aug 05, 2005 12:44 pm
Profile

Joined: Fri Jan 21, 2005 7:57 pm
Posts: 22
Location: Germany
Post wrong permissions
Check owner and permissions of /var/log/???? or other directory, where zoneminder writes the logfiles. Here zoneminder writes to /var/log/zoneminder.

Code:
drwxr-xr-x   2 wwwrun  www          376 Jul  4 20:06 zoneminder



Regards,

Rainer


Sat Aug 06, 2005 8:17 am
Profile

Joined: Tue Aug 09, 2005 7:36 pm
Posts: 4
Post 
Hi!!

I have the same problem, i think i have all dependencies needed, i have uninstalled and reinstalled twice, but unsuccess. I'm running fedora 4 x86_64, i can see the image using xawtv. Thanks!

Stopping ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 77.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmpkg.pl line 78.
[FAILED]
Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 77.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmpkg.pl line 78.


Tue Aug 09, 2005 7:51 pm
Profile

Joined: Sat Jun 11, 2005 7:54 pm
Posts: 103
Post 
has anyone solved this problem. I am getting the identical problem here.

I found the solution. it is here
http://www.zoneminder.com/forums/viewto ... zmpathlogs


Wed Feb 15, 2006 6:04 am
Profile

Joined: Thu Jan 08, 2009 2:16 am
Posts: 1
Post Its the DB
The db/zm_create.sql script in the Config table has a Field that points to a path that isn't valid in Fedora. That is what I found. Regards.


Thu Jan 08, 2009 2:39 am
Profile

Joined: Wed Aug 10, 2005 11:01 pm
Posts: 3
Post 
I restored my mysql database on a new Linux install and got this error. To fix I ran

mysql_upgrade -uroot -p


Sun Aug 01, 2010 10:13 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group