Some Cameras Work, Some Don't

Forum for questions and support relating to the 1.28.x releases only.
Locked
sazv
Posts: 2
Joined: Thu Jun 04, 2015 2:43 am

Some Cameras Work, Some Don't

Post by sazv »

I had a working 11-ip-camera setup under 1.26, and I moved to a fresh install of 1.28 on Ubuntu 14.04.

I have 3 models of camera, all on the same firmware by model, and for all three models some (or one) works fine and others don't. They all worked fine under 1.26.

They all have identical configurations (aside from ip address) username and source settings, which were copied from the old config.

When attempting to access the feed from one of the non-working cameras, I get:

2015-06-03 22:49:36.546903 web_js 1433 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-399353s.sock ) failed: Connection refused - checkStreamForErrors() ?view=watch
2015-06-03 22:49:36.530623 web_php 1433 ERR socket_sendto( /var/run/zm/zms-399353s.sock ) failed: Connection refused /usr/share/zoneminder/includes/functions.php 2330
2015-06-03 22:49:35.526207 web_js 1433 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-399353s.sock ) failed: Connection refused - checkStreamForErrors() ?view=watch
2015-06-03 22:49:35.509005 web_php 1433 ERR socket_sendto( /var/run/zm/zms-399353s.sock ) failed: Connection refused /usr/share/zoneminder/includes/functions.php 2330
2015-06-03 22:49:34.601175 zms 2053 INF addr2line -e /usr/lib/cgi-bin/nph-zms 0x47ceab 0x7f31312b0340 0x4451e9 0x454f4b 0x408599 0x7f312ff4fec5 0x407669 zm_signal.cpp 106
2015-06-03 22:49:34.594649 zms 2053 INF Backtrace complete, please execute the following command for more information zm_signal.cpp 105
2015-06-03 22:49:34.588056 zms 2053 ERR Backtrace 6: /usr/lib/cgi-bin/nph-zms() [0x407669] zm_signal.cpp 98
2015-06-03 22:49:34.581227 zms 2053 ERR Backtrace 5: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f312ff4fec5] zm_signal.cpp 98
2015-06-03 22:49:34.574903 zms 2053 ERR Backtrace 4: /usr/lib/cgi-bin/nph-zms() [0x408599] zm_signal.cpp 98
2015-06-03 22:49:34.568248 zms 2053 ERR Backtrace 3: /usr/lib/cgi-bin/nph-zms() [0x454f4b] zm_signal.cpp 98
2015-06-03 22:49:34.561722 zms 2053 ERR Backtrace 2: /usr/lib/cgi-bin/nph-zms() [0x4451e9] zm_signal.cpp 98
2015-06-03 22:49:34.555225 zms 2053 ERR Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f31312b0340] zm_signal.cpp 98
2015-06-03 22:49:34.548529 zms 2053 ERR Backtrace 0: /usr/lib/cgi-bin/nph-zms() [0x47ceab] zm_signal.cpp 98
2015-06-03 22:49:34.541752 zms 2053 ERR Signal address is 0x7f312140d004, from 0x4451e9 zm_signal.cpp 77
2015-06-03 22:49:34.535151 zms 2053 ERR Got signal 7 (Bus error), crashing zm_signal.cpp 54
2015-06-03 22:49:34.525515 zms 2053 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results for monitor dining zm_monitor.cpp 426

and occasionally also a
2015-06-03 22:51:38.132904 web_php 1595 ERR socket_sendto( /var/run/zm/zms-760250s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2330

Any ideas?
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Some Cameras Work, Some Don't

Post by asker »

I have a hunch this may have to do not with the camera but the amount of mapped memory you have due to this line below

Can you try this: Delete all cameras that you think are working and just keep the camera that is not working. Start with one.
Restart ZM only with that bad camera and let me know if you suddenly see it works perfectly when running alone.

sazv wrote: 2015-06-03 22:49:34.535151 zms 2053 ERR Got signal 7 (Bus error), crashing zm_signal.cpp 54
Any ideas?
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Some Cameras Work, Some Don't

Post by iconnor »

Also, please update to 1.28.1, we fixed some crashes in there.

This error can also be caused by non-upgraded db's. Check all the logs.
sazv
Posts: 2
Joined: Thu Jun 04, 2015 2:43 am

Re: Some Cameras Work, Some Don't

Post by sazv »

It was memory. It now has more, and all is good. I'll upgrade when I get a chance.

Many thanks.
Locked