Page 1 of 1

[Solved] Zoneminder does not start in the running state after reboot

Posted: Sun Apr 11, 2021 12:54 am
by swolsen
I have to manually change state running after I reboot system. I am using Linux mint 20.1 and installed from ubuntu ppa. Yes I tried the sleep 10, in the /etc/init.d/zoneminder.

Re: Zoneminder does not start in the running state after reboot

Posted: Sun Apr 11, 2021 6:31 am
by Magic919
Sounds like it’s not starting the service at boot.

Re: Zoneminder does not start in the running state after reboot

Posted: Sun Apr 11, 2021 11:20 am
by swolsen
I thought that is what /etc/init.d/zoneminder was suppose to do. Not sure why this is not working. I even added the sleep 15 command in there after start()

Looking through the syslog I do not see
Apr 11 07:32:11 railcar44 systemd[1]: Starting ZoneMinder CCTV recording and surveillance system...
until I issue command
sudo /etc/init.d/zoneminder start

Then it changes to the running state.

Re: Zoneminder does not start in the running state after reboot

Posted: Sun Apr 11, 2021 11:59 am
by Magic919
It may run the service, I don’t know your set up. It clearly isn’t starting it at boot, which is what you need to tell it to do.

Re: Zoneminder does not start in the running state after reboot

Posted: Sun Apr 11, 2021 12:24 pm
by Bluemax
/etc/init.d is the old init system. Mint should have systemd nowadays i guess. You either have to create a systemd service starting that script or you install a native zoneminder systemd script. Something like this: https://github.com/ZoneMinder/zoneminde ... er.service

Re: Zoneminder does not start in the running state after reboot

Posted: Sun Apr 11, 2021 12:38 pm
by swolsen
Thanks, I will check that out a little later.

Re: Zoneminder does not start in the running state after reboot

Posted: Sun Apr 11, 2021 5:22 pm
by swolsen
Issued command
sudo systemctl enable zoneminder.service
and that did the trick.
Thank you for pointing me in the right direction Bluemax!