Strem doesn't view with lighttpd

Forum for questions and support relating to the 1.24.x releases only.
Locked
decibel83
Posts: 80
Joined: Tue Dec 06, 2005 5:22 pm

Strem doesn't view with lighttpd

Post by decibel83 »

My Zoneminder 1.24.2 installation worked well with Apache 2.
Then I installed Lighttpd to save some memory but with Lighttpd I don't see the stream when I open the view window of the sources.

When I manually access to http://192.168.99.30/cgi-bin/nph-zms?mo ... 1263394678 (the address which the view window opens) I see a white page, and no errors in the error.log of Lighttpd.

This is the access.log of Lighttpd:

Code: Select all

::ffff:192.168.99.108 192.168.99.30 - [13/Jan/2010:16:07:22 +0100] "GET /cgi-bin/nph-zms?mode=jpeg&monitor=2&scale=100&maxfps=15&buffer=1000&auth=0b991770793e4ec6afdeb70a2c32dd58&connkey=638470&rand=1263394678 HTTP/1.1" 200 0 "-" "Mozilla/5.0 (X11; U; Linux x86_64; it; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7 FirePHP/0.3"
I tried to recompile Zoneminder after I installed Lighttpd but I didn't solve the problem.
The CGI features of Lighttpd works well (tried with a Perl script).

Do you have any hint?

Thank you very much!
Bye.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

Most likely you forgot to add the cgi files in lightpd. there responsible for streaming also does the cgi-bin path match what zn has under settings
decibel83
Posts: 80
Joined: Tue Dec 06, 2005 5:22 pm

Post by decibel83 »

kingofkya wrote:Most likely you forgot to add the cgi files in lightpd. there responsible for streaming also does the cgi-bin path match what zn has under settings
No, because Lighttpd is correctly setted for cgis and any other cgi saved in the /usr/lib/cgi-bin directory works well.
The cgi-bin path matches without problems, also because I don't have any 404 errors..

It seems to be a compatibility problem or something else..
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

is it something with permissions like lightpd needs to run as the same user as apache was running.

Also if you can pm me a link to your server I can check settings.
Locked