I'm trying to get a trendnet TVIP572PI to work with RTSP as per the directions from the wiki. I can access the stream from the camera in gnome video player at rtsp play1.sdp URL from my desktop, so I know the camera's working.
I've followed the zone minder ubuntu 14.04 the easy way directions to the letter
I've also tried everything listed in a launchpad bug report that, the forums are won't let me post a link for, since I'm new.
Adding "ScriptAlias /cgi-bin /usr/share/zoneminder/cgi-bin" to the /etc/zm/apache.conf file
and the following
But am still seeing this in the apache logs1) Keep the default zone apache.conf without the ScriptAlias.
2) Stop both zoneminder and apache2
sudo service apache2 stop
sudo service zoneminder stop
2) Remove any stale sockets from /tmp/zm (default location):
sudo rm -vf /tmp/zm/*.*
3) sudo a2enmod cgi
4) Start zoneminder
sudo service zoneminder start
5) Start apache2
sudo service apache2 start
Code: Select all
ERR [socket_sendto( /var/run/zm/zms-618754s.sock ) failed: No such file or directory],
here's the /etc/zm/apache.conf, I've tried it with and without the ScriptAlias line.
Code: Select all
Alias /zm /usr/share/zoneminder
ScriptAlias /cgi-bin /usr/share/zoneminder/cgi-bin
<Directory /usr/share/zoneminder>
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
Code: Select all
[Thu Feb 19 21:30:02.004857 2015] [mpm_prefork:notice] [pid 4798] AH00163: Apache/2.4.7 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/5.5.9-1ubuntu4.6 configured -- resuming normal operations
Code: Select all
drwxr-xr-x 3 www-data www-data 4096 Feb 19 19:53 /tmp/zm
drwxr-xr-x 2 www-data www-data 80 Feb 19 22:05 /var/run/zm
Doh. I had the wrong source type for the camera. Works fine now.