Page 1 of 1

A lot of errors/warnings

Posted: Mon Jan 09, 2006 6:54 pm
by forgiarini
hi,
thankyou for the help of last time, I started ZoneMinder and now it's working.
In my /var/log/messages I read a lot of this errors/warnings.

Jan 9 19:40:53 linux-server zmwatch[374]: ERR [Shared memory size conflict in shared_data, expected 56, got 64]
Jan 9 19:40:53 linux-server zmc_m1[354]: WAR [Unable to use netcam regexps as not compiled with libpcre]
Jan 9 19:41:02 linux-server last message repeated 37 times


what could it be?

Distribution: SUSE SLES 9
perl v5.8.3 built for x86_64-linux-thread-multi
kernel 2.6.5-7.244-smp
Architecture x86_64
ZoneMinder 1.22.0


Thank you,
Luca

Re: A lot of errors/warnings

Posted: Mon Jan 09, 2006 7:51 pm
by cordel
forgiarini wrote: Jan 9 19:40:53 linux-server zmc_m1[354]: WAR [Unable to use netcam regexps as not compiled with libpcre]
Jan 9 19:41:02 linux-server last message repeated 37 times
Thank you,
Luca
Looks like you didn't have the pcre-devel installed when you built zm.

Corey

Re: A lot of errors/warnings

Posted: Mon Jan 09, 2006 8:32 pm
by forgiarini
cordel wrote:
forgiarini wrote: Jan 9 19:40:53 linux-server zmc_m1[354]: WAR [Unable to use netcam regexps as not compiled with libpcre]
Jan 9 19:41:02 linux-server last message repeated 37 times
Thank you,
Luca
Looks like you didn't have the pcre-devel installed when you built zm.

Corey
Thank you very much!
I've solved now one problem, but I still receive the error.
Jan 9 19:40:53 linux-server zmwatch[374]: ERR [Shared memory size conflict in shared_data, expected 56, got 64]
Do you know what could it be?

thank you,
Luca

Posted: Mon Jan 09, 2006 9:04 pm
by cordel
I was hoping that it would disapear once libpcre was compiled in.
Did you change the shared memory address in zm?
Or possibly (shooting in the dark here) maybe the image size or pallet are set incorrect, I haven't seen that error before.

Those are the only things that come to mind.

Posted: Mon Jan 09, 2006 9:29 pm
by Cylindric
I've seen that memory conflict, but I think it was when I tried to set up two cams in ZM pointing at one physical cam, with two different image sizes. Alternatively, it might have been when I pulled the cam out without stopping ZM first, or plugged it in without restarting ZM.

Posted: Mon Jan 09, 2006 10:10 pm
by forgiarini
I've made the first installation with a network camera, and the errors started from the first time.
Now I've got 2 cameras and I receive 2 times the error.
Jan 9 22:54:27 linux-server zmwatch[18582]: ERR [Shared memory size conflict in shared_data, expected 56, got 64]
Jan 9 22:54:27 linux-server zmwatch[18582]: ERR [Shared memory size conflict in shared_data, expected 56, got 64]
I've tryed to stop and restart ZM without success.
I've reinstalled the database, and withot cams there were no problems.
As I I've installed a new monitor the problem is come back.

What can do?

Thanks,
Luca

Posted: Wed Jan 11, 2006 6:03 pm
by zoneminder
Ah, I think this is a problem with different sizes for the same thing between C++ and perl on 64 bit machines. I've done a fix here which seems to work and will put it in rc3 which should be up in the next 24 hours.

Posted: Mon Feb 13, 2006 10:11 am
by dgsconseil
humm seem that suse fix shrmall and shrmmax to small
i've got all worked fine with this value on my computer with 512Mo
check it out at
http://www.zoneminder.com/forums/viewtopic.php?t=5686

Posted: Mon Feb 13, 2006 10:23 am
by cordel
Actualy this was the result of a database error where certain values were not populated correctly on a new install and has since been resolved and fixed on another thread.
http://www.zoneminder.com/forums/viewtopic.php?t=5468
Regards,
Corey