Can't view ip cameras from zm console

Forum for questions and support relating to the 1.28.x releases only.
Locked
adamk7
Posts: 4
Joined: Thu Jan 08, 2015 12:36 am

Can't view ip cameras from zm console

Post by adamk7 »

I have 3 foscam FI8918w ip cameras that I can view directly from a browser without issue, but i can seem to get the preview working from within the zm console. I also cant review recorded footage from within the console. I checked the directory where recoreded jpegs are saved and they're all there.

The server is running on lubuntu 14.04
I have an almost identical setup running elsewhere where I dont have this issue

Any help apprecaited
jHeron
Posts: 73
Joined: Sun Jun 16, 2013 5:06 pm

Re: Can't view ip cameras from zm console

Post by jHeron »

What does the log say is happening?
You have not provided enough information for anyone to help you at this point...
Cheers,
Jon
adamk7
Posts: 4
Joined: Thu Jan 08, 2015 12:36 am

Re: Can't view ip cameras from zm console

Post by adamk7 »

2015-01-08 16:32:29.839851 web_js 3477 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-109215s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2015-01-08 16:31:08.535971 web_php 3477 ERR socket_sendto( /var/run/zm/zms-109215s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2330
2015-01-08 16:30:48.526143 web_js 3477 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-109215s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2015-01-08 16:30:48.363934 web_php 3477 ERR socket_sendto( /var/run/zm/zms-109215s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2330
2015-01-08 16:30:27.111135 web_js 3477 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-109215s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2015-01-08 16:30:26.651739 web_php 3097 ERR socket_sendto( /var/run/zm/zms-109215s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2330
2015-01-08 16:30:24.343151 zma_m1 3454 INF Front: 3417 - Left alarm state (4) - 176(6) images zm_monitor.cpp 1499
2015-01-08 16:30:21.348558 zma_m1 3454 INF Front: 3392 - Gone into alert state zm_monitor.cpp 1492
2015-01-08 16:30:21.037350 zma_m1 3454 INF Front: 3390 - Gone back into alarm state zm_monitor.cpp 1483
2015-01-08 16:30:20.903487 zma_m1 3454 INF Front: 3389 - Gone into alert state zm_monitor.cpp 1492
2015-01-08 16:30:20.242891 zma_m1 3454 INF Front: 3385 - Gone into alarm state zm_monitor.cpp 1436
2015-01-08 16:30:06.676765 web_js 3097 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-109215s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2015-01-08 16:30:06.559179 web_php 3097 ERR socket_sendto( /var/run/zm/zms-109215s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2330
2015-01-08 16:30:00.283012 zma_m1 3454 INF Front: 3241 - Opening new event 4, section start zm_monitor.cpp 1397
2015-01-08 16:30:00.085361 zma_m1 3454 INF Front: 3241 - Closing event 3, section end zm_monitor.cpp 1377
2015-01-08 16:29:46.596764 web_js 3097 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-109215s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2015-01-08 16:29:46.493468 web_php 3097 ERR socket_sendto( /var/run/zm/zms-109215s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2330
2015-01-08 16:29:26.878399 zma_m1 3454 INF Front: 3000 - Processing at 6.90 fps zm_monitor.cpp 1150
2015-01-08 16:29:26.534667 web_js 3073 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-109215s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2015-01-08 16:29:26.411029 web_php 3073 ERR socket_sendto( /var/run/zm/zms-109215s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2330
2015-01-08 16:29:25.703984 zmc_m1 3448 INF Front: 3000 - Capturing at 6.94 fps zm_monitor.cpp 2899
2015-01-08 16:29:19.595941 zma_m1 3454 INF Front: 2943 - Left alarm state (3) - 614(37) images zm_monitor.cpp 1499
2015-01-08 16:29:16.645654 zma_m1 3454 INF Front: 2918 - Gone into alert state zm_monitor.cpp 1492
2015-01-08 16:29:10.727301 zma_m1 3454 INF Front: 2882 - Gone into alarm state zm_monitor.cpp 1436
Nerre
Posts: 100
Joined: Thu Sep 25, 2014 10:22 am

Re: Can't view ip cameras from zm console

Post by Nerre »

This means ZM does not get any images from your cameras. Please double check your settings, ZM is very picky about things as resolution and colormode (at least 1.25 is, I just realized that this is the forum for 1.28, maybe newer versions are able to autodetect image properties).
User avatar
iconnor
Posts: 3335
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Can't view ip cameras from zm console

Post by iconnor »

No, it is recording fine.

What is happening is that zms is not being run. ensure that cgi is enabled in apache (a2enmod cgi)
adamk7
Posts: 4
Joined: Thu Jan 08, 2015 12:36 am

Re: Can't view ip cameras from zm console

Post by adamk7 »

iconnor wrote:No, it is recording fine.

What is happening is that zms is not being run. ensure that cgi is enabled in apache (a2enmod cgi)
Thank you so much, this was the issue
Locked