no picture

Support and queries relating to all previous versions of ZoneMinder
zozo6015
Posts: 9
Joined: Fri Aug 11, 2006 1:26 pm
Location: Romania
Contact:

Post by zozo6015 »

mjskier wrote:
zozo6015 wrote: I am using a SuSe 10.1 linux with zomeminder 1.22.2
What driver? I have the same camera, also on SuSE 10.1 and I had to compile the driver (OV511) myself since it didn't come with the distribution.
(A DVD disk I got from one of the Linux mags...)

No problem running it at 640x480 on a laptop...

My zmu command gives me the exact same output as yours except
that under "Window Attributes" it shows 640 and 480, not 384x288

bruno.
I use spca5xx for the webcam
mjskier
Posts: 8
Joined: Mon Aug 07, 2006 4:58 am
Location: colorado

Post by mjskier »

zozo6015 wrote:problem solved. cgi-bin directory patch was wrong.
Now that you mention it, I ran into something similar:

Originally I pointed to the root of the web server tree when specifying htdocs and cgi-bin paths to the configure script. Then I thought better of it and reconfigured/recompiled/reinstalled zoneminder to use subdirectories.
I removed the old db and recreated a new one.
Yet I found out that nph-zms was expected in cgi-bin, not cgi-bin/jackcam as it got installed...
I don't know what part of zm does what yet so I just attributed that to not cleaning things right between the 2 installs...
Maybe there is an issue with the configure script?

bruno.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

The cgi-bin directory that exists in each distro is already configured in apache to allow execution of files in that directory. If it will follow through to subdirectories depends on how the cgi-bin directory is configured in apache as well. If you want zms somewhere other than the default cgi-bin directory it must be configured in apache's httpd.conf.

Regards,
Corey
zmskier
Posts: 1
Joined: Tue Aug 08, 2006 3:51 am

Post by zmskier »

cordel wrote: If you want zms somewhere other than the default cgi-bin directory it must be configured in apache's httpd.conf.
I think that there is something else going on: I just looked at the old log and here's the error message:

[client 192.168.1.8] script not found or unable to stat: /srv/www/cgi-bin/nph-zms, referer: http://192.168.1.186/jackcam/index.php? ... 0&control=

And the error is correct since I specified this to the configure script:
--with-cgidir=/srv/www-cgi-bin/jackcam
nph-zms got installed in /srv/www/cgi-bin/jackcam yet some other part of zoneminder is expecting the script to be in /srv/www/cgi-bin.
If it were an apache configuration issue I would expect it to complain about permission, not about a missing file.

Bruno.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Check your config in options under your paths tab ;) and keep in mind my above post, you may have to configure apache to allow cgi execution on subfolders.

Cheers,
Corey
zozo6015
Posts: 9
Joined: Fri Aug 11, 2006 1:26 pm
Location: Romania
Contact:

Post by zozo6015 »

you cannot use other dirs or subdirs in cgi-bin. This can be done only with virtual hosts and you have to set there the cgi-bin directory for that vhost.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

zozo6015 wrote:you cannot use other dirs or subdirs in cgi-bin. This can be done only with virtual hosts and you have to set there the cgi-bin directory for that vhost.
You can if you properly configure them. As I do this for the RPM.
http://httpd.apache.org/docs/2.2/mod/co ... #directory

Corey
Locked