So either the docs have improved a lot or I was very lucky
In my situation, I installed zoneminder om my brand new raspberry pi (osmc distro), I only found 1 missing step in the docs. When I had to start zoneminder for the first time, it failed with the message:
Code: Select all
root@XXXXX:~# systemctl start zoneminder.service
Job for zoneminder.service failed. See 'systemctl status zoneminder.service' and 'journalctl -xn' for details.
root@XXXXX:~# systemctl status zoneminder.service
* zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled)
Active: failed (Result: exit-code) since Sat 2016-10-22 10:25:56 CEST; 5s ago
Process: 13117 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)
Oct 22 10:25:56 XXXXX zmpkg.pl[13117]: Can't open config file '/etc/zm/zm.conf': Permission denied at /usr/share/perl5/ZoneMinder/Config.pm line 119.
All I had to do was:
Code: Select all
root@XXXXX:~# ls -als /etc/zm/zm.conf ## ---> I checked the current permissions
4 -rwxr----- 1 root root 1316 Feb 21 2016 /etc/zm/zm.conf
root@XXXXX:~# chmod +r /etc/zm/zm.conf ## ---> make the cfg world readable
root@XXXXX:~# systemctl start zoneminder.service
root@XXXXX:~# systemctl status zoneminder.service
* zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled)
Active: active (running) since Sat 2016-10-22 10:27:57 CEST; 2s ago ## ---> zone minder up and running
Keep up the good work!
Krdoor