I am using these https://wiki.zoneminder.com/Debian_11_B ... der_1.36.x as this was more up to date. It was missing
Code: Select all
chgrp -c www-data /etc/zm/zm.conf
First, have Nesting enabled.
Next, MariaDB was having issues starting, so I found this: https://stackoverflow.com/questions/599 ... ied-failed and it solved the issue.
Because it is a new install, root paths needed to be setup (I forget about this sometimes...)
Code: Select all
export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin
From here it doesn't seem like daemon-reload worked as I was still getting the same error, so I rebooted. (If someone has a better option, I'm all ears...)
Doing these steps:
sudo a2enconf zoneminder
sudo a2enmod rewrite headers expires
sudo service apache2 reload
before starting Zoneminder service will help reduce the errors as well.
I wasted a few hours figuring this all out this past week. Hopefully this will help someone.