Page 1 of 1
Cambozola not working
Posted: Thu Nov 13, 2003 9:22 am
by loop
I have installed ZM on RH9 and streaming from Pinnacle TV card. With stills it works OK but cambozola V0.34 doesn't show anything it only displays "Cambozola V0.34 by ...."
The client PC is Win2000, jre 1.4.1, IE6
If I connect from this same client PC to another ZM host with Logitech web cam, cambozola works, but images are distorted in the bottom part.
What could be wrong?
Re: Cambozola not working
Posted: Thu Nov 13, 2003 10:47 am
by zoneminder
Hi Darko,
Which version of ZM are you using on the RH9 machine? It sounds like zms is crashing in that instance, can you run it from the command line?
Also, I would recommend using Cambozola v.22 (you can get it from the Downloads section here) as later versions seem to have these artefacts on for some reason I've never been able to figure out.
Phil,
Re: Cambozola not working
Posted: Thu Nov 13, 2003 1:05 pm
by loop
Hi Phil,
I'm using ZM 0.9.16 beta3 on RH9.
zms is located in /var/www/cgi-folder, so I can only start it from there. When I run it from shell it doesn't give any output at all.
/var/log/messages doesn't display any ERR message. Should I check somewhere else?
So cambozola only displays Author message and then after a while it says Connection reset.
Re: Cambozola not working
Posted: Thu Nov 13, 2003 1:20 pm
by loop
Here's log from java console:
// Cambozola V0.22 (c) Andy Wilcock, 2001
// Available from
http://www.charliemouse.com/code/cambozola/
java.net.SocketException: socket closed
java.net.SocketException: socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at java.io.DataInputStream.readLine(DataInputStream.java:503)
at com.charliemouse.cambozola.shared.StreamSplit.readHeaders(Unknown Source)
at com.charliemouse.cambozola.shared.CamStream.run(Unknown Source)
// Cambozola V0.22 (c) Andy Wilcock, 2001
// Available from
http://www.charliemouse.com/code/cambozola/
java.net.SocketException: Connection reset
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at java.io.DataInputStream.readLine(DataInputStream.java:503)
at com.charliemouse.cambozola.shared.StreamSplit.readHeaders(Unknown Source)
at com.charliemouse.cambozola.shared.CamStream.run(Unknown Source)
Re: Cambozola not working
Posted: Thu Nov 13, 2003 1:31 pm
by zoneminder
Yes, I don't think it's a problem with the Java. I assume by the way you are talking about streaming 'live' video rather than events in these examples.
zms should run by itself and produce a continuous output to stdout. If it's not it's because it is crashing or because it's trying to stream a non-existant monitor. By default, with no arguments it will try to stream monitor id 1 I think. If you don't have that then you will have set the QUERY_STRING environment variable to the one that is passed into it, if you click on Cambozola it will give you the url. Set QUERY_STRING to the string from the next character after the ? onwards.
However I suspect it's crashing, to check this run it in gdb as by typing
gdb zms
then at the prompt type
run
you should soon find out if it crashes or exits.
It's also worth checking that the binary really is the most recent version as it sounds like a problem that existed in one of the early betas but which was since fixed.
Phil,
Re: Cambozola not working
Posted: Thu Nov 13, 2003 1:39 pm
by loop
Yes, streaming video. But the same problem is when viewing events, stream doesn't work, stills do work.
Zms isn't crashing. gdb shows on std --ZoneMinderFrame every few seconds.
Regards, Darko
Re: Cambozola not working
Posted: Thu Nov 13, 2003 1:51 pm
by zoneminder
Hmm, in that case I am running out of ideas. Have you tried it with Mozilla or another browser that supports stream natively to make sure that the streaming at the server end is ok?
If that works it will confirm that server is ok and if you can see other servers from the browser then that confirms the client is ok. That only leaves 'something in between' to be screwing things up, the connection reset message also has me suspicious. You don't have any odd firewalls or proxys in the networks do you?
Phil,
Re: Cambozola not working
Posted: Thu Nov 13, 2003 2:27 pm
by loop
Yes, we have proxy installed but for local addresses it's disabled. Anyway if I can get to main ZM page it should also work with stream? The connection request is initiated from client side, isn't it ?
I've tried Opera 6.05 on this Win2000 PC but same result. No special error message it just waits and receivs nothing. But frame rate is displayed correctly (20-25 fps).
On second PC with Win NT it works, but only with V0.34 combozola. 0.22 doesn't display anything.
Will try more tricks later.
Re: Cambozola not working
Posted: Fri Nov 14, 2003 1:14 pm
by tech_fixer
Do try with Mozilla. It supports video streams natively, unlike MS IE and Opera. That way you'll know wether its cambozola ot zms.
If it is cambozola the cause of your problems, then I suggest you upgrade RH9 httpd package to version 2.0.45. That did it for me, and also solves RH9 memory leak problem.
Regards,
Jose Rodriguez
Re: Cambozola not working
Posted: Fri Nov 14, 2003 2:06 pm
by loop
Thank you.
It's definately cambozola, with Mozilla works, with exception of buffer overflow problems which I need to solve. I'll upgrade httpd, but I couldn't find any rpm-s for RH9 and building from source caused other problem on my RH8 where I tried at first. You compiled from sources ?
Regards,
Darko
Re: Cambozola not working
Posted: Fri Nov 14, 2003 4:45 pm
by zoneminder
There is an unofficial RPM for apache 2.0.40 which contains backported fixes including the most important ones we need available from
http://people.redhat.com/jorton/9-httpd/ Although it is unofficial it has been created by RedHat and will be part of an update soon.
I've installed it on a couple of machines with no problems.
Phil,
Re: Cambozola not working
Posted: Fri Nov 14, 2003 5:07 pm
by loop
So this include memory leaking problem?
Now you're talking :)
I've removed all rpms from httpd, php,... I didn't know that such update exists. Do you know which rpms are needed in order for ZM to work?
- httpd
- httpd-devel
- php
- mod_ssl
- mod_perl
something else ?
Or I better reinstall RH9 from the scratch...
Regards.
Re: Cambozola not working
Posted: Fri Nov 14, 2003 5:18 pm
by zoneminder
I just had whatever came with RH9 and then applied the httpd patch. I didn't remove anything just rpm -Uvh the one patch. I'm not sure what the other rpms do, presumably they also contains fixes but I don't know what they are.
Phil,