Page 1 of 1

Systemlog errors

Posted: Sun Feb 19, 2012 8:34 am
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?

Re: Systemlog errors

Posted: Sun Feb 19, 2012 8:18 pm
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.

Re: Systemlog errors

Posted: Mon Feb 20, 2012 2:14 am
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

Re: Systemlog errors

Posted: Mon Feb 20, 2012 4:47 pm
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.

Re: Systemlog errors

Posted: Mon Feb 20, 2012 5:08 pm
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.