I kept noticing a bunch of pesky errors in the log about not being able to stat /tmp/zm, socket errors, etc.
But once in a great while the logs would stay clean for days after a reboot. Seemed to come and go at random.
Eventually I hit on the idea of issuing "service zoneminder stop" before rebooting and that seemed to put a stop to all the errors.
What's the best way to reboot and power off a zoneminder server, respectively, with single commands? Gracefully, but without unneeded delay.
Probably in the docs somewhere, I really should read them cover to cover sometime.
TIA!
How best to reboot or power off Zoneminder servers quickly and gracefully?
-
- Posts: 21
- Joined: Sat Jan 07, 2017 2:09 am
Re: How best to reboot or power off Zoneminder servers quickly and gracefully?
sudo reboot
About as simple as it gets. Systemd will shut Zoneminder down before rebooting
About as simple as it gets. Systemd will shut Zoneminder down before rebooting
-
- Posts: 21
- Joined: Sat Jan 07, 2017 2:09 am
Re: How best to reboot or power off Zoneminder servers quickly and gracefully?
Thanks bbunge, yeah I more or less figured that out a day or two after posting. What had me fooled was that merely shutting down ZM via "service" seemed to take longer than a "reboot", so I assumed reboot was shutting down ungracefully. I think more the truth is that shuttinng down ZM via service took longer than _expected_, and reboot was faster than expected, so I subconciusly ignore thgat facts in the face of my expectations.
And the errors still come and go regardless so that was a a false lead, too.
And the errors still come and go regardless so that was a a false lead, too.
Re: How best to reboot or power off Zoneminder servers quickly and gracefully?
those errors come and go on all my systems and I still have not tracked down why and when....but everything on those ZM installs work well regardless of those errors...or so it seems.