have to restart zoneminder daily so it works...

Forum for questions and support relating to the 1.27.x releases only.
Post Reply
dazed
Posts: 66
Joined: Thu Feb 13, 2014 5:32 pm

have to restart zoneminder daily so it works...

Post by dazed » Tue Jun 17, 2014 1:14 am

Okay i've waited and searched for maybe too long when i should have asked here....thought maybe i could find the answer
on my own....I regress

Trying to get errors cleared I found and tried many things...not sure if im on the right track but when I do ipcs -m or just ipcs
I am not seeing anything that looks like 2 cameras....no 0x7a6d0000 in there...not even with montage open

just this error socket_sendto( /tmp/zm/zms-542596s.sock ) failed: No such file or directory


ipcs

------ Shared Memory Segments --------
key shmid owner perms bytes nattch status

------ Semaphore Arrays --------
key semid owner perms nsems
0x00000000 0 www-data 600 1

------ Message Queues --------
key msqid owner perms used-bytes messages


Zoneminder seems slow so maybe im on the right track besides all my errors i cant figure out.

I have an i7-3770 with 8gb ram and 3TB NAS drive.
I thought the fast cpu would help from an g1620 but not too much with my 2 cameras 1920*1080 24bit.

Well i tried many memory configurations and right now im using
#kernel.shmall = 2097152
#kernel.shmmax = 4294967296 (tried 4gb but no help)
kernel.shmall = 2097152
kernel.shmmax = 1710720000

It usually runs fine until someone connects then the errors (socks... put in arch 32 fix),
and lately Frame send time 763 msec too slow, throttling maxfps to 1.32 ( which is probably the limit im hitting on the 1mb/s upload im remotely connecting to).

I was hoping using ubuntu 64bit server 12.04LTS no head would be faster than a store box DVR setup...at least locally connected to it.

Im all ears...almost ready to reinstall for the 4 time....I did try uninstalling and reinstalling my last time without OS reinstall....maybe i screwed something up there since the libvlc gives me streaking after that (not before reinstall) I wish i knew more about linux than i do...

Thanks Everyone
Last edited by dazed on Fri Jun 20, 2014 5:23 am, edited 1 time in total.

dazed
Posts: 66
Joined: Thu Feb 13, 2014 5:32 pm

Re: have to reboot zoneminder daily so it works...

Post by dazed » Tue Jun 17, 2014 1:33 am

Also 4 alarm frames set (lots of clouds and bugs)
Reference Image Blend %ge 12.5
15 FPS on cameras
no min or max FPS set 24 bit

Image Buffer Size (frames) 125 (started with 50 thought more with @MP ip camera better)
Warmup Frames 25
Pre Event Image Count 25
Post Event Image Count 25
Stream Replay Image Buffer 1000
Alarm Frame Count 4

Capture Width (pixels) 1920
Capture Height (pixels) 1080
Preserve Aspect Ratio not checked

Also installed per 1.27 wiki doc....I dont know how to compile....just follow directions ;)

Source fmfmpeg with ?tcp still streaking but not as bad as libvlc

dazed
Posts: 66
Joined: Thu Feb 13, 2014 5:32 pm

Re: have to reboot zoneminder daily so it works...

Post by dazed » Tue Jun 17, 2014 1:52 am

some of my socket errors while watching

2014-06-16 20:41:05.679647 web_js 4694 ERR getCmdResponse stream error: socket_sendto( /tmp/zm/zms-865853s.sock ) failed: Connection refused - checkStreamForErrors() ?view=event
2014-06-16 20:41:04.866272 web_php 1583 ERR socket_sendto( /tmp/zm/zms-865853s.sock ) failed: Connection refused /usr/share/zoneminder/includes/functions.php 2337
2014-06-16 20:41:04.821116 web_js 4694 ERR getCmdResponse stream error: Timed out waiting for msg - checkStreamForErrors() ?view=event
2014-06-16 20:41:04.413168 zms 4658 ERR Can't sendto on sd 8: No such file or directory zm_event.cpp 1114
2014-06-16 20:41:03.836379 web_php 1583 ERR Timed out waiting for msg /usr/share/zoneminder/includes/functions.php

after restart
2014-06-16 20:57:25.695718 web_php 4777 ERR socket_sendto( /tmp/zm/zms-141790s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2337
2014-06-16 20:57:22.383993 web_php 4777 ERR socket_sendto( /tmp/zm/zms-809911s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2337
2014-06-16 20:57:16.230768 zma_m2 5478 INF Lakeside: 2000 - Processing at 16.67 fps zm_monitor.cpp 1153
2014-06-16 20:57:14.638793 zma_m1 5466 INF Streetside: 2000 - Processing at 16.67 fps zm_monitor.cpp 1153
2014-06-16 20:57:12.597144 web_php 4776 ERR socket_sendto( /tmp/zm/zms-141790s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2337
2014-06-16 20:57:11.726310 zmc_m2 5467 INF Lakeside: 2000 - Capturing at 16.67 fps zm_monitor.cpp 2831
2014-06-16 20:57:10.313871 zmc_m1 5458 INF Streetside: 2000 - Capturing at 16.67 fps zm_monitor.cpp 2831
2014-06-16 20:57:09.196993 web_php 4776 ERR socket_sendto( /tmp/zm/zms-809911s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2337
2014-06-16 20:56:59.453905 web_php 4623 ERR socket_sendto( /tmp/zm/zms-141790s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2337
2014-06-16 20:56:55.985627 web_php 4623 ERR socket_sendto( /tmp/zm/zms-809911s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2337
2014-06-16 20:56:46.182256 zms 5623 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2014-06-16 20:56:45.775985 web_php 5330 ERR socket_sendto( /tmp/zm/zms-141790s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2337
2014-06-16 20:56:42.336429 web_php 4694 ERR socket_sendto( /tmp/zm/zms-809911s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2337
2014-06-16 20:56:32.163198 web_php 1580 ERR socket_sendto( /tmp/zm/zms-141790s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2337
2014-06-16 20:56:28.846650 web_php 4693 ERR socket_sendto( /tmp/zm/zms-809911s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2337
2014-06-16 20:56:28.431501 zms 5623 INF Authenticated user 'dazed'

dazed
Posts: 66
Joined: Thu Feb 13, 2014 5:32 pm

Re: have to reboot zoneminder daily so it works...

Post by dazed » Tue Jun 17, 2014 4:20 pm

Logs still filling up maybe restart will clear it up for a few...anybody got hints on the memory allocation?

htop showing cached memory growing since last 7 hrs uptime

MEM 7871M USED 890M BUFFERS 212M CACHE 6569M
Cache just seems to keep growing....Is there a hole is all my memory being used up? No other programs running on this server besides ZM

Okay ran free -m maybe its good according to a quick search

free -m
total used free shared buffers cached
Mem: 7871 7748 122 0 212 6646
-/+ buffers/cache: 889 6981
Swap: 8078 0 8078

seems like changing of this code in Memory.pm helps for a while but then it returns

#our $arch = int(3.2*length(~0));
our $arch = 32;

2014-06-17 11:07:48.256734 zmc_m1 7404 INF Streetside: 163000 - Capturing at 16.39 fps zm_monitor.cpp 2831
2014-06-17 11:07:46.318520 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:07:46.197230 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:07:41.039936 zma_m1 1428 INF Streetside: 409000 - Processing at 16.39 fps zm_monitor.cpp 1153
2014-06-17 11:07:37.888401 zma_m2 1407 INF Lakeside: 418000 - Processing at 16.67 fps zm_monitor.cpp 1153
2014-06-17 11:07:36.073760 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:07:36.009200 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:07:25.906990 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:07:25.796920 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:07:15.695140 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:07:15.575180 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:07:12.506660 zmc_m2 1355 INF Lakeside: 420000 - Capturing at 16.39 fps zm_monitor.cpp 2831
2014-06-17 11:07:05.472780 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:07:05.339910 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:06:55.237910 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:06:55.128000 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:06:47.338260 zmc_m1 7404 INF Streetside: 162000 - Capturing at 16.39 fps zm_monitor.cpp 2831
2014-06-17 11:06:45.026420 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:06:44.872240 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:06:40.129146 zma_m1 1428 INF Streetside: 408000 - Processing at 16.39 fps zm_monitor.cpp 1153
2014-06-17 11:06:37.019817 zma_m2 1407 INF Lakeside: 417000 - Processing at 16.39 fps zm_monitor.cpp 1153
2014-06-17 11:06:34.770530 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:06:34.661010 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867 zmwatch.pl
2014-06-17 11:06:24.559310 zmwatch 1385 ERR Shared data size conflict in shared_data for monitor Lakeside, expected 336, got 858476867

mikb
Posts: 478
Joined: Mon Mar 25, 2013 12:34 pm

Re: have to reboot zoneminder daily so it works...

Post by mikb » Tue Jun 17, 2014 6:50 pm

Cache growing to fill all memory is normal, Linux takes your unused memory and borrows it. If you really needed it, you'd get it back :)

dazed
Posts: 66
Joined: Thu Feb 13, 2014 5:32 pm

Re: have to reboot zoneminder daily so it works...

Post by dazed » Thu Jun 19, 2014 1:09 am

Thanks mikb u confirmed what i was unsure of...now if somebody could understand what these errors are.

Some more errors while streaming remotely at 1fps

2014-06-18 20:06:45.861422 zms 30217 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-18 20:06:43.344956 zms 30217 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-18 20:06:40.676745 zms 30217 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-18 20:06:38.143090 zms 30217 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-18 20:06:37.757370 zmwatch 20522 ERR Shared data size conflict in shared_data for monitor Streetside, expected 336, got 2947201457 zmwatch.pl
2014-06-18 20:06:34.630650 zmwatch 20522 ERR Shared data size conflict in shared_data for monitor Streetside, expected 336, got 2947201457 zmwatch.pl
2014-06-18 20:06:32.115774 zms 30217 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-18 20:06:29.524960 zms 30217 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-18 20:06:26.901361 zms 30217 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-18 20:06:24.574460 zmwatch 20522 ERR Shared data size conflict in shared_data for monitor Streetside, expected 336, got 2947201457 zmwatch.pl
2014-06-18 20:06:24.516760 zmwatch 20522 ERR Shared data size conflict in shared_data for monitor Streetside, expected 336, got 2947201457 zmwatch.pl
2014-06-18 20:06:24.383951 zms 30217 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-18 20:06:21.796902 zms 30217 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-18 20:06:19.114623 zms 30217 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-18 20:06:16.496193 zms 30217 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-18 20:06:14.470920 zmwatch 20522 ERR Shared data size conflict in shared_data for monitor Streetside, expected 336, got 2947201457 zmwatch.pl
2014-06-18 20:06:14.433440 zmwatch 20522 ERR Shared data size conflict in shared_data for monitor Streetside, expected 336, got 2947201457 zmwatch.pl
2014-06-18 20:06:13.975368 zms 30217 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-18 20:06:11.544637 zms 30217 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-18 20:06:09.025925 zms 30217 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344

dazed
Posts: 66
Joined: Thu Feb 13, 2014 5:32 pm

Re: have to reboot zoneminder daily so it works...

Post by dazed » Fri Jun 20, 2014 5:19 am

Okay nobody has a solution i might try yet. Today 1 of my 2 cameras stopped receiving a live stream...therefore no recorded events.

Does anybody have an idea were i should look for that specific area and what it would be called or how to find it in the logs.
I restarted zoneminder and its working again after being offline for 12 hrs.
I thought the setting MAX_RESTART_DELAY Maximum delay (in seconds) for daemon restart attempts. (?) set at 600 (10 mins) in options tab SYSTEM is supposed to take care of that issue?

Any ideas anyone?

Thanks

linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: have to restart zoneminder daily so it works...

Post by linuxsense » Fri Jun 20, 2014 6:20 pm

Are you setting a max fps on the zoneminder side for your remote cameras? If so....don't do that. If you need to limit the FPS set it on the camera and not on ZM. The 'Maximum FPS' and 'Alarm Maximum FPS' settings are intended for local analog cameras and not IP cams.

dazed
Posts: 66
Joined: Thu Feb 13, 2014 5:32 pm

Re: have to restart zoneminder daily so it works...

Post by dazed » Sat Jun 21, 2014 3:08 am

No settings set for FPS in monitor side...all blank. Cameras are set to 15fps

Thanks

dazed
Posts: 66
Joined: Thu Feb 13, 2014 5:32 pm

Re: have to restart zoneminder daily so it works...

Post by dazed » Sat Jun 21, 2014 5:04 pm

Okay this error happens after remote user logs in


2014-06-21 12:02:09.200383 zms 1813 INF addr2line -e /usr/lib/cgi-bin/nph-zms 0x4745ce 0x7f524a2c3cb0 0x7f5248f81425 0x7f5248f84b8b 0x7f5248fbf39e 0x7f5248fc9b96 0x43803b 0x42654e 0x438102 0x426924 0x7f5248f86901 0x7f5248f86985 0x7f5248f6c774 0x406ec9 zm_signal.cpp 106
2014-06-21 12:02:09.144513 zms 1813 INF Backtrace complete, please execute the following command for more information zm_signal.cpp 105
2014-06-21 12:02:09.099848 zms 1813 ERR Backtrace 13: /usr/lib/cgi-bin/nph-zms() [0x406ec9] zm_signal.cpp 98
2014-06-21 12:02:09.055073 zms 1813 ERR Backtrace 12: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf4) [0x7f5248f6c774] zm_signal.cpp 98
2014-06-21 12:02:09.010345 zms 1813 ERR Backtrace 11: /lib/x86_64-linux-gnu/libc.so.6(+0x3b985) [0x7f5248f86985] zm_signal.cpp 98
2014-06-21 12:02:08.965633 zms 1813 ERR Backtrace 10: /lib/x86_64-linux-gnu/libc.so.6(+0x3b901) [0x7f5248f86901] zm_signal.cpp 98
2014-06-21 12:02:08.920877 zms 1813 ERR Backtrace 9: /usr/lib/cgi-bin/nph-zms() [0x426924] zm_signal.cpp 98
2014-06-21 12:02:08.876254 zms 1813 ERR Backtrace 8: /usr/lib/cgi-bin/nph-zms() [0x438102] zm_signal.cpp 98
2014-06-21 12:02:08.831467 zms 1813 ERR Backtrace 7: /usr/lib/cgi-bin/nph-zms() [0x42654e] zm_signal.cpp 98
2014-06-21 12:02:08.786715 zms 1813 ERR Backtrace 6: /usr/lib/cgi-bin/nph-zms() [0x43803b] zm_signal.cpp 98
2014-06-21 12:02:08.742017 zms 1813 ERR Backtrace 5: /lib/x86_64-linux-gnu/libc.so.6(+0x7eb96) [0x7f5248fc9b96] zm_signal.cpp 98
2014-06-21 12:02:08.697274 zms 1813 ERR Backtrace 4: /lib/x86_64-linux-gnu/libc.so.6(+0x7439e) [0x7f5248fbf39e] zm_signal.cpp 98
2014-06-21 12:02:08.652596 zms 1813 ERR Backtrace 3: /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7f5248f84b8b] zm_signal.cpp 98
2014-06-21 12:02:08.606713 zms 1813 ERR Backtrace 2: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f5248f81425] zm_signal.cpp 98
2014-06-21 12:02:08.562040 zms 1813 ERR Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f524a2c3cb0] zm_signal.cpp 98
2014-06-21 12:02:08.517487 zms 1813 ERR Backtrace 0: /usr/lib/cgi-bin/nph-zms() [0x4745ce] zm_signal.cpp 98
2014-06-21 12:02:08.474489 zms 1813 ERR Signal address is 0x2100000715, from 0x7f5248f81425 zm_signal.cpp 77
2014-06-21 12:02:08.430576 zms 1813 ERR Got signal 6 (Aborted), crashing zm_signal.cpp 54
2014-06-21 12:02:08.296750 zms 1813 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2014-06-21 12:02:08.204782 zma_m1 1423 INF Streetside: 2891 - Opening new event 14699, alarm start zm_monitor.cpp 1454
2014-06-21 12:02:08.118817 zma_m1 1423 INF Streetside: 2891 - Gone into alarm state zm_monitor.cpp 1434
2014-06-21 12:02:07.995033 zms 1813 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-21 12:02:07.903141 zma_m1 1423 INF Streetside: 2888 - Gone into prealarm state zm_monitor.cpp 1475
2014-06-21 12:02:04.008532 zms 1813 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-21 12:02:02.077176 web_js 1759 ERR getEventCmdResponse stream error: Unrecognised action or insufficient permissions - checkStreamForErrors() ?view=watch
2014-06-21 12:02:01.673200 web_php 1759 ERR Unrecognised action or insufficient permissions /usr/share/zoneminder/includes/functions.php 2337
2014-06-21 12:02:00.791528 zms 1811 INF addr2line -e /usr/lib/cgi-bin/nph-zms 0x4745ce 0x7f1abb79dcb0 0x7f1aba45b425 0x7f1aba45eb8b 0x7f1aba49939e 0x7f1aba4a3b96 0x43803b 0x42654e 0x438102 0x426924 0x7f1aba460901 0x7f1aba460985 0x7f1aba446774 0x406ec9 zm_signal.cpp 106
2014-06-21 12:02:00.735922 zms 1811 INF Backtrace complete, please execute the following command for more information zm_signal.cpp 105
2014-06-21 12:02:00.680130 zms 1811 ERR Backtrace 13: /usr/lib/cgi-bin/nph-zms() [0x406ec9] zm_signal.cpp 98
2014-06-21 12:02:00.624492 zms 1811 ERR Backtrace 12: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf4) [0x7f1aba446774] zm_signal.cpp 98
2014-06-21 12:02:00.568768 zms 1811 ERR Backtrace 11: /lib/x86_64-linux-gnu/libc.so.6(+0x3b985) [0x7f1aba460985] zm_signal.cpp 98
2014-06-21 12:02:00.513123 zms 1811 ERR Backtrace 10: /lib/x86_64-linux-gnu/libc.so.6(+0x3b901) [0x7f1aba460901] zm_signal.cpp 98
2014-06-21 12:02:00.457412 zms 1811 ERR Backtrace 9: /usr/lib/cgi-bin/nph-zms() [0x426924] zm_signal.cpp 98
2014-06-21 12:02:00.401727 zms 1811 ERR Backtrace 8: /usr/lib/cgi-bin/nph-zms() [0x438102] zm_signal.cpp 98
2014-06-21 12:02:00.346050 zms 1811 ERR Backtrace 7: /usr/lib/cgi-bin/nph-zms() [0x42654e] zm_signal.cpp 98
2014-06-21 12:02:00.290400 zms 1811 ERR Backtrace 6: /usr/lib/cgi-bin/nph-zms() [0x43803b] zm_signal.cpp 98
2014-06-21 12:02:00.234697 zms 1811 ERR Backtrace 5: /lib/x86_64-linux-gnu/libc.so.6(+0x7eb96) [0x7f1aba4a3b96] zm_signal.cpp 98
2014-06-21 12:02:00.179166 zms 1811 ERR Backtrace 4: /lib/x86_64-linux-gnu/libc.so.6(+0x7439e) [0x7f1aba49939e] zm_signal.cpp 98
2014-06-21 12:02:00.123342 zms 1811 ERR Backtrace 3: /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7f1aba45eb8b] zm_signal.cpp 98
2014-06-21 12:02:00.067679 zms 1811 ERR Backtrace 2: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f1aba45b425] zm_signal.cpp 98
2014-06-21 12:02:00.012007 zms 1811 ERR Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f1abb79dcb0] zm_signal.cpp 98
2014-06-21 12:01:59.949172 zms 1811 ERR Backtrace 0: /usr/lib/cgi-bin/nph-zms() [0x4745ce] zm_signal.cpp 98
2014-06-21 12:01:59.833563 zms 1811 ERR Signal address is 0x2100000713, from 0x7f1aba45b425 zm_signal.cpp 77
2014-06-21 12:01:59.830252 zms 1813 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-21 12:01:59.760382 zms 1811 ERR Got signal 6 (Aborted), crashing zm_signal.cpp 54
2014-06-21 12:01:59.744414 zms 1813 INF Authenticated user 'quilter_149' zm_user.cpp 237
2014-06-21 12:01:59.628096 zms 1811 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2014-06-21 12:01:59.361766 zms 1811 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-21 12:01:56.342882 zms 1811 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-21 12:01:54.666843 web_js 1680 ERR getEventCmdResponse stream error: Unrecognised action or insufficient permissions - checkStreamForErrors() ?view=watch
2014-06-21 12:01:54.204630 web_php 1680 ERR Unrecognised action or insufficient permissions /usr/share/zoneminder/includes/functions.php 2337
2014-06-21 12:01:53.120546 zms 1811 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-21 12:01:49.944867 zms 1811 ERR Attempt to directly assign buffer from an undersized buffer of size: 1947900 zm_image.cpp 344
2014-06-21 12:01:49.861619 zms 1811 INF Authenticated user 'quilter_149'

linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: have to restart zoneminder daily so it works...

Post by linuxsense » Tue Jun 24, 2014 6:17 pm

A few questions:

Where did you get the source package that you built? From the git repo or another source? You typically want to use the current git snapshot although the current code has an issue with 'plain' authentication that is being worked on.

What configure or cmake command did you use to build zoneminder?

What cameras (make and model) are you using?

You might want to move to Ubuntu 14.04. The current code works fine with only a few small gotchas over an installation on older Ubuntu versions. I just performed a clean 14.04 x86_64 install on my main ZM server and it is working very well. Only real snag was cgi is not enabled by default on Apache 2.4 so you must run 'a2enmod cgi' to enable it. So simple, but it took me a little while to catch it. Also, if you still want to restart zoneminder on a schedule you can setup a cron job as 'root' to run 'zmpkg.pl restart' at the times you want it reloaded.

dazed
Posts: 66
Joined: Thu Feb 13, 2014 5:32 pm

Re: have to restart zoneminder daily so it works...

Post by dazed » Tue Jun 24, 2014 8:55 pm

I followed this build http://www.zoneminder.com/wiki/index.ph ... e_easy_way
as i don't know how to compile.

I have Videre 2MP cameras (cameras are probabaly rebranded chinese) http://viderecctv.com/?p=91

I might have to try the 14.04lLTS version but they havent updates wiki for us not so fluent in Linux
I see they have the 1.26.5 and 14.04 http://www.zoneminder.com/wiki/index.ph ... e_easy_way

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest