Systemlog errors

Forum for questions and support relating to the 1.25.x releases only.
Locked
Dio^
Posts: 6
Joined: Sun Feb 19, 2012 8:01 am

Systemlog errors

Post by Dio^ »

Hello,

I Have installed Zoneminder 1.25.0 software to Ubuntu 11.10. This compination works and I use Foscam cameras.
I Have a couple of questions, related to a systemlog.
What does this error mean?

2012-02-19 09:56:53.782110 zmwatch 32364 ERR Shared data size conflict in shared_data for monitor Cam1, expected 328, got 316 zmwatch.pl
2012-02-19 09:56:53.781450 zmwatch 32364 ERR Shared data size conflict in shared_data for monitor Cam1, expected 328, got 316 zmwatch.pl
2012-02-19 09:56:53.780750 zmwatch 32364 ERR Shared data size conflict in shared_data for monitor Cam3, expected 328, got 316 zmwatch.pl
2012-02-19 09:56:53.780250 zmwatch 32364 ERR Shared data size conflict in shared_data for monitor Cam3, expected 328, got 316 zmwatch.pl
2012-02-19 09:56:53.779600 zmwatch 32364 ERR Shared data size conflict in shared_data for monitor Cam2, expected 328, got 316 zmwatch.pl
2012-02-19 09:56:53.778820 zmwatch 32364 ERR Shared data size conflict in shared_data for monitor Cam2, expected 328, got 316 zmwatch.pl

and second error look like this

2012-02-19 10:13:41.514950 zmdc 8008 ERR 'zmc -m 6' exited abnormally, exit status 255 zmdc.pl
2012-02-19 10:13:41.507730 zmc_m6 8040 ERR Failed to capture image from monitor 6 (0/1) zmc.cpp 263
2012-02-19 10:13:41.507442 zmc_m6 8040 ERR Unable to get response zm_remote_camera_http.cpp 1097
2012-02-19 10:13:41.507220 zmc_m6 8040 ERR Unable to read subheader zm_remote_camera_http.cpp 925
2012-02-19 10:13:41.506954 zmc_m6 8040 ERR Select error: Interrupted system call zm_remote_camera_http.cpp 149

When these errors come, firefox crash, I am a beginner and I don't understand what I should do next?
Morantz
Posts: 5
Joined: Fri Feb 17, 2012 3:26 am

Re: Systemlog errors

Post by Morantz »

The shared data size conflicts sound like you didn't restart ZM after making changes to your cameras' setup. I've seen that error ALOT of times over the last few days while trying to fix one of my issues.

When making changes to a camera setup now, I stop ZM, make the change, then restart ZM.

Sorry, I can't help with your second issue.
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Systemlog errors

Post by PacoLM »

The shared data size conflict is not related with the creation of new cameras, is just a bug, try this:

Replace

Code: Select all

$arch = int(3.2*length(~0)); 
with

Code: Select all

$arch = 32; 
in /usr/local/share/perl/5.12.4/ZoneMinder/Memory.pm

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Dio^
Posts: 6
Joined: Sun Feb 19, 2012 8:01 am

Re: Systemlog errors

Post by Dio^ »

PacoLM wrote:The shared data size conflict is not related with the creation of new cameras, is just a bug, try this:

Replace

Code: Select all

$arch = int(3.2*length(~0)); 
with

Code: Select all

$arch = 32; 
in /usr/local/share/perl/5.12.4/ZoneMinder/Memory.pm

Thank you,
Now, all error messages disappeared.
Morantz
Posts: 5
Joined: Fri Feb 17, 2012 3:26 am

Re: Systemlog errors

Post by Morantz »

Interesting. I am only seeing this 'bug' when I change the buffer settings for an existing running camera. And the docs say to restart ZM if you change these settings.
Locked