I first tried it on a virtuall machine running opensuse 13.1 and got zm 1.26.5 to run there.
Then I Installed zm 1.27.0 on my dedicated Zoneminder server and got it running perfectly.
Then I upgraded zm to 1.28.0 and it sort of runs. All cameras captures video, alarm events works as before, filters works, viewing events works, generating videos from events works and even email notifications works.
But the "main" webpage does not recognise that zm is running. Says "Stopped", and I can not select a camera to view live stream on.
I notice that the pid file in/var/run/zm is missing, and the startup of the service fails (even if most or all "components" of zm is running)
Code: Select all
server1:~ # service zoneminder start
Job for zoneminder.service failed. See "systemctl status zoneminder.service" and "journalctl -xn" for details.
server1:~ # systemctl status zoneminder.service
zoneminder.service - Video security and surveillance system
Loaded: loaded (/usr/lib/systemd/system/zoneminder.service; enabled)
Active: failed (Result: exit-code) since Sun 2014-11-16 00:30:03 CET; 12s ago
Process: 8786 ExecStart=/usr/local/bin/zmpkg.pl start (code=exited, status=1/FAILURE)
Nov 16 00:30:03 server1 zmpkg[8786]: INF [Command: start]
Nov 16 00:30:03 server1 sudo[8790]: root : TTY=unknown ; PWD=/srv/www/htdocs/zm ; USER=wwwrun ; COMMAND=/usr/bin/true
Nov 16 00:30:03 server1 sudo[8790]: pam_unix(sudo:session): session opened for user wwwrun by (uid=0)
Nov 16 00:30:03 server1 sudo[8793]: root : TTY=unknown ; PWD=/srv/www/htdocs/zm ; USER=wwwrun ; COMMAND=/usr/local/bin/zmdc.pl check
Nov 16 00:30:03 server1 sudo[8793]: pam_unix(sudo:session): session opened for user wwwrun by (uid=0)
server1:~ # ps -ef | grep zm
root 8746 4378 0 00:29 pts/1 00:00:00 grep --color=auto zm
wwwrun 19303 1 0 Nov15 ? 00:00:02 /usr/bin/perl -wT /usr/local/bin/zmdc.pl startup
wwwrun 19331 19303 0 Nov15 ? 00:00:25 /usr/local/bin/zmc -m 2
wwwrun 19332 19303 0 Nov15 ? 00:00:38 /usr/local/bin/zma -m 2
wwwrun 19340 19303 0 Nov15 ? 00:00:17 /usr/local/bin/zmc -m 3
wwwrun 19341 19303 0 Nov15 ? 00:00:43 /usr/local/bin/zma -m 3
wwwrun 19353 19303 3 Nov15 ? 00:03:01 /usr/local/bin/zmc -m 6
wwwrun 19359 19303 6 Nov15 ? 00:05:28 /usr/local/bin/zma -m 6
wwwrun 19366 19303 2 Nov15 ? 00:01:49 /usr/local/bin/zmc -m 7
wwwrun 19373 19303 6 Nov15 ? 00:05:38 /usr/local/bin/zma -m 7
wwwrun 19380 19303 0 Nov15 ? 00:00:12 /usr/local/bin/zmc -m 8
wwwrun 19381 19303 0 Nov15 ? 00:00:38 /usr/local/bin/zma -m 8
wwwrun 19391 19303 0 Nov15 ? 00:00:00 /usr/bin/perl -wT /usr/local/bin/zmaudit.pl -c
wwwrun 19398 19303 0 Nov15 ? 00:00:01 /usr/bin/perl -wT /usr/local/bin/zmwatch.pl
wwwrun 20995 19303 0 Nov15 ? 00:00:01 /usr/bin/perl -wT /usr/local/bin/zmfilter.pl
The startup service looks like this
Code: Select all
[Unit]
Description=Video security and surveillance system
After=mysqld.service
[Service]
Type=forking
ExecStart=/usr/local/bin/zmpkg.pl start
ExecStop=/usr/local/bin/zmpkg.pl stop
ExecReload=/usr/local/bin/zmpkg.pl reload
PIDFile=/var/run/zm/zm.pid
[Install]
WantedBy=multi-user.target