hello, i just finished a pretty painful (<-newb) install on ubuntu. it is running on 6.06 ubuntu server and i am using the custom zm_remote_camera.cpp zm_remote_camera.h that was created for the sony SNC-1/3 cameras.
when i log in through firefox into the ZM interface all is working fine except when i click to check my monitor instead of a picture i get a broken link icon displayed (as if its poiting to the wrong place) but i know ZM is capturing images fine cause when i click to go to configure zones for that monitor i see a picture it captured from the camera.
what i thought it is, a problem with executing the zms cgi script ... all my files are stored under /var/www/cgi-bin/ so technically apache should have no problem recognizing them there or letting them run ... i tried to access the cgi-bin directory directly through firefox and it tells me permission denied error (not sure if i should be able to access it?) and when i try to access /cgi-bin/zms/ it tells me the file was not found (it is there ... i just can't get in there). under ZM config i have attempted to use both /cgi-bin/zms and /cgi-bin/nph-zms
i have tried to get apache to access the cgi-bin scripts by editing apache2.conf with the following:
uncommented this line:
AddHandler cgi-script .cgi
and added this line:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
with no results...
can you guys think of anything i may be not doing right ?
other posts on this subject have been no help so far so please if you can think of anything... i am so close i can taste it
cannot see image in watch window but camera is capturing...
-
- Posts: 14
- Joined: Thu Aug 03, 2006 2:24 pm
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
never used ubuntu but something i suggested a bit ago seemed to help someone else. Got settings and change your path from nph-zms to just zms. Ubuntu default apache install doesnt like non parsed headers for some reason
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 14
- Joined: Thu Aug 03, 2006 2:24 pm
-
- Posts: 14
- Joined: Thu Aug 03, 2006 2:24 pm
solved, ubuntu's apache config is done so that the default cgi-bin is not in the web directory so i would of had to enabled it with a ScriptAlias in the sites-enabled directory .... instead i justed cp'ed zms and nph-zms into /usr/lib/cgi-bin and all is working great now ... thats where the ubuntu lamp server stores the cgi files by default ...
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
cheers for the followup!
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
intenseblu,
yea, I have a similar problem on a number of suse boxes.I can see the camera stream fine, but I cannot see the still images on still windows; however, I have one zoneminder setup fine on a server,which has a lot of packages installed, works without this problem, so I guess we are missing some optional packages from either zoneminder or zoneminder's required packages.
One way I got around with this problem is to set bandwidth option, displayed on main interface, to high, then the picture will display. If you have find out how to fix it, please let us know.
Daniel
yea, I have a similar problem on a number of suse boxes.I can see the camera stream fine, but I cannot see the still images on still windows; however, I have one zoneminder setup fine on a server,which has a lot of packages installed, works without this problem, so I guess we are missing some optional packages from either zoneminder or zoneminder's required packages.
One way I got around with this problem is to set bandwidth option, displayed on main interface, to high, then the picture will display. If you have find out how to fix it, please let us know.
Daniel
-
- Posts: 14
- Joined: Thu Aug 03, 2006 2:24 pm
missing stills huh ? i would venture you are missing either libjpeg (libjpeg62 and libjpeg62-dev package on ubuntu) or netpbm utilities ... if i remember correctly the netpbm package had some involvment in thumbnail creation ...
let us know if you trace it down ...
my problem is solved, it was a cgi-bin issue.... i had no stream or stills...
let us know if you trace it down ...
my problem is solved, it was a cgi-bin issue.... i had no stream or stills...