Had a system HDD failure so am trying to reinstall ZM on a new HDD with a fresh install of Debian Buster. I followed the Wiki guide (Debian 10 Buster with Zoneminder 1.34.x from the ZM Release-1.34 Repo).
I just cannot get the service to start and don't know why as I don't seem to be getting any error messages that help me. Any tips would be appreciated.
journalctl -xe
Code: Select all
-- A start job for unit session-c1125.scope has finished successfully.
--
-- The job identifier is 106665.
Aug 02 20:30:59 cctv su[10540]: pam_unix(su:session): session closed for user www-data
Aug 02 20:30:59 cctv su[10543]: (to www-data) root on none
Aug 02 20:30:59 cctv su[10543]: pam_unix(su:session): session opened for user www-data by (uid=0)
Aug 02 20:30:59 cctv systemd[1]: Started Session c1126 of user www-data.
-- Subject: A start job for unit session-c1126.scope has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit session-c1126.scope has finished successfully.
--
-- The job identifier is 106729.
Aug 02 20:30:59 cctv systemd[1]: session-c1125.scope: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit session-c1125.scope has successfully entered the 'dead' state.
Aug 02 20:31:00 cctv su[10543]: pam_unix(su:session): session closed for user www-data
Aug 02 20:31:00 cctv systemd[1]: session-c1126.scope: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit session-c1126.scope has successfully entered the 'dead' state.
Aug 02 20:31:00 cctv systemd[1]: zoneminder.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit zoneminder.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Aug 02 20:31:00 cctv systemd[1]: zoneminder.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit zoneminder.service has entered the 'failed' state with result 'exit-code'.
Aug 02 20:31:00 cctv systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
-- Subject: A start job for unit zoneminder.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit zoneminder.service has finished with a failure.
Code: Select all
zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2020-08-02 20:35:20 BST; 1s ago
Process: 10961 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=1/FAILURE)
All I get in syslog is the repeating pattern of it trying to start...
Code: Select all
Aug 2 20:36:22 cctv systemd[1]: Starting ZoneMinder CCTV recording and surveillance system...
Aug 2 20:36:22 cctv zmpkg[11055]: INF [Sanity checking States table...]
Aug 2 20:36:22 cctv zmpkg[11055]: INF [Command: start]
Aug 2 20:36:22 cctv systemd[1]: Started Session c1187 of user www-data.
Aug 2 20:36:22 cctv systemd[1]: Started Session c1188 of user www-data.
Aug 2 20:36:22 cctv systemd[1]: session-c1187.scope: Succeeded.
Aug 2 20:36:22 cctv systemd[1]: session-c1188.scope: Succeeded.
Aug 2 20:36:22 cctv systemd[1]: zoneminder.service: Control process exited, code=exited, status=1/FAILURE
Aug 2 20:36:22 cctv systemd[1]: zoneminder.service: Failed with result 'exit-code'.
Aug 2 20:36:22 cctv systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
Aug 2 20:36:32 cctv systemd[1]: zoneminder.service: Service RestartSec=10s expired, scheduling restart.
Aug 2 20:36:32 cctv systemd[1]: zoneminder.service: Scheduled restart job, restart counter is at 591.
Aug 2 20:36:32 cctv systemd[1]: Stopped ZoneMinder CCTV recording and surveillance system.
Aug 2 20:36:32 cctv systemd[1]: Starting ZoneMinder CCTV recording and surveillance system...
Aug 2 20:36:32 cctv zmpkg[11070]: INF [Sanity checking States table...]
Aug 2 20:36:32 cctv zmpkg[11070]: INF [Command: start]
Aug 2 20:36:32 cctv systemd[1]: Started Session c1189 of user www-data.
Aug 2 20:36:32 cctv systemd[1]: Started Session c1190 of user www-data.
Aug 2 20:36:32 cctv systemd[1]: session-c1189.scope: Succeeded.
Aug 2 20:36:33 cctv systemd[1]: session-c1190.scope: Succeeded.
Aug 2 20:36:33 cctv systemd[1]: zoneminder.service: Control process exited, code=exited, status=1/FAILURE
Aug 2 20:36:33 cctv systemd[1]: zoneminder.service: Failed with result 'exit-code'.
Aug 2 20:36:33 cctv systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
Thanks,
Dave