The symptoms:
Clicking on the word 'Stopped' in the zoneminder main interface window and then clicking 'Apply' in the popup window does not appear to change anything, nor produce error message. (before and after each attempt to restart using the service command.)
Initially the output from 'service zoneminder status' displayed:
As identified on http://www.vivaolinux.com.br/topico/QEM ... Zoneminder, changing line 816 in /usr/share/perl5/vendor_perl/Zoneminder/Memory.pm from:zoneminder.service - SYSV: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2008
Loaded: loaded (/etc/rc.d/init.d/zoneminder)
Active: failed since Thu, 08 Sep 2011 11:05:03 -0500; 8s ago
Process: 17619 ExecStart=/etc/rc.d/init.d/zoneminder start (code=exited, status=255)
CGroup: name=systemd:/system/zoneminder.service
zoneminder.service - SYSV: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2008
Loaded: loaded (/etc/rc.d/init.d/zoneminder)
Active: failed since Thu, 08 Sep 2011 11:05:03 -0500; 8s ago
Process: 17619 ExecStart=/etc/rc.d/init.d/zoneminder start (code=exited, status=255)
CGroup: name=systemd:/system/zoneminder.service
Bareword "PROT_READ" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm line 91.
Bareword "PROT_WRITE" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm line 91.
Bareword "MAP_SHARED" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm line 91.
Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder/Memory.pm line 120.
Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
Compilation failed in require at /usr/bin/zmpkg.pl line 46.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 46.
ZoneMinder is stopped
toif ( "yes" eq 'yes' ) # 'yes' if memory is mmapped
eliminated the error messages, but did not allow the zoneminder to start. (Can someone explain this?)if ( "no" eq 'yes' ) # 'yes' if memory is mmapped
'service zoneminder start' now produces:
'service zoneminder status':Restarting zoneminder (via systemctl): Job failed. See system logs and 'systemctl status' for details.
[FAILED]
With zoneminder's loglevel set to 4, the /tmp/zmpkg.log file contains:zoneminder.service - SYSV: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2008
Loaded: loaded (/etc/rc.d/init.d/zoneminder)
Active: failed since Thu, 08 Sep 2011 11:14:34 -0500; 31s ago
Process: 18324 ExecStart=/etc/rc.d/init.d/zoneminder start (code=exited, status=255)
CGroup: name=systemd:/system/zoneminder.service
zoneminder.service - SYSV: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2008
Loaded: loaded (/etc/rc.d/init.d/zoneminder)
Active: failed since Thu, 08 Sep 2011 11:14:34 -0500; 31s ago
Process: 18324 ExecStart=/etc/rc.d/init.d/zoneminder start (code=exited, status=255)
CGroup: name=systemd:/system/zoneminder.service
ZoneMinder is stopped
Note SElinux is set to permissive.09/08/2011 11:14:33.770653 zmpkg[18339].INF [Command: start]
09/08/2011 11:14:34.308996 zmpkg[18339].ERR [Unable to run "su apache --shell=/bin/sh --command='/usr/bin/zmfix'", output is ""]
As far as I can tell there are no other relevant error messages, i.e. console, /var/log/messages.
Also there is no video from the camera, although I assume that this is because zoneminder is not starting.
Any ideas on how to proceed to fix this would be appreciated.
thanks in advance,
Fred