Page 1 of 1

some errors...and no jpg watched

Posted: Wed Jun 16, 2004 10:27 am
by boranucleare
Hi all....
I've installed zonealarm without need to have streaming video...so no ffmepg installed at all.
I would like to only see a jpg refreshed on web page.
here I will copy part of my log to try to understand if you could give me an help to solve the not seeing image in the box (with the rights dimendions.)
I'm using a network camera...the same you can see in the example in the screenshots....
The network camera has a directory where you can get the images nothing all....due to this fact I tryed to use an internat http server (the network camera shares the file in the same way),but the problem is the same.
Maybe there is somethin releted with php?
or this some modules in apache?
I'm using fedora core 2 and I solved all the libraries problem the installation creates....
here are the logs files:

tail -f /tmp/zmwatch.log *******************************************
Can't get shared memory id '2053971970': No such file or directory

tail -f /var/log/messages ***********************
Jun 17 12:13:09 port zmc-m1[16725]: INF [Debug Level = 0, Debug Log = ]
Jun 17 12:13:09 port zmc-m1[16725]: ERR [No host specified for remote get]
Jun 17 12:17:08 port zmc-m2[16732]: INF [Debug Level = 0, Debug Log = ]
Jun 17 12:17:08 port zma-m2[16731]: INF [Debug Level = 0, Debug Log = ]
Jun 17 12:17:08 port zmc-m2[16732]: ERR [Can't shmget: Invalid argument]
Jun 17 12:17:08 port zma-m2[16731]: ERR [Can't shmget: Invalid argument]


tail -f /tmp/zmdc *****************************************
Starting pending process, zma -m 2
'zma -m 2' started at 04/06/17 12:11:48
'zma -m 2' starting at 04/06/17 12:11:48, pid = 16719
Starting pending process, zmc -m 2
'zmc -m 2' started at 04/06/17 12:11:48
'zmc -m 2' starting at 04/06/17 12:11:48, pid = 16720
'zma -m 2' crashed at 04/06/17 12:11:48, exit status 255
'zmc -m 2' crashed at 04/06/17 12:11:48, exit status 255
Starting pending process, zmc -m 1
'zmc -m 1' starting at 04/06/17 12:13:09, pid = 16725
'zmc -m 1' started at 04/06/17 12:13:09
'zmc -m 1' crashed at 04/06/17 12:13:09, exit status 255
Starting pending process, zmfilter.pl
'zmfilter.pl' started at 04/06/17 12:13:58
'zmfilter.pl' starting at 04/06/17 12:13:58, pid = 16727
Can't locate MIME/Entity.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/local/bin/zmfilter.pl line 87.
BEGIN failed--compilation aborted at /usr/local/bin/zmfilter.pl line 87.
'zmfilter.pl ' crashed at 04/06/17 12:13:58, exit status 2
Starting pending process, zma -m 2
'zma -m 2' started at 04/06/17 12:17:08
'zma -m 2' starting at 04/06/17 12:17:08, pid = 16731
Starting pending process, zmc -m 2
'zmc -m 2' started at 04/06/17 12:17:08
'zmc -m 2' starting at 04/06/17 12:17:08, pid = 16732
'zmc -m 2' crashed at 04/06/17 12:17:08, exit status 255
'zma -m 2' crashed at 04/06/17 12:17:08, exit status 255

tail -f /var/log/httpd/error.log
[client 172.16.16.180] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21, referer: http://172.16.17.73/index.php?view=watch&mid=2
[client 172.16.16.180] PHP Notice: Undefined variable: bandwidth in /var/www/html/zm_html.php on line 21, referer: http://172.16.17.73/index.php?view=watch&mid=2
[client 172.16.16.180] PHP Notice: Undefined variable: php_self in /var/www/html/zm_html_view_watchmenu.php on line 75, referer: http://172.16.17.73/index.php?view=watch&mid=2
[client 172.16.16.180] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21, referer: http://172.16.17.73/index.php?view=watch&mid=2
[client 172.16.16.180] PHP Notice: Undefined variable: bandwidth in /var/www/html/zm_html.php on line 21, referer: http://172.16.17.73/index.php?view=watch&mid=2
[client 172.16.16.180] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21, referer: http://172.16.17.73/index.php?view=watch&mid=2
[client 172.16.16.180] PHP Notice: Undefined variable: bandwidth in /var/www/html/zm_html.php on line 21, referer: http://172.16.17.73/index.php?view=watch&mid=2
[client 172.16.16.180] PHP Notice: Undefined offset: 1 in /var/www/html/zm_html_view_watchstatus.php on line 33, referer: http://172.16.17.73/index.php?view=watch&mid=2
[client 172.16.16.180] PHP Notice: Undefined variable: last_status in /var/www/html/zm_html_view_watchstatus.php on line 57, referer: http://172.16.17.73/index.php?view=watch&mid=2
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 59, referer: http://172.16.17.73/index.php?view=watch&mid=2
[client 172.16.16.180] PHP Notice: Undefined variable: force in /var/www/html/zm_html_view_watchstatus.php on line 60, referer: http://172.16.17.73/index.php?view=watch&mid=2
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 60, referer: http://172.16.17.73/index.php?view=watch&mid=2
[client 172.16.16.180] PHP Notice: Undefined variable: force in /var/www/html/zm_html_view_watchstatus.php on line 102, referer: http://172.16.17.73/index.php?view=watch&mid=2
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 102, referer: http://172.16.17.73/index.php?view=watch&mid=2
[Thu Jun 17 12:11:20 2004] [error] [client 172.16.16.180] Premature end of script headers: zms, referer: http://172.16.17.73/index.php?view=watc ... &scale=100

DO YOU NEED OTHERS LOGS?
thks all

Posted: Wed Jun 16, 2004 10:31 am
by boranucleare
is there anybody who can help me to better understand the differences in the program setup between network cameras and local cameras?!?!?!?
Thks

Posted: Wed Jun 16, 2004 1:02 pm
by djsb
Network cameras are cameras that have an IP address and do not connect directly to the server.

Local cameras are cameras that are directly connected to the server.

Posted: Wed Jun 16, 2004 1:29 pm
by zoneminder
It looks like you maybe have two main problem, the first is related to shared memory, check the FAQ to find the answer to that one. The second is expressed by this
Jun 17 12:13:09 port zmc-m1[16725]: ERR [No host specified for remote get]
This implies that when you set up the network camera source you didn't fill in the ip address or host of the camera. Can you post here that model of camera you used and what settings you defined in ZM for it.

Phil,

ps. It's ZoneMinder not ZoneAlarm here! :?

Posted: Wed Jun 16, 2004 3:38 pm
by boranucleare
my camera is an AXIS 205...like your sreenshots...
(do you thing zoneminder works if I use a normal apahce web server to share the image?)

I changed the flag for the shared momery....but i still have this error...
here is the log zmdc.log



Starting pending process, zmc -m 2
'zmc -m 2' started at 04/06/17 17:29:32
'zmc -m 2' starting at 04/06/17 17:29:32, pid = 5544
Starting pending process, zmfilter.pl
'zmfilter.pl' started at 04/06/17 17:29:32
'zmfilter.pl' starting at 04/06/17 17:29:32, pid = 5545
zmc: zm_image.h:192: void Image::CopyBuffer(const Image&): Assertion `width == image.width && height == image.height && colours == image.colours' failed.
'zmc -m 2' died at 04/06/17 17:29:32, signal 6
Can't locate MIME/Entity.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/local/bin/zmfilter.pl line 87.
BEGIN failed--compilation aborted at /usr/local/bin/zmfilter.pl line 87.
'zmfilter.pl ' crashed at 04/06/17 17:29:32, exit status 2



*************************************************************************************************************************************
web server error log



[client 172.16.16.180] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21, referer: http://172.16.17.73/index.php?view=watc ... &scale=100
[client 172.16.16.180] PHP Notice: Undefined variable: last_status in /var/www/html/zm_html_view_watchstatus.php on line 57, referer: http://172.16.17.73/index.php?view=watc ... &scale=100
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 59, referer: http://172.16.17.73/index.php?view=watc ... &scale=100
[client 172.16.16.180] PHP Notice: Undefined variable: force in /var/www/html/zm_html_view_watchstatus.php on line 60, referer: http://172.16.17.73/index.php?view=watc ... &scale=100
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 60, referer: http://172.16.17.73/index.php?view=watc ... &scale=100
[client 172.16.16.180] PHP Notice: Undefined variable: force in /var/www/html/zm_html_view_watchstatus.php on line 102, referer: http://172.16.17.73/index.php?view=watc ... &scale=100
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 102, referer: http://172.16.17.73/index.php?view=watc ... &scale=100
[client 172.16.16.180] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21, referer: http://172.16.17.73/index.php?view=watc ... &scale=100
[client 172.16.16.180] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21, referer: http://172.16.17.73/index.php?view=watc ... 2&scale=75
[client 172.16.16.180] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21, referer: http://172.16.17.73/index.php?view=watc ... 2&scale=75
[client 172.16.16.180] PHP Notice: Undefined variable: php_self in /var/www/html/zm_html_view_watchmenu.php on line 75, referer: http://172.16.17.73/index.php?view=watc ... 2&scale=75
[client 172.16.16.180] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21, referer: http://172.16.17.73/index.php?view=watc ... 2&scale=75
[client 172.16.16.180] PHP Notice: Undefined variable: last_status in /var/www/html/zm_html_view_watchstatus.php on line 57, referer: http://172.16.17.73/index.php?view=watc ... 2&scale=75
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 59, referer: http://172.16.17.73/index.php?view=watc ... 2&scale=75
[client 172.16.16.180] PHP Notice: Undefined variable: force in /var/www/html/zm_html_view_watchstatus.php on line 60, referer: http://172.16.17.73/index.php?view=watc ... 2&scale=75
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 60, referer: http://172.16.17.73/index.php?view=watc ... 2&scale=75
[client 172.16.16.180] PHP Notice: Undefined variable: force in /var/www/html/zm_html_view_watchstatus.php on line 102, referer: http://172.16.17.73/index.php?view=watc ... 2&scale=75
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 102, referer: http://172.16.17.73/index.php?view=watc ... 2&scale=75
[client 172.16.16.180] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21, referer: http://172.16.17.73/index.php?view=watc ... 2&scale=75
[client 172.16.16.180] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 59
[client 172.16.16.180] PHP Notice: Undefined variable: force in /var/www/html/zm_html_view_watchstatus.php on line 60
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 60
[client 172.16.16.180] PHP Notice: Undefined variable: force in /var/www/html/zm_html_view_watchstatus.php on line 102
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 102
[client 172.16.16.180] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 59
[client 172.16.16.180] PHP Notice: Undefined variable: force in /var/www/html/zm_html_view_watchstatus.php on line 60
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 60
[client 172.16.16.180] PHP Notice: Undefined variable: force in /var/www/html/zm_html_view_watchstatus.php on line 102
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 102
[client 172.16.16.180] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 59
[client 172.16.16.180] PHP Notice: Undefined variable: force in /var/www/html/zm_html_view_watchstatus.php on line 60
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 60
[client 172.16.16.180] PHP Notice: Undefined variable: force in /var/www/html/zm_html_view_watchstatus.php on line 102
[client 172.16.16.180] PHP Notice: Undefined variable: forced in /var/www/html/zm_html_view_watchstatus.php on line 102
[client 172.16.16.180] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /var/www/html/zm.php on line 21
[Thu Jun 17 17:31:52 2004] [error] [client 172.16.16.180] (70007)The timeout specified has expired: ap_content_length_filter: apr_bucket_read() failed, referer: http://172.16.17.73/index.php?view=watc ... &scale=100


**************************************************************************************************************************************

do you need other logs?

Posted: Wed Jun 16, 2004 3:50 pm
by zoneminder
I think you can ignore the web error log as most of those are just warnings. The MIME/Entity one is a perl module used by zmfilter. The README details how to install that but for now it's not important.

You have another strange error though, can you do

zmu -U<username> -P<password> -q -v -m <id>

where <username> and <password> are for the admin user on your system and <id> is the id number of your monitor. If you don't use authentication then forget the -U and -P parameters. Then post the results here. For my Axis-205 these are some of my settings

Name : Axis205
Type : Remote
Host : 192.168.123.456
Port : 80
Path : /mjpg/video.mjpg
Width : 320
Height : 240
Palette : 4
Colours : 3

Phil,
[/i]

Posted: Thu Jun 17, 2004 9:03 am
by boranucleare
Hi Phil,
I'm doing a lot of test with the AXIS and with a simple web server apache who can share the image.jpg in the same way the axis205 can do (is it a good test?)
I tryed to change the setting adding and removing the "/", but I didn't solved yet.
Here are my settings...but before...i need to thank you for your help and for your work with this software...
If I will solve the problems...I will adopt it surely....I thing itìs the best software in internet now.... ( :-) but iI need to be only confident with screenshots :-)


thnks again
Fabio

Posted: Thu Jun 17, 2004 9:04 am
by boranucleare
Hi Phil,
I'm doing a lot of test with the AXIS and with a simple web server apache who can share the image.jpg in the same way the axis205 can do (is it a good test?)
I tryed to change the setting adding and removing the "/", but I didn't solved yet.
Here are my settings...but before...i need to thank you for your help and for your work with this software...
If I will solve the problems...I will adopt it surely....I thing itìs the best software in internet now.... ( :-) but iI need to be only confident with screenshots :-)
[root@port root]# zmu -q -v -m 2
Monitor 2(remote1)
Id : 2
Name : remote1
Type : Remote
Host : 172.16.17.73
Port : 80
Path : /test.jpg
Width : 400
Height : 300
Palette : 1
Colours : 1
Label Format : %%s - %y/%m/%d %H:%M:%S
Label Coord : 0,0
Image Buffer Count : 100
Warmup Count : 25
Pre Event Count : 10
Post Event Count : 10
Section Length : 600
Maximum FPS : 1.00
Reference Blend %ge : 10
Function: 2 - Monitor
Zones : 1
Id : 2
Label : All
Type: 1 - Active
Limits : 0,0 - 399,299
Alarm RGB : ff0000
Check Method: 3 - Blobs
Min Pixel Threshold : 25
Max Pixel Threshold : 0
Min Alarm Pixels : 3600
Max Alarm Pixels : 90000
Filter Box : 3,3
Min Filter Pixels : 3600
Max Filter Pixels : 90000
Min Blob Pixels : 2400
Max Blob Pixels : 0
Min Blobs : 1
Max Blobs : 0


thnks again
Fabio

SOLVED!!!!!

Posted: Fri Jun 18, 2004 2:26 pm
by boranucleare
hi Phil,
first of all thanks for your work and help....
Software is working now.
I still have some problems with perl in the logs....I've seen in the forum I'm not alone......but never mind....the software anyway works!!!!

Now I'm testing with a webserver where an image is ready to be get from the zoneminder....and now I'm ready to go on and use a real network camera.
I would like to explain where was my problem.... :
THE ONLY ISSUE was reletad with the dimensions of the picture I use in the eb server (ip camera).
If I change the dim of 1 pixel more or less form the real dimensions of the picture....the image CAN'T be seen in the window.
I can suggest you to underline this important aspect in your guides to avoid someone else could misunderstand thinking the Y and X dimentions are only related with the scale of the image!
I say again....the dimentions set need to be the real dimensions of the web camera output!

That's all....I hope to be solver for anybody who meet this problem...
bye
Fabio