Fresh install from wiki doesn't start

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
xerox
Posts: 2
Joined: Thu Apr 02, 2020 9:34 am

Fresh install from wiki doesn't start

Post by xerox »

After fresh install of Debian10.3 , following step by step:
https://wiki.zoneminder.com/Debian_10_B ... -1.34_Repo

including https://www.digitalocean.com/community/ ... -debian-10

All installed by root and NOT by user with sudo

once "systemctl start zoneminder"

Job for zoneminder.service failed because the control process exited with error code.
See "systemctl status zoneminder.service" and "journalctl -xe" for details.


systemctl status zoneminder.service :

● 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 Thu 2020-04-02 11:42:43 CEST; 8s ago
Process: 3198 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=1/FAILURE)


journalctl -xe :

--
-- L'unità zoneminder.service ha iniziato la fase di avvio.
apr 02 11:49:43 zoneminder zmpkg[925]: INF [Sanity checking States table...]
apr 02 11:49:43 zoneminder zmpkg[925]: INF [Command: start]
apr 02 11:49:43 zoneminder su[933]: (to www-data) root on none
apr 02 11:49:43 zoneminder su[933]: pam_unix(su:session): session opened for user www-data by (uid=0)
apr 02 11:49:43 zoneminder systemd[1]: Started Session c31 of user www-data.
-- Subject: L'unità session-c31.scope termina la fase di avvio
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- L'unità session-c31.scope ha terminato la fase di avvio.
--
-- La fase di avvio è done.
apr 02 11:49:43 zoneminder su[933]: pam_unix(su:session): session closed for user www-data
apr 02 11:49:43 zoneminder systemd[1]: session-c31.scope: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit session-c31.scope has successfully entered the 'dead' state.
apr 02 11:49:43 zoneminder su[936]: (to www-data) root on none
apr 02 11:49:43 zoneminder su[936]: pam_unix(su:session): session opened for user www-data by (uid=0)
apr 02 11:49:43 zoneminder systemd[1]: Started Session c32 of user www-data.
-- Subject: L'unità session-c32.scope termina la fase di avvio
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- L'unità session-c32.scope ha terminato la fase di avvio.
--
-- La fase di avvio è done.
apr 02 11:49:43 zoneminder su[936]: pam_unix(su:session): session closed for user www-data
apr 02 11:49:43 zoneminder systemd[1]: session-c32.scope: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit session-c32.scope has successfully entered the 'dead' state.
apr 02 11:49:43 zoneminder 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.
apr 02 11:49:43 zoneminder 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'.
apr 02 11:49:43 zoneminder systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
-- Subject: L'unità zoneminder.service è fallita
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- L'unità zoneminder.service è fallita.
--
-- Il risultato è failed.


What to check ??
xerox
Posts: 2
Joined: Thu Apr 02, 2020 9:34 am

Re: Fresh install from wiki doesn't start

Post by xerox »

I realized the whole system is already running fine, probably the apt install starts zoneminder at the end, and , following wiki, I was trying to manually start an already started session....

Sorry for wasting time... :?
Post Reply