Page 1 of 1
Newly Installed but watch page not working
Posted: Tue Mar 14, 2006 11:44 am
by RichyF
Hi guys
Im not sure if im capturing images from my cameras or even if the system is working. I have a standard fedora 4 installed. I have installed all of the requirements then done a
Code: Select all
"./configure --with-webdir=/var/www/html/ --with-cgidir=/var/www/cgi-bin"
make
make install
SQL server has been setup and seems to be working fully. The ZM interface seems to work ok and i have added my funky bad camera's (2 x gadspot nc-1000's).
One of my cameras is setup as per the following
Maximum FPS : 0
Remote Host Name : 192.168.15.4
Remote Host Port : 80
Remote Host Path : /Jpeg/CamImg.jpg
If i browse to
http://192.168.15.4/Jpeg/CamImg.jpg i get a nice images of my doorway but im not getting any recorded activity and a broken link image in my watch screen.
Where should i start debugging process? How do i check if the zm is getting the image ok to start with etc?
Thanks for any help
Cheers guys
Richy
Posted: Tue Mar 14, 2006 1:41 pm
by jameswilson
id check your logs and see whats happening
Posted: Thu Mar 16, 2006 10:37 am
by RichyF
Code: Select all
03/16/06 10:36:16.076049 zmdc[2314].INF [Starting pending process, zma -m 2]
03/16/06 10:36:16.077573 zmdc[2418].INF ['zma -m 2' started at 06/03/16 10:36:16]
03/16/06 10:36:16.078678 zmdc[2314].INF ['zma -m 2' starting at 06/03/16 10:36:16, pid = 2418]
03/16/06 10:36:16.096033 zmdc[2314].ERR ['zma -m 2' crashed, exit status 255]
Thats my logs from my zmdc.log
Is it possible to tell from that what im doing wrong?
Can anyone suggest a menu for debugging what ive done wrong?
Cheers
Imageless Richy
Posted: Thu Mar 16, 2006 10:44 am
by jameswilson
to me it looks like your not getting images into zm from the cam. Do you have any other 'normal' cams to test with or use one of axis's demo cams on the web to check your config then you can play with the gadspots
hmm
Posted: Thu Mar 16, 2006 11:40 am
by RichyF
These worked on my old setup which seems odd it doesnt on the new one.
Has anyone got the settings for the axis cameras so i can test it?
Also it seems odd that it sais "crashed". If i enter in the url in my browser (
http://192.168.15.4/Jpeg/CamImg.jpg) and wget that image on the actual server they both show the image fine which is odd.
Cheers for your help
Richy
Posted: Thu Mar 16, 2006 2:40 pm
by jameswilson
have you checked if your using reg-exp and http 1.0
I have completely re-installed using the iso
Posted: Fri Mar 17, 2006 1:25 pm
by RichyF
Hi guys
I have completely re-installed my new server using the fedora 3 iso, im now running 2 servers. One is installed from the liveCD and one is installed on from the Fedora 3 ISO.
My original server is running the LiveCD and that is working fine with my cameras using the snapshot feature of the camera "
http://192.168.1.5/Jpeg/CamImg.jpg".
However with the exact same settings on my newly installed server (fedora 3 iso version) it is not working. I can ping both camers and a wget gets the images fine.
If i run "zmu -m 9 -q -v" on the working server i get :-
Code: Select all
Id : 9
Name : 14thfloor1
Type : Remote
Host : 192.168.1.5
Port : 80
Path : /Jpeg/CamImg.jpg
Width : 640
Height : 480
Palette : 4
Colours : 3
Event Prefix : Event-
Label Format : %%s - %y/%m/%d %H:%M:%S
Label Coord : 0,0
Image Buffer Count : 40
Warmup Count : 25
Pre Event Count : 10
Post Event Count : 10
Alarm Frame Count : 1
Section Length : 600
Maximum FPS : 0.00
Reference Blend %ge : 10
Track Motion : 0
Function: 2 - Monitor
Zones : 1
Id : 12
Label : All
Type: 1 - Active
Limits : 0,0 - 639,479
Alarm RGB : ff0000
Check Method: 3 - Blobs
Min Pixel Threshold : 25
Max Pixel Threshold : 0
Min Alarm Pixels : 9216
Max Alarm Pixels : 230400
Filter Box : 3,3
Min Filter Pixels : 9216
Max Filter Pixels : 230400
Min Blob Pixels : 6144
Max Blob Pixels : 0
Min Blobs : 1
Max Blobs : 0
Running it on my new box doesnt output anything
"./zmu -m 2 -q -v"
I have noticed i cant run the new one without ./ infront, could that have anything to do with it?
Can anyone help?
Cheers Richy