zoneminder.service KO within raspbian installation

Forum for questions and support relating to the 1.28.x releases only.
Locked
jotheoch
Posts: 1
Joined: Wed Jul 05, 2017 12:29 pm

zoneminder.service KO within raspbian installation

Post by jotheoch »

Hello,

Here are the logs after trying to launch zoneminder.service (I foolowed the easy to way documentation

https://wiki.zoneminder.com/Raspbian

Thank you for support.


root@raspberrypi:/usr/src# systemctl status zoneminder.service -l
● zoneminder.service - LSB: Control ZoneMinder as a Service
Loaded: loaded (/etc/init.d/zoneminder)
Active: failed (Result: exit-code) since Wed 2017-07-05 16:24:26 CEST; 21s ago
Process: 28247 ExecStart=/etc/init.d/zoneminder start (code=exited, status=255)

Jul 05 16:24:16 raspberrypi sudo[28288]: pam_unix(sudo:session): session opened for user www-data by (uid=0)
Jul 05 16:24:16 raspberrypi zmdc[28295]: INF [Server starting at 17/07/05 16:24:16]
Jul 05 16:24:19 raspberrypi zmdc[28295]: FAT [Can't bind: Permission denied]
Jul 05 16:24:26 raspberrypi zmdc[28292]: FAT [Can't connect: No such file or directory]
Jul 05 16:24:26 raspberrypi sudo[28288]: pam_unix(sudo:session): session closed for user www-data
Jul 05 16:24:26 raspberrypi zmpkg[28253]: ERR [Unable to run "sudo -u www-data /usr/bin/zmdc.pl startup", output is "Starting server"]
Jul 05 16:24:26 raspberrypi zoneminder[28247]: Starting ZoneMinder: failure
Jul 05 16:24:26 raspberrypi systemd[1]: zoneminder.service: control process exited, code=exited status=255
Jul 05 16:24:26 raspberrypi systemd[1]: Failed to start LSB: Control ZoneMinder as a Service.
Jul 05 16:24:26 raspberrypi systemd[1]: Unit zoneminder.service entered failed state.
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: zoneminder.service KO within raspbian installation

Post by bbunge »

While I do not have experience with a Pi I would recommend you look over the install for Debian 8: https://wiki.zoneminder.com/Debian_8_64 ... e_Easy_Way

The create database is a bit different but should work for you and the other permission changes may help.

bb
Locked