Zoneminder "Error" Messages
Posted: Fri Sep 10, 2010 6:41 pm
Hey everyone,
We're tuning our zoneminder installation, and run into a snag. We want to be notified automatically whenever there's a problem with recording or playing back video to make sure we're not missing anything.
Today I did a dump of the last 24 hours worth of logs. I have found the following error messages on our devices:
[Can't get shared memory id '7a6d0005', 5: No such file or directory]
[Waiting for capture daemon]
[Can't insert event: MySQL server has gone away]
['zma -m 3' exited abnormally, exit status 214]
[Can't find process with command of 'zma -m 10']
[Buffer overrun at index 15, image 15, slow down capture, speed up analysis or increase ring buffer size]
[Signal: Lost]
[Signal: Reacquired]
[Failed to set video format: Invalid argument]
[Backtrace: /lib/tls/i686/cmov/libc.so.6(gsignal+0x55) [0xb7037085]]
[Signal address is (nil), from 0xb7f2c410]
[Terminating, last frame sent time 1284045431.091325 secs more than maximum of 10.000000]
[Can't shmget, probably not enough shared memory space free: Invalid argument]
[Can't open events/7/10/09/09/10/39/37/006-capture.jpg: Interrupted system call]
These errors range from WARning, ERRor, and FATal levels. I've spent most of the morning trying to resolve the most frequent errors (the first two in the list). I have had absolutely zero success at even tracing down a root cause - all of the solutions appear to be pot-luck (Have you tried A? How about B? C? Ok, that fixed it).
Our system configuration is as clean as we can make it. We're already running INNODB, we've got shmmax and shmall set up properly for our system, we've got a clean database that doesn't need repairs, we're not capturing video at obscene rates.
But here's the bigger problem: According to manual checks on the actual system, everything is just peachy. Video is being recorded. I can play video back. All the cameras work just fine and are displaying streaming video fine. Motion detection is working properly. All the proper processes are running... I haven't found any events that have been recorded improperly.
If these errors are actually indicative of serious errors on our install, why is everything running properly? Alternately, if we can't trust the logs to provide valid error warnings, what can we trust to test our functionality?
Craig
We're tuning our zoneminder installation, and run into a snag. We want to be notified automatically whenever there's a problem with recording or playing back video to make sure we're not missing anything.
Today I did a dump of the last 24 hours worth of logs. I have found the following error messages on our devices:
[Can't get shared memory id '7a6d0005', 5: No such file or directory]
[Waiting for capture daemon]
[Can't insert event: MySQL server has gone away]
['zma -m 3' exited abnormally, exit status 214]
[Can't find process with command of 'zma -m 10']
[Buffer overrun at index 15, image 15, slow down capture, speed up analysis or increase ring buffer size]
[Signal: Lost]
[Signal: Reacquired]
[Failed to set video format: Invalid argument]
[Backtrace: /lib/tls/i686/cmov/libc.so.6(gsignal+0x55) [0xb7037085]]
[Signal address is (nil), from 0xb7f2c410]
[Terminating, last frame sent time 1284045431.091325 secs more than maximum of 10.000000]
[Can't shmget, probably not enough shared memory space free: Invalid argument]
[Can't open events/7/10/09/09/10/39/37/006-capture.jpg: Interrupted system call]
These errors range from WARning, ERRor, and FATal levels. I've spent most of the morning trying to resolve the most frequent errors (the first two in the list). I have had absolutely zero success at even tracing down a root cause - all of the solutions appear to be pot-luck (Have you tried A? How about B? C? Ok, that fixed it).
Our system configuration is as clean as we can make it. We're already running INNODB, we've got shmmax and shmall set up properly for our system, we've got a clean database that doesn't need repairs, we're not capturing video at obscene rates.
But here's the bigger problem: According to manual checks on the actual system, everything is just peachy. Video is being recorded. I can play video back. All the cameras work just fine and are displaying streaming video fine. Motion detection is working properly. All the proper processes are running... I haven't found any events that have been recorded improperly.
If these errors are actually indicative of serious errors on our install, why is everything running properly? Alternately, if we can't trust the logs to provide valid error warnings, what can we trust to test our functionality?
Craig