Page 1 of 1
New install on Debian Buster
Posted: Thu Sep 12, 2019 9:39 pm
by Dayve
I have followed this guide and get to the end to start zoneminder. It will not start and this is the errors.
https://wiki.zoneminder.com/Debian_10_B ... pro_Master
root@Zoneminder:~# systemctl start zoneminder
Job for zoneminder.service failed because the control process exited with error code.
See "systemctl status zoneminder.service" and "journalctl -xe" for details.
root@Zoneminder:~# systemctl status zoneminder.service
* 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 Thu 2019-09-12 17:44:48 EDT; 1s ago
Process: 31025 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=1/FAILURE)
Anyone know what I could be missing?
Re: New install on Debian Buster
Posted: Fri Sep 13, 2019 3:56 pm
by Rajstopy
Hi,
I did follow exactly the same procedure as you did, resulting to the same error at service startup. I installed it on Debian 10 as well.
However, the web server part seems to work well.
Any insight would be very helpful.
Cheers,
Raj
Re: New install on Debian Buster
Posted: Fri Sep 13, 2019 7:24 pm
by bbunge
The only issue I had writing that procedure was with Apache. I believe Apache had not started after I installed it and I had to manually do a start not a restart. There was an issue deleting events from the gui which was supposed to be fixed. On a reboot Apache and Zoneminder started and ran well.
Re: New install on Debian Buster
Posted: Sat Sep 14, 2019 8:19 am
by Rajstopy
Really strange indeed.
Apache runs well since I’m able to use the GUI and navigate.
Cheers
Raj
Re: New install on Debian Buster
Posted: Sat Sep 14, 2019 12:14 pm
by bbunge
Did my initial test on an amd64 system. Tried Pi 3B+ with Buster and failed. Will look into it next week.
Re: New install on Debian Buster
Posted: Sat Sep 14, 2019 7:36 pm
by clipo
Just done a fresh install with the same errors.
I've rebooted the system but the same error happens.
I have now run the Mysql database update procedure as detailed in the Jessie install and Zoneminder has started OK.
Re: New install on Debian Buster
Posted: Sun Sep 15, 2019 2:00 pm
by Rajstopy
Mmmm, still unable to get it started.
Here is the log I get, don't know if it helps :
Sep 15 15:55:56 lynx zmpkg[2244]: INF [Command: start]
Sep 15 15:56:05 lynx zmfilter_2[1158]: WAR [No query in Filter!]
Sep 15 15:56:05 lynx zmfilter_1[1150]: WAR [No query in Filter!]
Sep 15 15:56:05 lynx zmfilter_2[1158]: WAR [No filter found for SELECT * FROM `Filters` WHERE `Id` = ? AND( `AutoArchive` = 1#012 or `AutoVideo` = 1#012 or `AutoUpload` = 1#012 or `AutoEmail` = 1#012 or `AutoMessage` = 1#012 or `AutoExecute` = 1#012 or `AutoDelete` = 1#012 or `UpdateDiskSpace` = 1#012 or `AutoMove` = 1#012 or `AutoCopy` = 1#012 ) ORDER BY `Name` with values(2)]
Sep 15 15:56:05 lynx zmfilter_1[1150]: WAR [No filter found for SELECT * FROM `Filters` WHERE `Id` = ? AND( `AutoArchive` = 1#012 or `AutoVideo` = 1#012 or `AutoUpload` = 1#012 or `AutoEmail` = 1#012 or `AutoMessage` = 1#012 or `AutoExecute` = 1#012 or `AutoDelete` = 1#012 or `UpdateDiskSpace` = 1#012 or `AutoMove` = 1#012 or `AutoCopy` = 1#012 ) ORDER BY `Name` with values(1)]
Sep 15 15:56:06 lynx zmpkg[2259]: INF [Sanity checking States table...]
Also wondering why I don't have any zmuser in my database... (only admin).
Has actually anyone succeeded with installing ZM on Debian 10, amd64 arch ?
Raj.
Re: New install on Debian Buster
Posted: Sun Sep 15, 2019 3:46 pm
by clipo
Rajstopy wrote: ↑Sun Sep 15, 2019 2:00 pm
Has actually anyone succeeded with installing ZM on Debian 10, amd64 arch ?
Raj.
Raj,
I have a fully working system using amd64 arch.
Run the two command as listed in my post above and I've also had to run a command to rebuild the database as detailed in a post by iconnor
Re: New install on Debian Buster
Posted: Tue Sep 17, 2019 4:24 pm
by Rajstopy
Hi there,
I still have this strange error in /var/log/message, and still unable to start the service :
-- The unit zoneminder.service has entered the 'failed' state with result 'exit-code'.
sept. 17 13:08:28 lynx systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
-- Subject: L'unité (unit) zoneminder.service a échoué
-- Defined-By: systemd
-- Support:
https://www.debian.org/support
--
Sep 17 12:59:56 lynx zmfilter_2[1158]: WAR [No query in Filter!]
Sep 17 12:59:56 lynx zmfilter_2[1158]: WAR [No filter found for SELECT * FROM `Filters` WHERE `Id` = ? AND( `AutoArchive` = 1#012 or `AutoVideo` = 1#012 or `AutoUpload` = 1#012 or `AutoEmail` = 1#012 or `AutoMessage` = 1#012 or `AutoExecute` = 1#012 or `AutoDelete` = 1#012 or `UpdateDiskSpace` = 1#012 or `AutoMove` = 1#012 or `AutoCopy` = 1#012 ) ORDER BY `Name` with values(2)]
Sep 17 12:59:56 lynx zmfilter_1[1150]: WAR [No query in Filter!]
Sep 17 12:59:56 lynx zmfilter_1[1150]: WAR [No filter found for SELECT * FROM `Filters` WHERE `Id` = ? AND( `AutoArchive` = 1#012 or `AutoVideo` = 1#012 or `AutoUpload` = 1#012 or `AutoEmail` = 1#012 or `AutoMessage` = 1#012 or `AutoExecute` = 1#012 or `AutoDelete` = 1#012 or `UpdateDiskSpace` = 1#012 or `AutoMove` = 1#012 or `AutoCopy` = 1#012 ) ORDER BY `Name` with values(1)]
Raj
Re: New install on Debian Buster
Posted: Fri Aug 14, 2020 5:56 pm
by glorang
For anyone still bumping into this, you need to specify User=www-data in the systemd unit file (or whatever ZM_WEB_USER is in /etc/zm/zm.conf)
It looks like it is commented out by default. Following should do:
Code: Select all
# systemctl edit zoneminder
[Service]
User=www-data
# systemctl daemon-reload
# systemctl start zoneminder