ZM @ RPi 2 doesn't work
Posted: Thu Jul 09, 2015 8:03 pm
I can't get 1.25 from the raspbian repo to work It doesn't show any image. I get some errors. Can anyone help me?
Apache2 error.log:
Access logs has several of these entries:
Zoneminder log is full of:
Also has a few other errors but the above fills 80% of the error log entries.
I have searched for quite some time and could only find that I might need to add cgi-bin variables to Apache2. So I created zoneminder.conf in conf.d with contents:
/usr/lib/cgi-bin/ contains:
nph-zms zms
apache2.conf contains nothing with the string "zms" or "cgi".
Apache2 error.log:
Code: Select all
[Wed Jul 08 19:11:11 2015] [error] [client 192.168.0.23] ERR [socket_sendto( /tmp/zm/zms-966606s.sock ) failed: No such file or directory], referer: http://192.168.0.215/zoneminder/index.php?view=watch&mid=1
Code: Select all
192.168.0.23 - - [08/Jul/2015:19:59:28 +0200] "GET /zoneminder/index.php HTTP/1.1" 200 2393 "http://192.168.0.215/zoneminder/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0"
192.168.0.23 - - [08/Jul/2015:20:01:50 +0200] "POST /zoneminder/index.php HTTP/1.1" 200 530 "http://192.168.0.215/zoneminder/index.php?view=watch&mid=1" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0"
Code: Select all
2015-07-08 20:08:52.413720 web_php 3196 ERR socket_sendto( /tmp/zm/zms-966606s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php
I have searched for quite some time and could only find that I might need to add cgi-bin variables to Apache2. So I created zoneminder.conf in conf.d with contents:
Code: Select all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory>
AllowOverride None
Options +ExecCGI +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
nph-zms zms
apache2.conf contains nothing with the string "zms" or "cgi".