A lot of errors/warnings

Support and queries relating to all previous versions of ZoneMinder
Locked
forgiarini
Posts: 6
Joined: Sat Jan 07, 2006 11:49 am

A lot of errors/warnings

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Re: A lot of errors/warnings

Post 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
forgiarini
Posts: 6
Joined: Sat Jan 07, 2006 11:49 am

Re: A lot of errors/warnings

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
User avatar
Cylindric
Posts: 44
Joined: Mon Jan 02, 2006 2:41 pm
Location: Essex, UK

Post 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.
------- Mark -------
http://www.hanfordonline.co.uk
forgiarini
Posts: 6
Joined: Sat Jan 07, 2006 11:49 am

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
dgsconseil
Posts: 13
Joined: Sun Feb 12, 2006 3:20 pm

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
Locked