Two tweaks must be applied.
1) (Web interface) Options, paths, and update PATH_ZMS from "/cgi-bin/nph-zms" to "/zoneminder/cgi-bin/nph-zms"
Code: Select all
==> error.log <==
[Tue Feb 09 15:33:23.463262 2016] [cgi:error] [pid 1278] [client 192.168.0.222:62826] script not found or unable to stat: /usr/lib/cgi-bin/nph-zms, referer: http://192.168.0.13/zm/index.php?view=watch&mid=1
Code: Select all
edit /etc/apache2/conf-available/zoneminder.conf
#ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
ScriptAlias /zoneminder/cgi-bin "/usr/lib/zoneminder/cgi-bin"
service apache2 restart
service zoneminder restart
Been ripping my hair out over this. Clean install of Ubuntu 14.04 LTS, OpenSSH is the only packages selected, then follow the install process on the Wiki:
https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
First bug I run into:
Code: Select all
==> error.log <==
[Tue Feb 09 15:33:23.463262 2016] [cgi:error] [pid 1278] [client 192.168.0.222:62826] script not found or unable to stat: /usr/lib/cgi-bin/nph-zms, referer: http://192.168.0.13/zm/index.php?view=watch&mid=1
Next I add a know good camera, HikVision DS-2CD2132-I. Currently working just fine in ZM 1.28.1 (FFMpeg, RTSP). Adds with out a problem and I can capture events. But when I go to stream, I get the following errors:
Code: Select all
Feb 9 15:34:58 zoneminder3 web_php[1363]: ERR [socket_sendto( /var/run/zm/zms-460734s.sock ) failed: No such file or directory]
Feb 9 15:34:58 zoneminder3 web_php[1363]: ERR [getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-460734s.sock ) failed: No such file or directory - checkStreamForErrors()]