After checking up the web for a GPL surveilance software solution, I found this piece of software.
It great, I got it working on a test machine at my home with webcams and video capture devices as an installing exercise.
Now when I want to put the software at WORK in an production environment I have troubles with it.
The problem is that I can't get stream images at monitoring and event viewing.
Here's a short description of my system:
I'm using Slackware 10.2 on an 2.6.13 customized by me kernel (same as the working testing machine).
PIII730Mhz,256RAM,10GBHDD
- ZM 1.22.2
- MustekWcam300 USB webcam with spca5xx kernel module
ZM compiled with the following opts:
./configure --with-webdir=/var/www/htdocs/zm \
--with-cgidir=/var/www/cgi-bin \
--with-webuser=nobody \
--with-webdir=/var/www/htdocs \
--with-webgroup=nogroup \
--with-ffmpeg=/usr/local
compiled all the required perl modules & all the optionals on this machine (ffmpeg,mpeg_encode,cambozola):
root@cabinet:~# ls -la /var/www/htdocs/|grep cambo
-rw-r--r-- 1 nobody nogroup 62508 2006-02-19 19:35 cambozola-server.jar
-rw-r--r-- 1 nobody nogroup 42531 2006-02-19 19:35 cambozola.jar
root@cabinet:~# ls -la /var/www/cgi-bin/|grep zms
-rwxr-xr-x 2 nobody nogroup 1180215 2006-06-07 12:11 nph-zms*
-rwxr-xr-x 2 nobody nogroup 1180215 2006-06-07 12:11 zms*
...cambozola version 0.68
camera is set at 320x240 px in RGB24 mode and is working in xawtv on /dev/video1 (/dev/v4l/video1)
Modect mode in ZM is working and recording, but can't watch the events.
In combozola applet I get the following error:
NO MAIN CONTENT TYPE.
I've tried also with firefox and/or mozilla but I get no image at all.
I also tried increasing shmmax:
root@cabinet:~# cat /proc/sys/kernel/shmmax
134217728
root@cabinet:~# cat /proc/sys/kernel/shmall
134217728
but stil no results!
odd is that I get no errors in the log files, debugs....
finally, I got to the bottom of the problem and here i'm answering to my own quiestion:
the problem was with cambozola (I had 0.68 from the tarball)
I even tried with the version 0.68 compiled with ant but also no luck
After that I dowloaded 0.22 as the admin of this site said.
The streaming in Winxp/IE6 started to work BUT when I press the close button of the window with the streaming, all the browser windows closes (happens also with opera 8.51 in windows).
Unfortunately with firefox/netscape or opera under linux, streaming is not working (even with version 0.22).
I tried also with cambozola 0.50 (precompiled & compiled with ant on the local server), it happens exactly like version 0.22.
Other Threads:
0x031c5c40 VMThread [id=3252]
0x0329df98 WatcherThread [id=872]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 576K, used 402K [0x100e0000, 0x10180000, 0x10840000)
eden space 512K, 78% used [0x100e0000, 0x10144990, 0x10160000)
from space 64K, 0% used [0x10160000, 0x10160000, 0x10170000)
to space 64K, 0% used [0x10170000, 0x10170000, 0x10180000)
tenured generation total 2132K, used 1278K [0x10840000, 0x10a55000, 0x160e0000)
the space 2132K, 59% used [0x10840000, 0x1097f8e8, 0x1097fa00, 0x10a55000)
compacting perm gen total 8192K, used 6166K [0x160e0000, 0x168e0000, 0x1a0e0000)
the space 8192K, 75% used [0x160e0000, 0x166e5b48, 0x166e5c00, 0x168e0000)
No shared spaces configured.
firefox can rad mjpeg streams nativly, the cambozola thing is just a jave app hat allows ie to view the same stream. I find it strange that firefox wont work, I assume you are set to jpeg stream and using new firefox on windows?
wit windows it's clear now, using IE and cambozola 0.5 works fine
actually i'm using firefox (1.0.6) that came under slackware 10.2
i'd like to monitor the location from wherever i might be, independent of the browser and/or system
situation is like tis:
i staretd to learn on my home testing machine how to install ZM, that machine it fine, i can watch streams from every platform, every browser
it's the machine in production that I have problems with (the box described above)
the ZM & other needed servers (mysql & apache) are on the same box, and i'm also trying to see the live streams from the same box
any ideeas?!?
ZM is configured as jpeg stream with automatic detection of browser streaming capability, cambozola package installed and option checked
yes, i'm using firefox on the server box trying to look at the box's ZM
I tried also with konq, opera & netscape but no luck
PM me if you'd like to take a look for yourself (i'm logged on the machine for another 3 hors), availale Linux remote desktop sharing a.k.a. VNC
still don't get it why I can watch ZM streams from another server and not the local one
one mor thing ... I tried last night to watch streams from another linux box, doesn't work either