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
Suse 9.3: compile -> OK, but perl errors when starting
Might check that apache has permisions to read and write is log files.
It will not start if it can't.
Regards,
Cordel
It will not start if it can't.
Regards,
Cordel
3939663646337
It's better to keep your mouth shut and appear stupid than open it and remove all doubt.
-Mark Twain
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
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
wrong permissions
Check owner and permissions of /var/log/???? or other directory, where zoneminder writes the logfiles. Here zoneminder writes to /var/log/zoneminder.
Regards,
Rainer
Code: Select all
drwxr-xr-x 2 wwwrun www 376 Jul 4 20:06 zoneminder
Regards,
Rainer
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.
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.
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
I found the solution. it is here
http://www.zoneminder.com/forums/viewto ... zmpathlogs
-
- Posts: 1
- Joined: Thu Jan 08, 2009 1:16 am
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.
-
- Posts: 3
- Joined: Wed Aug 10, 2005 10:01 pm