Hello,
I did use this guide:
https://wiki.zoneminder.com/Debian_10_B ... pro_Master
I installed Debian 10 and Apache, MySQL and PHP. Then I did run the steps in the tutorial above.
When I am going to start zoneminder, I get:
~# systemctl start zoneminder
Job for zoneminder.service failed because the service did not take the steps required by its unit configuration.
See "systemctl status zoneminder.service" and "journalctl -xe" for details.
systemctl status zoneminder.service gives me the output:
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sat 2019-10-19 15:57:36 CEST; 2s ago
Process: 31121 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=1/FAILURE)
In my /var/log/syslog there is:
Oct 19 15:59:23 cam systemd[1]: zoneminder.service: Service RestartSec=10s expired, scheduling restart.
Oct 19 15:59:23 cam systemd[1]: zoneminder.service: Scheduled restart job, restart counter is at 54.
Oct 19 15:59:23 cam systemd[1]: Stopped ZoneMinder CCTV recording and surveillance system.
Oct 19 15:59:23 cam systemd[1]: Starting ZoneMinder CCTV recording and surveillance system...
Oct 19 15:59:23 cam zmpkg[31284]: INF [Sanity checking States table...]
Oct 19 15:59:23 cam zmpkg[31284]: INF [Command: start]
Oct 19 15:59:24 cam systemd[1]: Started Session c115 of user www-data.
Oct 19 15:59:24 cam systemd[1]: Started Session c116 of user www-data.
Oct 19 15:59:24 cam systemd[1]: session-c115.scope: Succeeded.
Oct 19 15:59:24 cam systemd[1]: session-c116.scope: Succeeded.
Oct 19 15:59:24 cam systemd[1]: zoneminder.service: Control process exited, code=exited, status=1/FAILURE
Oct 19 15:59:24 cam systemd[1]: zoneminder.service: Failed with result 'exit-code'.
Oct 19 15:59:24 cam systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
Would be nice if you can help me.
fresh install on Debian Buster
Re: fresh install on Debian Buster
run
sudo dpkg-reconfigure zoneminder
or
cat /usr/share/zoneminder/db/zm_create.sql | sudo mysql --defaults-file=/etc/mysql/debian.cnf
echo 'grant lock tables,alter,create,select,insert,update,delete,index on zm.* to 'zmuser'@localhost identified by "zmpass";' | sudo mysql --defaults-file=/etc/mysql/debian.cnf mysql
sudo dpkg-reconfigure zoneminder
or
cat /usr/share/zoneminder/db/zm_create.sql | sudo mysql --defaults-file=/etc/mysql/debian.cnf
echo 'grant lock tables,alter,create,select,insert,update,delete,index on zm.* to 'zmuser'@localhost identified by "zmpass";' | sudo mysql --defaults-file=/etc/mysql/debian.cnf mysql
Re: fresh install on Debian Buster
Are you trying to install zm on a Raspberry Pi?
-
- Posts: 2
- Joined: Sat Oct 19, 2019 1:55 pm
Re: fresh install on Debian Buster
I am running a KVM-VM with Proxmox.
Even zoneminder exits with an error, all seems to run fine.
I added 10 cams and installed the Event Server and I just get alarm if a person is on the camera detected.
It seems after start of zoneminder.service he is doing everything what to do, but after it exists until it get restart automatically again.
Even zoneminder exits with an error, all seems to run fine.
I added 10 cams and installed the Event Server and I just get alarm if a person is on the camera detected.
It seems after start of zoneminder.service he is doing everything what to do, but after it exists until it get restart automatically again.