Hello,
I just updated my 'older' Zoneminder installation (1.20) to 1.22
But I can't get it working.
First problem is, when I do a zmpkg.pl start,I receive the following error message:
--
Bareword "ZM_OPT_CONTROL" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 196.
Bareword "ZM_RUN_AUDIT" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 206.
Execution of /usr/local/bin/zmpkg.pl aborted due to compilation errors.
--
I checked permissions, shell of apache user, etc. And everything is correct.
When I remove the use strict (I know, nasty , I still doesn't start, and I receive the following error message in the logfile:
--
02/21/06 14:59:21.994776 zmpkg[24181].INF [Command: start]
02/21/06 14:59:21.995481 zmpkg[24181].DBG [Testing valid shell syntax]
02/21/06 14:59:21.996069 zmpkg[24181].DBG [Testing 'su www-data -c 'true'']
02/21/06 14:59:22.069296 zmpkg[24181].DBG [Test ok, using prefix 'su www-data -c ']
02/21/06 14:59:22.077885 zmpkg[24181].DBG [Command: su www-data -c '/usr/local/bin/zmdc.pl check']
02/21/06 14:59:22.299203 zmpkg[24181].DBG [Output: stopped]
02/21/06 14:59:22.299352 zmpkg[24181].DBG [Removing shared memory]
02/21/06 14:59:22.299431 zmpkg[24181].DBG [Checking for shared memory with 'ipcs -m | grep '^0x7a6d20'']
02/21/06 14:59:22.308054 zmpkg[24181].DBG [Command: su www-data -c '/usr/local/bin/zmfix']
02/21/06 14:59:22.344138 zmpkg[24181].ERR [Unable to run 'su www-data -c '/usr/local/bin/zmfix'', output is '']
--
When I run zmfix manually, with the apache or root user, it's giving exit code '255'.
I'm stuck, and I hope somebody can help me.
OS: Debian
Bart