Sunday, November 6, 2011

Zoneminder Memory.pm bug in 1.24.4


If you have Zoneminder installed and you're seeing this in /var/log/syslog:
Nov  6 14:36:11 machine zmwatch[2741]: ERR [Shared data size conflict in shared_data for monitor monitor, expected 328, got 316]
It's probably because of a bug that's been patched. On my distribution (Ubuntu 11.10) the file Memory.pm is at
/usr/share/perl5/ZoneMinder/Memory.pm
and the patch in question was applied at line 130.

4 comments:

  1. What are you supposed to do with this file??
    I have a server running 11.10 and has 2 cameras that show only orange. The video is working fine but after yesterday when the drive was filled up with events they went to orange and wont come back. I have reinstalled Zoneminder, cleared the Mysql database (zm) and deleted the cache folder with the zoneminder events data in it.

    ReplyDelete
  2. Are you seeing the log message in question? If you are, you should apply the linked patch to the source file given.

    But it doesn't sound like that's what you're seeing, since your cameras were working and suddenly stopped... just a guess.

    ReplyDelete
  3. Had this issue with newer zoneminder 1.25.0-1. Your solution helped me, thanks!

    ReplyDelete
  4. Is this the same patch mentioned here:
    http://lachlanmiskin.com/blog/2012/06/24/zoneminder-shared-data-size-conflict-in-shared_data-for-monitor/
    ?

    ReplyDelete