i've just installed zone minder on my ubuntu 6.10 machine, and as the subject says i've got a broken image when i attempt to view the cam.
details:
o zm is installed via the supplied .deb (1.22.3)
o apache2 with virtual hosts
o the webcam is local and using the spca5xx driver
o the cam is set up for "modetect" and via the events page i can see the stills
o it doesnt make a difference if i use nph-zms or zms as the streaming option
o my browser is ff 2.0.0.1 and non local (to the zm host) (mythtv is on the same host and mythweb works perfectly)
when i go directly to the url http://<hostname>/cgi-bin/zms i get a bunch of binary garbage however it is preceeded with an "ELF" string which leads me to believe apache is downloading the zms binary itself rather than executing it as a cgi.
at the cli, if i wget the page mentioned above, its md5 is the same as /cgi-bin/zms, which i guess means it is downloading the binary and not executing it.
logs:
Code: Select all
==> zmaudit.log <==
02/18/2007 18:04:06.818004 zmaudit[10352].DBG [Found filesystem monitor '1']
02/18/2007 18:04:06.819747 zmaudit[10352].DBG [Got 14 events]
02/18/2007 18:08:46.764318 zmaudit[10410].DBG [Found database monitor '1']
02/18/2007 18:08:46.876238 zmaudit[10410].DBG [Got 14 events]
02/18/2007 18:08:46.907696 zmaudit[10410].DBG [Found filesystem monitor '1']
02/18/2007 18:08:46.925992 zmaudit[10410].DBG [Got 14 events]
02/18/2007 18:09:00.281905 zmaudit[10437].DBG [Found database monitor '1']
02/18/2007 18:09:00.284482 zmaudit[10437].DBG [Got 14 events]
02/18/2007 18:09:00.317372 zmaudit[10437].DBG [Found filesystem monitor '1']
02/18/2007 18:09:00.318203 zmaudit[10437].DBG [Got 14 events]
Code: Select all
==> zmdc.log <==
02/18/2007 18:08:39.876812 zmdc[10309].INF ['zmupdate.pl -c' crashed, signal 14]
02/18/2007 18:08:39.877922 zmdc[10309].INF ['zmfilter.pl ' stopping at 07/02/18 18:08:39]
02/18/2007 18:08:39.880581 zmdc[10309].INF ['zmfilter.pl ' crashed, signal 14]
02/18/2007 18:08:39.881652 zmdc[10309].INF ['zma -m 1' stopping at 07/02/18 18:08:39]
02/18/2007 18:08:39.884210 zmdc[10309].INF ['zma -m 1' exited normally]
02/18/2007 18:08:39.885281 zmdc[10309].INF ['zmc -d /dev/video1' stopping at 07/02/18 18:08:39]
02/18/2007 18:08:39.974496 zmdc[10309].INF ['zmc -d /dev/video1' exited normally]
02/18/2007 18:08:39.975418 zmdc[10309].INF ['zmaudit.pl -c' stopping at 07/02/18 18:08:39]
02/18/2007 18:08:39.978096 zmdc[10309].INF ['zmaudit.pl -c' crashed, signal 14]
02/18/2007 18:08:53.813544 zmdc[10309].INF [Server shutdown at 07/02/18 18:08:53]
Code: Select all
==> zmfilter.log <==
02/18/2007 18:08:13.521312 zmfilter[10353].DBG [Sleeping for 60 seconds]
02/18/2007 18:08:47.132467 zmfilter[10408].INF [Scanning for events]
02/18/2007 18:08:52.137413 zmfilter[10408].DBG [Reloading filters]
02/18/2007 18:08:52.138417 zmfilter[10408].DBG [Sleeping for 60 seconds]
02/18/2007 18:09:01.038695 zmfilter[10438].INF [Scanning for events]
02/18/2007 18:09:06.052362 zmfilter[10438].DBG [Reloading filters]
02/18/2007 18:09:06.053377 zmfilter[10438].DBG [Sleeping for 60 seconds]
02/18/2007 18:10:06.059230 zmfilter[10438].DBG [Sleeping for 60 seconds]
02/18/2007 18:11:06.066142 zmfilter[10438].DBG [Sleeping for 60 seconds]
02/18/2007 18:12:06.073014 zmfilter[10438].DBG [Sleeping for 60 seconds]
Code: Select all
==> zmpkg.log <==
02/18/2007 18:03:51.285415 zmpkg[10299].INF [Command: start]
02/18/2007 18:08:38.394828 zmpkg[10397].INF [Command: stop]
Code: Select all
==> zmupdate.log <==
Code: Select all
==> zmwatch.log <==
02/18/2007 18:03:54.994098 zmwatch[10323].INF [Watchdog pausing for 30 seconds]
02/18/2007 18:04:05.191398 zmwatch[10354].INF [Watchdog starting]
02/18/2007 18:04:05.193112 zmwatch[10354].INF [Watchdog pausing for 30 seconds]
02/18/2007 18:04:06.178441 zmwatch[10351].INF [Watchdog starting]
02/18/2007 18:04:06.180170 zmwatch[10351].INF [Watchdog pausing for 30 seconds]
02/18/2007 18:08:46.367033 zmwatch[10351].INF [Restarting capture daemon for cam1, shared memory not valid]
02/18/2007 18:08:47.846235 zmwatch[10415].INF [Watchdog starting]
02/18/2007 18:08:47.848092 zmwatch[10415].INF [Watchdog pausing for 30 seconds]
02/18/2007 18:08:59.915329 zmwatch[10436].INF [Watchdog starting]
02/18/2007 18:08:59.917287 zmwatch[10436].INF [Watchdog pausing for 30 seconds]
Code: Select all
apache conf:
<VirtualHost *>
ServerAdmin email@email.address
ServerName zm.domain
ServerRoot /etc/apache2
DocumentRoot /var/www/zm
<Directory /var/www/zm>
Options FollowSymLinks
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch +FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/zm/cgi-bin>
AllowOverride None
Options ExecCGI
AddHandler cgi-script *
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/zm.error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/zm.access.log combined
ServerSignature Off
</VirtualHost>
so, i'm at a bit of a loss as to what's happening here. if someone could shed some light on the subject or point me in the right direction, i'd appreciate it..
regs
Ryszad