I have enabled cgi etc but i cant get the cameras working, i did nothing to the zm install
errors:
Code: Select all
2017-08-10 13:23:37.478673 web_js 2064 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-761998s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2017-08-10 13:23:37.449820 web_php 2064 ERR socket_sendto( /var/run/zm/zms-761998s.sock ) failed: No such file or directory includes/functions.php 2371
2017-08-10 13:23:49.487037 web_php 1695 ERR socket_sendto( /var/run/zm/zms-761998s.sock ) failed: No such file or directory includes/functions.php 2371
Code: Select all
<VirtualHost *:80>
ServerName ****************
ErrorLog ${APACHE_LOG_DIR}/-error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Location />
Redirect permanent / https://*****************
</Location>
RewriteEngine on
RewriteCond %{SERVER_NAME} =************************
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
DocumentRoot /usr/share/zoneminder/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
ServerName ************
ServerAlias *******************
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
SSLCertificateFile /etc/letsencrypt/live/***************/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/*******************/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
the only files that exsist in /var/run/zm is zmdc.sock and zm.pid
Also i cant login with the ios app, says that credentials are wrong strange enough
any ideas?