Can't view live feed with IP camera
Posted: Thu Aug 04, 2016 3:05 pm
Hi,
I am trying to setup a new zoneminder 1.30.0 system.
I am using ubuntu server 16.04.1 fresh install with lamp
I followed the easy setup guide at:
http://zoneminder.readthedocs.io/en/lat ... untu-16-04
I am trying to add an IP camera:
AXIS 221 Day and Night Network Camera (p/n 0221-001-01)
IP set to DHCP (it grabbed 192.168.1.113)
This works in a browser:
192.168.1.113/axis-cgi/mjpg/video.cgi?camera=&resolution=320×240
I added a new monitor:
Name:axis
Source Type: Remote
Function: Monitor
Remote Protocol: HTTP
Remote Method: Simple
Remote Host Name: 192.168.1.113
Remote Host Port: 80
Remote Host Path: /axis-cgi/mjpg/video.cgi?camera=&resolution=320×240
Target colorspace: 24 bit color
Capture Width: 320
Capture Height: 240
I am getting log messages:
axis: 1000 Capturing at 30 fps
but I still can't see it in the feed, i get log errors:
socket_sendto( /var/run/zm/zms-591196s.sock) failed: No such file or directory
I followed the advice in another post:
---------------------------------------------------------------------------------------
check if you have a double configured scriptalias. there is a standard one configure in the apache2 and
overlaps with the zoneminder config.
socket_sendto( /var/run/zm/zms-152934s.sock ) failed: No such file or directory
That happens when your Apache ScriptAlias directive is configured incorrectly or overlaps with another
ScriptAlias
-------------------------------------------------------------------------------------------
I commented out these lines in
/etc/apache2/conf-enabled/serve-cgi-bin.conf
# <IfDefine ENABLE_USR_LIB_CGI_BIN>
# ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
# <Directory “/usr/lib/cgi-bin”>
# AllowOverride None
# Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
# Require all granted
# </Directory>
# </IfDefine>
It made no difference
I tried switching to chrome from firefox and got the same result.
Can anyone help, or point me in the right direction?
I am trying to setup a new zoneminder 1.30.0 system.
I am using ubuntu server 16.04.1 fresh install with lamp
I followed the easy setup guide at:
http://zoneminder.readthedocs.io/en/lat ... untu-16-04
I am trying to add an IP camera:
AXIS 221 Day and Night Network Camera (p/n 0221-001-01)
IP set to DHCP (it grabbed 192.168.1.113)
This works in a browser:
192.168.1.113/axis-cgi/mjpg/video.cgi?camera=&resolution=320×240
I added a new monitor:
Name:axis
Source Type: Remote
Function: Monitor
Remote Protocol: HTTP
Remote Method: Simple
Remote Host Name: 192.168.1.113
Remote Host Port: 80
Remote Host Path: /axis-cgi/mjpg/video.cgi?camera=&resolution=320×240
Target colorspace: 24 bit color
Capture Width: 320
Capture Height: 240
I am getting log messages:
axis: 1000 Capturing at 30 fps
but I still can't see it in the feed, i get log errors:
socket_sendto( /var/run/zm/zms-591196s.sock) failed: No such file or directory
I followed the advice in another post:
---------------------------------------------------------------------------------------
check if you have a double configured scriptalias. there is a standard one configure in the apache2 and
overlaps with the zoneminder config.
socket_sendto( /var/run/zm/zms-152934s.sock ) failed: No such file or directory
That happens when your Apache ScriptAlias directive is configured incorrectly or overlaps with another
ScriptAlias
-------------------------------------------------------------------------------------------
I commented out these lines in
/etc/apache2/conf-enabled/serve-cgi-bin.conf
# <IfDefine ENABLE_USR_LIB_CGI_BIN>
# ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
# <Directory “/usr/lib/cgi-bin”>
# AllowOverride None
# Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
# Require all granted
# </Directory>
# </IfDefine>
It made no difference
I tried switching to chrome from firefox and got the same result.
Can anyone help, or point me in the right direction?