Problem adding new Monitor

Forum for questions and support relating to the 1.29.x releases only.
Locked
duffbeerisgood
Posts: 4
Joined: Wed Apr 27, 2016 12:14 am

Problem adding new Monitor

Post by duffbeerisgood »

New install of zoneminder and everything seems to be working correctly however when I try to add a new Monitor I get errors in the logs:

2016-04-26 20:06:10.512652 web_js 892 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-289595s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-04-26 20:06:10.426947 web_php 893 ERR socket_sendto( /var/run/zm/zms-289595s.sock ) failed: No such file or directory /config/data/zoneminder/includes/functions.php 2330
2016-04-26 20:05:21.351215 zmc_m1 957 INF mini: 1000 - Capturing at 12.66 fps zm_monitor.cpp 2907
2016-04-26 20:04:02.776312 zmc_m1 957 INF Priming capture from rtsp://user:pass@192.168.11.203:88/videoMain zm_ffmpeg_camera.cpp 98
2016-04-26 20:04:02.701816 zmc_m1 957 INF Starting Capture zmc.cpp 195
2016-04-26 20:04:01.927770 zmdc 957 INF 'zmc -m 1' started at 16/04/26 20:04:01 zmdc.pl
2016-04-26 20:04:01.927760 zmdc 804 INF 'zmc -m 1' starting at 16/04/26 20:04:01, pid = 957 zmdc.pl
2016-04-26 20:04:01.909820 zmdc 804 INF Starting pending process, zmc -m 1 zmdc.pl
2016-04-26 20:04:01.890070 zmdc 804 ERR 'zmc -m 1' exited abnormally, exit status 255 zmdc.pl
2016-04-26 20:04:01.719070 zmwatch 839 ERR Memory map file '/dev/shm/zm.mmap.1' does not exist. zmc might not be running. zmwatch.pl
2016-04-26 20:04:01.307390 zmdc 804 WAR Can't find process with command of 'zma -m 1' zmdc.pl
2016-04-26 20:04:01.180240 zmdc 934 INF 'zmc -m 1' started at 16/04/26 20:04:01 zmdc.pl
2016-04-26 20:04:01.180230 zmdc 804 INF 'zmc -m 1' starting at 16/04/26 20:04:01, pid = 934 zmdc.pl
2016-04-26 20:04:01.047050 zmdc 804 WAR Can't find process with command of 'zmc -m 1' zmdc.pl
2016-04-26 20:04:00.940320 zmdc 804 WAR Can't find process with command of 'zma -m 1' zmdc.pl

Any Ideas? I can provide additinl info if helpful.....
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Problem adding new Monitor

Post by bbunge »

You likely do not have the resolution right in Zoneminder.

Camera info (my guess is Foscam?) and the settings you are using in ZM would be helpful...
duffbeerisgood
Posts: 4
Joined: Wed Apr 27, 2016 12:14 am

Re: Problem adding new Monitor

Post by duffbeerisgood »

Thanks for the response? Are these errors common if the resolution is off?I have tried two different cameras both foscam, with similar results.

The fist is a FI9803EP and I used the settings:
FFmpeg
rtsp://user:pass@192.168.11.204:88/videoMain
RTP/RTSP
32 bit colour
Capture width: 800
Capture height: 450

The second is the wireless 1080IP cam or C2 model and I used:
FFmpeg
rtsp://user:pass@192.168.11.203:88/videoMain
RTP/RTSP
32 bit colour
1280
720

I got the recommend settings form the WIKI. I also verified the source path is correct, as I can connect with it form VLC and view the stream.
duffbeerisgood
Posts: 4
Joined: Wed Apr 27, 2016 12:14 am

Re: Problem adding new Monitor

Post by duffbeerisgood »

I don't think its a problem with the resolution I think something is going wrong with connection to the sockets.....

2016-04-27 09:08:33.985519 web_js 4780 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-351716s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-04-27 09:08:33.900311 web_php 4780 ERR socket_sendto( /var/run/zm/zms-351716s.sock ) failed: No such file or directory /config/data/zoneminder/includes/functions.php 2330
2016-04-27 09:08:13.898505 web_js 4780 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-351716s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-04-27 09:08:13.811497 web_php 4781 ERR socket_sendto( /var/run/zm/zms-351716s.sock ) failed: No such file or directory /config/data/zoneminder/includes/functions.php 2330

I am running in a container pulled form https://hub.docker.com/r/aptalca/zoneminder-1.29/ however have not seen any reports of similar issues??
duffbeerisgood
Posts: 4
Joined: Wed Apr 27, 2016 12:14 am

Re: RESOLVED! Problem adding new Monitor

Post by duffbeerisgood »

USERERROR!!! I was running the old version of the container ie 1.28 and using the instructions for the new version 1.29 so I think my paths were all jacked up. Thanks for the help sorry for the noob mistake! zoneminder is pretty cool!!
Locked