Second remote monitor throws socket errors on view
Posted: Sun Apr 05, 2015 4:45 am
Okay, here's the setup. I'm running ZM in a docker. I can add the first remote monitor (axis 207) totally fine with:
Remote host name: myuser:mypass@192.168.0.22
Remote host path: /axis-cgi/mjpg/video.cgi?resolution=640x480
I'm not sure what's going on and google warrioring didn't turn up much. I have posted instructions (if you're semi familiar with docker) at the bottom to getting this if you need to inspect it. The install is on ubuntu 14.04.
first monitor works all honkey dory when I view it. The second however throws:
The ZM docker setup I'm using is here on github:
QuantumObject/docker-zoneminder/
If you'd like to just use the one I've already built feel free to grab it and run it with:
sudo docker run -d -p 80:80 hrwebasst/zoneminder
if you are wanting to take a peek inside of the container you can install nsenter:
sudo docker run --rm -v /usr/local/bin:/target jpetazzo/nsenter
and then a sudo docker ps will give you something like this:
e430db294535 hrwebasst/zoneminder:latest "/sbin/my_init" 4 seconds ago Up 4 seconds 0.0.0.0:80->80/tcp zoneminder
using sudo docker-enter e430db294535 will give you access to inside of the docker instance. (the hash value will be different for you)
Remote host name: myuser:mypass@192.168.0.22
Remote host path: /axis-cgi/mjpg/video.cgi?resolution=640x480
I'm not sure what's going on and google warrioring didn't turn up much. I have posted instructions (if you're semi familiar with docker) at the bottom to getting this if you need to inspect it. The install is on ubuntu 14.04.
first monitor works all honkey dory when I view it. The second however throws:
Code: Select all
2015-04-05 04:18:40.965010 zmdc 441 INF 'zmc -m 2' crashed, signal 134 zmdc.pl
2015-04-05 04:18:40.114790 zmdc 609 INF 'zmc -m 2' started at 15/04/05 04:18:40 zmdc.pl
2015-04-05 04:18:40.114750 zmdc 441 INF 'zmc -m 2' starting at 15/04/05 04:18:40, pid = 609 zmdc.pl
2015-04-05 04:18:40.059550 zmdc 441 INF Starting pending process, zmc -m 2 zmdc.pl
2015-04-05 04:18:34.196043 web_js 125 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-634403s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2015-04-05 04:18:34.025372 web_php 125 ERR socket_sendto( /var/run/zm/zms-634403s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2330
2015-04-05 04:18:14.010170 web_js 125 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-634403s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2015-04-05 04:18:13.926651 web_php 125 ERR socket_sendto( /var/run/zm/zms-634403s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2330
2015-04-05 04:18:00.033830 zmdc 441 INF 'zmc -m 2' crashed, signal 134 zmdc.pl
2015-04-05 04:17:59.182290 zmdc 607 INF 'zmc -m 2' started at 15/04/05 04:17:59 zmdc.pl
2015-04-05 04:17:59.182240 zmdc 441 INF 'zmc -m 2' starting at 15/04/05 04:17:59, pid = 607 zmdc.pl
2015-04-05 04:17:59.103950 zmdc 441 INF Starting pending process, zmc -m 2 zmdc.pl
2015-04-05 04:17:53.940499 web_js 599 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-634403s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2015-04-05 04:17:53.837221 web_php 599 ERR socket_sendto( /var/run/zm/zms-634403s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2330
2015-04-05 04:17:39.507118 zms 604 INF Terminating Logger zm_logger.cpp 235
2015-04-05 04:17:39.453712 zms 604 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results for monitor outside zm_monitor.cpp 426
2015-04-05 04:17:39.009610 zmdc 441 INF 'zmc -m 2' crashed, signal 134 zmdc.pl
2015-04-05 04:17:38.142210 zmdc 602 INF 'zmc -m 2' started at 15/04/05 04:17:38 zmdc.pl
2015-04-05 04:17:38.142160 zmdc 441 INF 'zmc -m 2' starting at 15/04/05 04:17:38, pid = 602 zmdc.pl
2015-04-05 04:17:38.044940 zmdc 441 INF Starting pending process, zmc -m 2 zmdc.pl
2015-04-05 04:17:28.967320 zmdc 441 INF 'zmc -m 2' crashed, signal 134 zmdc.pl
2015-04-05 04:17:28.107530 zmdc 600 INF 'zmc -m 2' started at 15/04/05 04:17:28 zmdc.pl
2015-04-05 04:17:28.107460 zmdc 441 INF 'zmc -m 2' starting at 15/04/05 04:17:28, pid = 600 zmdc.pl
2015-04-05 04:17:28.043920 zmdc 441 INF Starting pending process, zmc -m 2 zmdc.pl
2015-04-05 04:17:23.662720 zmdc 441 INF 'zmc -m 2' crashed, signal 134 zmdc.pl
2015-04-05 04:17:22.806970 zmdc 595 INF 'zmc -m 2' started at 15/04/05 04:17:22 zmdc.pl
2015-04-05 04:17:22.806870 zmdc 441 INF 'zmc -m 2' starting at 15/04/05 04:17:22, pid = 595 zmdc.pl
2015-04-05 04:17:22.760640 zmdc 441 INF Starting pending process, zmc -m 2 zmdc.pl
2015-04-05 04:17:22.666840 zmdc 441 ERR 'zmc -m 2' exited abnormally, exit status 255 zmdc.pl
2015-04-05 04:17:22.148130 zmdc 441 WAR Can't find process with command of 'zma -m 2' zmdc.pl
2015-04-05 04:17:21.954450 zmdc 573 INF 'zmc -m 2' started at 15/04/05 04:17:21 zmdc.pl
2015-04-05 04:17:21.953540 zmdc 441 INF 'zmc -m 2' starting at 15/04/05 04:17:21, pid = 573 zmdc.pl
2015-04-05 04:17:21.794000 zmdc 441 WAR Can't find process with command of 'zmc -m 2' zmdc.pl
2015-04-05 04:17:21.611600 zmdc 441 WAR Can't find process with command of 'zma -m 2' zmdc.pl
2015-04-05 04:16:44.070591 zms 549 INF Terminating Logger zm_logger.cpp 235
2015-04-05 04:16:43.837723 zms 549 INF Got signal 15 (Terminated), exiting
QuantumObject/docker-zoneminder/
If you'd like to just use the one I've already built feel free to grab it and run it with:
sudo docker run -d -p 80:80 hrwebasst/zoneminder
if you are wanting to take a peek inside of the container you can install nsenter:
sudo docker run --rm -v /usr/local/bin:/target jpetazzo/nsenter
and then a sudo docker ps will give you something like this:
e430db294535 hrwebasst/zoneminder:latest "/sbin/my_init" 4 seconds ago Up 4 seconds 0.0.0.0:80->80/tcp zoneminder
using sudo docker-enter e430db294535 will give you access to inside of the docker instance. (the hash value will be different for you)