No picture on the watch screen.

Support and queries relating to all previous versions of ZoneMinder
vahan1
Posts: 15
Joined: Sat Apr 01, 2006 4:33 am

Post by vahan1 »

interesting, sounds logical. I'm running 1.3 - most people are probably on 2.x and dont' see this. I'll consider upgrading to 2.x and see if it changes the behavior

thanks
kasper
Posts: 2
Joined: Thu Jun 08, 2006 1:59 pm

Post by kasper »

I'm having the same problem, but switching to zms instead of nph-zms adds trouble.

with zms I get :

Code: Select all

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-16 mod_perl/1.999.21 Perl/v5.8.4 Server at 192.168.1.202 Port 80
I have tried to install zoneminder on debian_ppc , gentoo_amd64 and now on debian_i386.

I always have the same problem, "the broken image symbol" I'm using an ip-cam, with compatible preset (Gadspot), wget-ting the image always works.


/var/log/messages contains loads of these:

Code: Select all

Jun  8 18:47:47 localhost zmwatch[7543]: INF [Restarting capture daemon for cam1, shared memory not valid] 
Jun  8 18:47:47 localhost zmdc[8467]: INF ['zmc -m 1' started at 06/06/08 18:47:47] 
Jun  8 18:47:47 localhost zmc_m1[8467]: INF [Debug Level = 0, Debug Log = <none>]
Jun  8 18:47:47 localhost zmdc[7504]: INF ['zmc -m 1' starting at 06/06/08 18:47:47, pid = 8467] 
Jun  8 18:47:47 localhost zmwatch[7543]: INF ['zmc -m 1' started at 06/06/08 18:47:47] 

I did increase the shared memory according to http://www.zoneminder.com/wiki/index.php/Yadig


/var/log/apache2/error.log

Code: Select all

[Thu Jun 08 18:08:05 2006] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-16 mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Thu Jun 08 18:13:52 2006] [error] [client 192.168.1.213] Premature end of script headers: zms, referer: http://192.168.1.202/zm/index.php?view=watchfeed&mode=&mid=1&scale=100&control=
[Thu Jun 08 18:41:53 2006] [error] [client 192.168.1.213] Premature end of script headers: zms
[Thu Jun 08 18:42:11 2006] [error] [client 192.168.1.213] Premature end of script headers: zms
[Thu Jun 08 18:52:40 2006] [error] [client 192.168.1.213] Premature end of script headers: zms
[Thu Jun 08 18:53:21 2006] [error] [client 192.168.1.213] File does not exist: /var/www/var, referer: http://192.168.1.202/zm/index.php?view=watchfeed&mode=&mid=1&scale=100&control=

I really hope someone can help me on this
vahan1
Posts: 15
Joined: Sat Apr 01, 2006 4:33 am

Post by vahan1 »

can you post the command line you compiled zoneminder with?

looks like web root might be set wrong according to
File does not exist: /var/www/var
but i might be wrong ;)

-v
kasper
Posts: 2
Joined: Thu Jun 08, 2006 1:59 pm

Post by kasper »

./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data



you'r right that it the path don't look right though. maybe I have to recompile with different webroot loacation



I donj't know, it all looks right

Kasper
Locked