I upgraded ZM to v1.34.12 yesterday and it's refused to start since then. Running jounalctl -xe after a failed start tells me the following:
Code: Select all
May 11 15:21:09 megaserver systemd[1]: Starting ZoneMinder Video Surveillance System...
-- Subject: A start job for unit zm.service has begun execution
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit zm.service has begun execution.
--
-- The job identifier is 15008.
May 11 15:21:09 megaserver zm_database_init[3862]: INFO: when db is correctly installed and you just reinstalled rpm, then answer all questions with 'n'
May 11 15:21:09 megaserver zm_database_init[3862]: Error: User root needed to execute database init
May 11 15:21:09 megaserver systemd[1]: zm.service: Control process exited, code=exited, status=3/NOTIMPLEMENTED
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- An ExecStartPre= process belonging to unit zm.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 3.
May 11 15:21:09 megaserver systemd[1]: zm.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit zm.service has entered the 'failed' state with result 'exit-code'.
May 11 15:21:09 megaserver systemd[1]: Failed to start ZoneMinder Video Surveillance System.
-- Subject: A start job for unit zm.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit zm.service has finished with a failure.
--
-- The job identifier is 15008 and the job result is failed.
Code: Select all
# ZoneMinder database name
ZM_DB_NAME=zm
# ZoneMinder database user
ZM_DB_USER=zm_admin
# ZoneMinder database password
ZM_DB_PASS=<My super secret database password!>
Code: Select all
megaserver:/etc # zmupdate.pl
Database already at version 1.34.12, update skipped.
Code: Select all
megaserver:/etc # zm_database_init
INFO: when db is correctly installed and you just reinstalled rpm, then answer all questions with 'n'
database is already installed. if you want to recreate the database drop it manually!!
Too few arguments.
Error: Command 'systemctl restart ' returned non-zero exit status 1.
- /root/.my.cnf contains the root user's valid password.
- zm_admin user has been granted all necessary rights to the zm database.
- I've been unable to find any additional info in the logs.
Oh, and since it's my very first post - thank you very much to all who contribute to Zoneminder and this forum!

Regards,
Christo (the snake man)