Having zoneminder automatically start in running state

Forum for questions and support relating to the 1.24.x releases only.
Locked
GrangerTech
Posts: 14
Joined: Wed Jul 27, 2011 3:32 pm

Having zoneminder automatically start in running state

Post by GrangerTech »

I have a zoneminder set up on ubuntu 10.04. Zoneminder is installed and the process is running at boot however when I open the zm console it says zoneminder is stopped. How do I make it so zoneminder is in the running state automatically at boot?

It needs to be automatically done because this computer isnt constantly checked...its used only for zoneminder.

Thanks
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Having zoneminder automatically start in running state

Post by PacoLM »

Install the package rcconf or chkconfig, then select the zm package to be started at boot.

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Carrier82
Posts: 96
Joined: Sat Jul 28, 2012 8:30 pm

Re: Having zoneminder automatically start in running state

Post by Carrier82 »

At least in ubuntu 12.04 you need to add 'sleep 15' to /etc/init.d/zoneminder before line 'zmfix -a' to make sure mysqld starts before zoneminder. If this isn't done, zoneminder won't start at boot even if it's supposed to.
Locked