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

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
User avatar
swolsen
Posts: 31
Joined: Sat Mar 20, 2021 9:39 pm
Location: Schenectady, NY, USA

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

Post 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.
Last edited by swolsen on Sun Apr 11, 2021 5:34 pm, edited 1 time in total.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

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

Post by Magic919 »

Sounds like it’s not starting the service at boot.
-
User avatar
swolsen
Posts: 31
Joined: Sat Mar 20, 2021 9:39 pm
Location: Schenectady, NY, USA

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

Post 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.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

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

Post 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.
-
User avatar
Bluemax
Posts: 121
Joined: Wed Jun 12, 2019 5:15 pm

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

Post 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
User avatar
swolsen
Posts: 31
Joined: Sat Mar 20, 2021 9:39 pm
Location: Schenectady, NY, USA

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

Post by swolsen »

Thanks, I will check that out a little later.
User avatar
swolsen
Posts: 31
Joined: Sat Mar 20, 2021 9:39 pm
Location: Schenectady, NY, USA

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

Post by swolsen »

Issued command
sudo systemctl enable zoneminder.service
and that did the trick.
Thank you for pointing me in the right direction Bluemax!
Post Reply