Dear Maintainer,
zoneminder does not start on my system (it worked some time back, but then stopped working).
root@home:~# systemctl status zoneminder.service
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2018-02-18 15:35:10 CET; 4min 3s ago
Docs: http://zoneminder.readthedocs.org/en/latest/
Process: 8761 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=95)
Feb 18 15:35:08 home systemd[1]: Starting ZoneMinder CCTV recording and surveillance system...
Feb 18 15:35:09 home zmpkg[8761]: INF [Sanity checking States table...]
Feb 18 15:35:10 home zmpkg[8761]: INF [Command: start]
Feb 18 15:35:10 home zmpkg.pl[8761]: Insecure directory in $ENV{PATH} while running with -T switch at /usr/bin/zmpkg.pl line 386.
Feb 18 15:35:10 home systemd[1]: zoneminder.service: Control process exited, code=exited status=95
Feb 18 15:35:10 home systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
Feb 18 15:35:10 home systemd[1]: zoneminder.service: Unit entered failed state.
Feb 18 15:35:10 home systemd[1]: zoneminder.service: Failed with result 'exit-code'.
root@home:~#
# journalctl -xe
produces similar output:
-- Subject: Unit zoneminder.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit zoneminder.service has begun starting up.
Feb 18 15:35:08 home dhclient[675]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
Feb 18 15:35:09 home zmpkg[8761]: INF [Sanity checking States table...]
Feb 18 15:35:10 home zmpkg[8761]: INF [Command: start]
Feb 18 15:35:10 home zmpkg.pl[8761]: Insecure directory in $ENV{PATH} while running with -T switch at /usr/bin/zmpkg.pl line 386.
Feb 18 15:35:10 home systemd[1]: zoneminder.service: Control process exited, code=exited status=95
Feb 18 15:35:10 home systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
-- Subject: Unit zoneminder.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit zoneminder.service has failed.
--
-- The result is failed.
Feb 18 15:35:10 home systemd[1]: zoneminder.service: Unit entered failed state.
Feb 18 15:35:10 home systemd[1]: zoneminder.service: Failed with result 'exit-code'.
If there is anything more I can provide, please let me know.
Thanks
Rainer
-- System Information:
Debian Release: 9.3
APT prefers stable
APT policy: (500, 'stable'), (80, 'unstable'), (1, 'experimental')
Architecture: armhf (armv7l)
Foreign Architectures: amd64
Kernel: Linux 4.14.0-0.bpo.3-armmp (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages zoneminder depends on:
ii cakephp 2.8.5-1
ii init-system-helpers 1.48
ii javascript-common 11
ii libarchive-zip-perl 1.59-1
ii libavcodec57 7:3.2.10-1~deb9u1
ii libavformat57 7:3.2.10-1~deb9u1
ii libavutil55 7:3.2.10-1~deb9u1
ii libc6 2.24-11+deb9u1
ii libclass-std-fast-perl 0.0.8-2
ii libcurl3-gnutls 7.52.1-5+deb9u4
ii libdata-dump-perl 1.23-1
ii libdate-manip-perl 6.57-1
ii libdbd-mysql-perl 4.041-2
ii libdevice-serialport-perl 1.04-3+b3
ii libgcc1 1:6.3.0-18
ii libgcrypt20 1.7.6-2+deb9u2
ii libgnutls-openssl27 3.5.8-5+deb9u3
ii libimage-info-perl 1.39-1
ii libio-socket-multicast-perl 1.12-2+b3
ii libjpeg62-turbo 1:1.5.1-2
ii libjs-mootools 1.4.5~debian1-2.1
ii libjson-any-perl 1.39-1
ii libmariadbclient18 10.1.26-0+deb9u1
ii libmime-lite-perl 3.030-2
ii libmime-tools-perl 5.508-1
ii libnet-sftp-foreign-perl 1.86+dfsg-1
ii libossp-uuid-perl [libdata-uuid-perl] 1.6.2-1.5+b4
ii libpcre3 2:8.39-3
ii libperl5.24 [libdigest-sha-perl] 5.24.1-3+deb9u2
ii libphp-serialization-perl 0.34-1
ii libsoap-wsdl-perl 3.003-2
ii libstdc++6 6.3.0-18
ii libswscale4 7:3.2.10-1~deb9u1
ii libsys-cpu-perl 0.61-2+b1
ii libsys-meminfo-perl 0.99-1
ii libsys-mmap-perl 0.17-1+b2
ii liburi-encode-perl 1.1.1-1
ii libvlc5 2.2.7-1~deb9u1
ii libwww-perl 6.15-1
ii lsb-base 9.20161125
ii mariadb-client-10.1 [virtual-mysql-client] 10.1.26-0+deb9u1
ii perl 5.24.1-3+deb9u2
ii perl-modules-5.24 [libmodule-load-conditional-perl] 5.24.1-3+deb9u2
ii php-gd 1:7.0+49
ii php-mysql 1:7.0+49
ii php7.0-gd [php-gd] 7.0.27-0+deb9u1
ii policykit-1 0.105-18
ii rsyslog [system-log-daemon] 8.24.0-1
ii zip 3.0-11+b1
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages zoneminder recommends:
ii apache2 [httpd] 2.4.25-3+deb9u3
ii default-mysql-server 1.0.2
ii ffmpeg 7:3.2.10-1~deb9u1
ii libapache2-mod-php 1:7.0+49
ii libapache2-mod-php7.0 [libapache2-mod-php] 7.0.27-0+deb9u1
ii libapache2-mod-php7.1 [libapache2-mod-php] 7.1.8-1
ii mariadb-server-10.1 [virtual-mysql-server] 10.1.26-0+deb9u1
ii zoneminder-doc 1.30.4+dfsg-2
Versions of packages zoneminder suggests:
ii fcgiwrap 1.1.0-9
ii logrotate 3.11.0-0.1
-- Configuration Files:
/etc/zm/zm.conf [Errno 13] Permission denied: '/etc/zm/zm.conf'
-- no debconf information