Hi all,
I've been working on installing Zoneminder on Ubuntu all weekend and I think I'm nearly there, but I can't get a streaming monitor image, although the still in the zone window works.
I think I've found the problem in /var/log/apache2/error.log:
[Sun Apr 02 21:57:39 2006] [error] [client 127.0.0.1] script not found or unable to stat: /usr/lib/cgi-bin/nph-zms, referer: http://localhost/zm/index.php?view=watc ... 0&control=
My cgi-bin directory is /var/www/zm/cgi-bin. I've obviously done something wrong somewhere but can't work out what it is.
I found this thread,
http://www.zoneminder.com/forums/viewto ... nable+stat
but can't work out from it how to set up the symlinks, if that's the answer.
Can anyone point me in the right direction? I've managed to get this far without posting, but now I'm stumped.
Using wrong cgi-bin directory
-
- Posts: 12
- Joined: Sun Apr 02, 2006 1:11 pm
- Location: Victoria, Australia
-
- Posts: 12
- Joined: Sun Apr 02, 2006 1:11 pm
- Location: Victoria, Australia
Thanks Corey.
To make sure I've tried again, but with the same result. Why might this be?
Thanks.
I'd have thought so too, but it appears not. My ./configure command is still in my command history and definitely had a --with-cgidir option:cordel wrote:The path to install the cgi script is handled through
./configure --with-cgidir=<your cgi directory>
If you set all the options up properly you should be okay.
Code: Select all
./configure --with-webdir=/var/www/zm --with-cgidir=/var/www/zm/cgi-bin --with-libarch=lib64 --with-webuser=www-data --with-webgroup=www-data
Which file? I assume you mean /usr/lib/cgi-bin as the correct directory? But I'd rather it was all in the same location.cordel wrote:Other wise just move the file to the correct location
I've tried doing this, but am having no luck; not finding many helpful resources either. Can you run me through it in more detail? What should I add and to which files?cordel wrote:or alias the directory in apache.
Thanks.
The path you have listed is not the proper cgi path.
You have to set the path you have configured in apache to allow execution of scripts or install the zms scripts to the already configured path ( /var/www/cgi-bin ).
You can find more information in regards to configuring apache here.
Regards,
Corey
You have to set the path you have configured in apache to allow execution of scripts or install the zms scripts to the already configured path ( /var/www/cgi-bin ).
You can find more information in regards to configuring apache here.
Regards,
Corey