RESOLVED! Clean install of Ubuntu 14.04 LTS + ZM 1.29, cant get it to work?!
Posted: Tue Feb 09, 2016 11:52 pm
Updated for those who follow. Here is the fix:
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"
2) Must fix the pathing in apache to match the above configuration
My original first post below.
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:
Through the web interface I hit options, paths, and update PATH_ZMS from /cgi-bin/nph-zms to /zoneminder/cgi-bin/nph-zms, issue fixed.
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:
All that shows up on the screen is a box of the correct resolution with a broken icon. I have spent most of the day trying to resolve/google this issue... Any ideas?
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()]