intellinet 550291 opensuse 11.1 zm 1.24.1

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
aberto
Posts: 5
Joined: Mon May 25, 2009 10:50 am
Location: italy

intellinet 550291 opensuse 11.1 zm 1.24.1

Post by aberto »

When I start the monitor I see a black screen.

My settings:
remote host name: ext_uno
port: 80
remote host name: ext_uno
remote host path: 192.168.1.221
remote host sub path: jpg/ext_uno.jpg
color depth: 24
image width: 352
image height: 288

My zm log:
05/25/09 16:39:05.179692 zmc_m1[17937].INF-zm_debug.c/292 [New Debug Level = 5, New Debug Log = /var/log/zm/zm_debug.log.17937]
05/25/09 16:39:05.180811 zmc_m1[17937].DB1-zm_monitor.cpp/2260 [Got 1 monitors]
05/25/09 16:39:05.374828 zmc_m1[17937].FAT-zm_remote_camera.cpp/67 [Can't gethostbyname(ext_uno): Operation not permitted]

My zm log:
05/25/09 17:55:12.285971 zmc_m1[19466].DB3-zm_remote_camera_http.cpp/692 [Got connection 'Keep-Alive']
05/25/09 17:55:12.286000 zmc_m1[19466].DB3-zm_remote_camera_http.cpp/698 [Got content length '32']
05/25/09 17:55:12.286029 zmc_m1[19466].DB3-zm_remote_camera_http.cpp/726 [Got content type 'text/plain']
05/25/09 17:55:12.286058 zmc_m1[19466].ERR-zm_remote_camera_http.cpp/768 [Unrecognised content type 'text/plain']
05/25/09 17:55:12.286356 zmc_m1[19466].ERR-zm_remote_camera_http.cpp/1042 [Unable to get response]
05/25/09 17:55:12.286439 zmc_m1[19466].ERR-zmc.cpp/258 [Failed to capture image from monitor 1 (0/1)]

My zmwatch.log (obviously):
05/25/09 16:22:40.754221 zmwatch[15211].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]

apache error.log is clean

if I change the hostname with the ip:

My zm log:
05/25/09 16:59:36.157129 zmc_m1[18318].ERR-zm_remote_camera_http.cpp/682 [Invalid response status 404: Not Found]

thanks for help
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

see documentation on shared memory then post if you have problems
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

http://www.zoneminder.com/wiki/index.php/Documentation

edit /etc/sysctl.conf and add the following lines (for 128meg shared mem)

kernel.shmall = 134217728
kernel.shmmax = 134217728

Download cambozola.jar and put it in /usr/share/zoneminder Enable in options->Images.

Set path to ffmpeg in options -> Images /usr/bin/ffmpeg

test with xawtv (-nodga may be needed)
aberto
Posts: 5
Joined: Mon May 25, 2009 10:50 am
Location: italy

Post by aberto »

ipcs -l output
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 4194303
max total shared memory (kbytes) = 1073740800
min seg size (bytes) = 1

------ Semaphore Limits --------
max number of arrays = 1024
max semaphores per array = 250
max semaphores system wide = 256000
max ops per semop call = 32
semaphore max value = 32767

------ Messages: Limits --------
max queues system wide = 422
max size of message (bytes) = 65536
default max size of queue (bytes) = 65536

shared memory seem to be ok (I need 40*24*352*288),
cambozola.jar and other settings don't change the result.
I can see the camera using the web manager (http://address) and download image with wget. Other?
User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Post by monex »

Hi,

it looks like it's not a shared memory issue because your first error is Unrecognised content type 'text/plain'. I guess you have configured your camera wrong. Did you specify the IP address with http://ip because also gethostbyname failed. Try to us only the IP address without http://

Hope this helps
Image
aberto
Posts: 5
Joined: Mon May 25, 2009 10:50 am
Location: italy

Post by aberto »

I tried both configurations, as you can see in my first post the error appears with the configuration that should be corrected. I tried also to exclude the firewall without success. I am beginning to think that depends on the netcam.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

ok i see prob

remote host sub path: jpg/ext_uno.jpg


try


remote host sub path: /jpg/ext_uno.jpg

the slash
aberto
Posts: 5
Joined: Mon May 25, 2009 10:50 am
Location: italy

Post by aberto »

I tried it, same problem. I'm trying to setup on another pc, maybe depends on the chipset of the mainboard.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

mke sure
http://<camIP>/jpg/ext_uno.jpg
relly works in web browser
aberto
Posts: 5
Joined: Mon May 25, 2009 10:50 am
Location: italy

Post by aberto »

I installed everything on another PC, now it works (with: http://<camIP>/jpg/ext_uno.jpg). When I understand why it did not work I replay on this post. Tanks for the help.
Post Reply