Forum for questions and support relating to the 1.25.x releases only.
ketchoupi
Posts: 11 Joined: Sat Jun 02, 2012 4:54 pm
Post
by ketchoupi » Sat Jan 18, 2014 4:45 pm
hello
i've this message in log
zmwatch 1641 ERR Shared data size conflict in shared_data for monitor webcam, expected 328, got 316 zmwatch.pl
but i dont understand why.
i've only one usb camera ok and others (foscam and dlink) are red
i'm on ubuntu 12.04 with 4 go of ram ...... and in /etc/sysctl.conf
Code: Select all
kernel.shmall = 134217728
kernel.shmmax = 800000000
thanks
wussery
Posts: 12 Joined: Sun Jan 12, 2014 11:27 pm
Post
by wussery » Sun Jan 19, 2014 4:14 am
What Foscam model are you using?
This works for a Foscam FI8910W
I couldn't get things to work until my setup was as follows:
Remote Protocol: HTTP
Remote Method: Simple
Remote Host Name: yourcameraurl
Remote Port: xxxx
Remote Host Path: /videostream.cgi?user=YOURUSERID&pwd=YOURPASSWORD
Remote Image Colours: 24 bit Colour
Capture Width (pixels): 640
Capture Height (pixels): 480
Preserve Aspect Ratio: Unchecked
Orientation: Normal
TheKorn
Posts: 142 Joined: Fri Aug 02, 2013 12:39 pm
Post
by TheKorn » Sun Jan 19, 2014 1:25 pm
It sounds crazy, but try restarting zoneminder from the control panel. Often times I'll get a shared memory error when changing memory sizes (especially if I'm increasing the buffers), and it'll just go away by restarting zm. (i.e. it's a valid configuration, zm or the os just doesn't like changing that much.)
ketchoupi
Posts: 11 Joined: Sat Jun 02, 2012 4:54 pm
Post
by ketchoupi » Mon Jan 20, 2014 8:21 pm
thanks for your answer
for foscam, before it was ok and i've same parameters
restart with web interface give :
Code: Select all
2014-01-20 21:17:18.113620 zmwatch 4678 ERR Shared data size conflict in shared_data for monitor webcam, expected 328, got 316 zmwatch.pl
2014-01-20 21:17:08.260560 zmdc 4642 ERR 'zmc -m 7' exited abnormally, exit status 255 zmdc.pl
2014-01-20 21:17:08.244096 zmc_m7 5908 ERR Failed to capture image from monitor 7 (0/1) zmc.cpp 263
2014-01-20 21:17:08.243502 zmc_m7 5908 ERR Unable to get response zm_remote_camera_http.cpp 1097
2014-01-20 21:17:08.242852 zmc_m7 5908 ERR Invalid response status 401: Unauthorized zm_remote_camera_http.cpp 714
2014-01-20 21:17:08.228711 zmc_m7 5908 INF Starting Capture zmc.cpp 191
2014-01-20 21:17:08.111140 zmwatch 4678 ERR Shared data size conflict in shared_data for monitor webcam, expected 328, got 316 zmwatch.pl
2014-01-20 21:17:08.108080 zmdc 5908 INF 'zmc -m 7' started at 14/01/20 21:17:08 zmdc.pl
2014-01-20 21:17:08.107820 zmdc 4642 INF 'zmc -m 7' starting at 14/01/20 21:17:08, pid = 5908 zmdc.pl
2014-01-20 21:17:08.103150 zmdc 4642 INF Starting pending process, zmc -m 7 zmdc.pl
2014-01-20 21:17:07.747930 zmc_dvideo0 4666 INF webcam: 6000 - Capturing at 10.00 fps zm_monitor.cpp 2598
i don't undertand why
ketchoupi
Posts: 11 Joined: Sat Jun 02, 2012 4:54 pm
Post
by ketchoupi » Mon Jan 27, 2014 12:08 pm
for change error message :
edit
sudo nano /usr/share/perl5/ZoneMinder/Memory.pm
and change
Code: Select all
# Native architecture
our $arch = int(3.2*length(~0));
to
Code: Select all
# Native architecture
our $arch = 32;
and restart zoneminder.