Shared data size conflict in shared_data

Forum for questions and support relating to the 1.24.x releases only.
Locked
zakalwe
Posts: 5
Joined: Sun May 20, 2007 5:01 pm

Shared data size conflict in shared_data

Post by zakalwe »

I just upgraded from 1.23 to 1.24.2 and something has broke. Two of my cameras are physically disconnected, but the two that should be working aren't.

Both the cameras that should be working are giving this error in zmwatch.log

08/15/09 00:59:17.015747 zmwatch[22773].ERR [Shared data size conflict in shared_data for monitor Cam, expected 328, got 320]

For the two cameras that are physically disconnected, an empty black box is shown in the monitor view, and i can view the old events correctly. For the two connected cameras nothing is shown and the events don't play either.

System is linux x86_64

ipcs -m

------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x7a6d0001 655360 apache 700 9217524 1
0x7a6d0002 32769 apache 700 9217516 0
0x7a6d0003 65538 apache 700 9217516 0
0x7a6d0004 688131 apache 700 9217524 1

Any ideas on what could be wrong?
zakalwe
Posts: 5
Joined: Sun May 20, 2007 5:01 pm

Post by zakalwe »

I've just reconnected the other two cameras, and they seem to be working fine within zoneminder. the only difference between these cameras and the others is that these are fixed and not controllable. all cameras have resolution of 320x240


********
Update

All the cameras have now just started working within zoneminder. I didn't change anything, but they seem to have fixed themselves. :oops:
carteriii
Posts: 65
Joined: Sun Oct 28, 2007 3:13 pm

Post by carteriii »

For the benefit of future users, I thought I'd mention that I too was getting this error about "Shared data size conflict in shared_data for monitor <>, expected 316, got 312".

I finally decided to completely reboot, after which things cleared up for me. I cannot explain it, but when in doubt and dealing with shared memory (even though it's not MS Windows), try a full restart.
Locked