I've searched a fair amount and found lots of information on it - mainly Ubuntu and attempted to interrupted them towards my install, unfortunately i’m struggling to get ZoneMinder full working, i’ve run into the problem of not seeing steamed images.
My platfrom is: CentOS Linux release 7.4.1708 (Core), ZoneMinder, v1.30.4.
I 've read the Readme & What’s new and attempted to carry our point 1:
What's New
==========
1. The Apache ScriptAlias has been changed from "/cgi-bin/zm/zms" to
"/cgi-bin-zm/zms". This has been to done to avoid this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=973067
IMPORTANT: You must manually verify the value of PATH_ZMS under Options.
Make sure it is set to "/cgi-bin-zm/nph-zms". Failure to do so will result
in a broken system. You have been warned.
I’ve assumed that the cgi-bin path is relating to httpd.conf located: etc/httpd/conf/httpd.conf
The original locations were:
Code: Select all
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client. The same rules about trailing "/" apply to ScriptAlias
# directives as to Alias.
#
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
</IfModule>
Code: Select all
<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>
Have i interrupted the instructions correctly and updated them to:
Code: Select all
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client. The same rules about trailing "/" apply to ScriptAlias
# directives as to Alias.
#
ScriptAlias /cgi-bin/ "/usr/libexec/zoneminder/cgi-bin/zms/"
</IfModule>
Code: Select all
<Directory "/usr/libexec/zoneminder/cgi-bin/zms">
AllowOverride None
Options None
Require all granted
</Directory>
The full error I’m seeing after restarts ( apachectl restart , systemctl restart zoneminder)
Socket /var/lib/zoneminder/sock/zms-628133s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit.
Within in the web interface and options, paths, PATH_ZMS i have: /cgi-bin/nph-zms
I’ve followed the advice on changing the PATH_ZMS to: /cgi-bin/zms from the link below as well.
http://zoneminder.readthedocs.io/en/lat ... window-etc
Any help is much appreciated as i’ve been going around and around trying to get it working.
Thanks