Page 1 of 1

Can't Stream from Monitor after update

Posted: Tue Aug 30, 2016 5:35 pm
by bforcier
After updating to 1.29 I added my camera and nothing shows in the stream. The logs show:
2016-08-30 13:45:18.829256 zmc_m1 995 INF FOSCAM1: 32000 - Capturing at 30.30 fps zm_monitor.cpp 3131
2016-08-30 13:45:14.703098 web_js 1591 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-633919s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-08-30 13:45:14.692017 web_php 1591 ERR socket_sendto( /var/run/zm/zms-633919s.sock ) failed: No such file or directory includes/functions.php 2371
2016-08-30 13:45:02.688205 web_js 1591 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-633919s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-08-30 13:45:02.677641 web_php 1591 ERR socket_sendto( /var/run/zm/zms-633919s.sock ) failed: No such file or directory includes/functions.php 2371
2016-08-30 13:44:58.127796 zma_m1 910 INF FOSCAM1: 34000 - Analysing at 29.41 fps zm_monitor.cpp 1287
2016-08-30 13:44:50.596110 web_js 1591 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-633919s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-08-30 13:44:50.579408 web_php 1591 ERR socket_sendto( /var/run/zm/zms-633919s.sock ) failed: No such file or directory includes/functions.php 2371
2016-08-30 13:44:45.535551 zmc_m1 995 INF FOSCAM1: 31000 - Capturing at 30.30 fps zm_monitor.cpp 3131
2016-08-30 13:44:38.577800 web_js 1791 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-633919s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-08-30 13:44:38.565543 web_php 1791 ERR socket_sendto( /var/run/zm/zms-633919s.sock ) failed: No such file or directory includes/functions.php 2371
2016-08-30 13:44:24.839451 zma_m1 910 INF FOSCAM1: 33000 - Analysing at 30.30 fps zm_monitor.cpp 1287
2016-08-30 13:44:12.266874 zmc_m1 995 INF FOSCAM1: 30000 - Capturing at 29.41 fps zm_monitor.cpp 3131
2016-08-30 13:44:03.757492 web_js 1272 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-270475s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-08-30 13:44:03.745601 web_php 1272 ERR socket_sendto( /var/run/zm/zms-270475s.sock ) failed: No such file or directory includes/functions.php 2371
I tried a lot of things online, but can't seem to fix this issue. My apache config for zonemaster:

Code: Select all

        DocumentRoot /usr/share/zoneminder/www
        DirectoryIndex index.php
        <Directory />
                Options FollowSymLinks
                AllowOverride none
        </Directory>
        <Directory /usr/share/zoneminder/www>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride none
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /zm/cgi-bin /usr/lib/zoneminder/cgi-bin
        <Directory "/usr/lib/zoneminder/cgi-bin">
                AllowOverride All
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>
PATH_ZMS = /zm/cgi-bin/nph-zms

In my apache logs I see:
[Tue Aug 30 13:30:45.252870 2016] [:error] [pid 876] [client 50.169.2.126:41284] ERR [socket_sendto( /var/run/zm/zms-681487s.sock ) failed: No such file or directory]
[Tue Aug 30 14:08:39.845703 2016] [cgi:error] [pid 3202] [client 50.169.2.126:42468] AH02811: script not found or unable to stat: /usr/lib/zoneminder/cgi-bin/nph-zms
Could I be missing anything else?

Thanks

Re: Can't Stream from Monitor after update

Posted: Wed Aug 31, 2016 6:48 pm
by bbunge
What OS?
What Cameras?
Which procedure did you use to upgrade? (1.29 is not available unless you upgrade to Ubuntu 16.04)