I've installed ZoneMinder on a SuSE 10.0 intel system using the outline of "dgconseil" (I think on a 32 bit system?).
I have not been able to install ffmpeg (no RPM on the SuSE distro).
After installation I had to remove all the "T" switches in all the .pm files for I kept getting errors about the $ENV{PATH} beïng insecure.
After that ZoneMinder seems to work except for the fact that I don't have any thumbnails or stills or the great feature of seeïng what caused an alarm (the system is in an constant state of alarm). In the event-list the cause is alway's "continuous".....
I do have the netpbm pakkage installed and enabled it in the configscreen and the path to the utilities is correct (/usr/bin). In the "images" directory there are images but they are all zero bytes in length (can't be right ).
The Apache2 error.log say's:
---
Code: Select all
pnmtojpeg: Error reading magic number from Netpbm image stream. Most often, this means your input file is empty.
jpegtopnm: Unable to open file '[color=red]events/1/24/012-capture.jpg[/color]' for reading. fopen() returns errno 2 (No such file or directory)
pnmscalefixed: Error reading magic number from Netpbm image stream. Most often, this means your input file is empty.
So I've scanned and search this forum but have not seen this problem before (must be something uniek on my system...)
If there is anyone who can help me figure out whats wrong with my installation I would be verry greatfull!
===
What I found out:
I have not installed ZM in the document root, but in a sub-directory ('zm'). Now it looks like ZM can't cope with this. The interface to the netpbm utilities uses exactly what I put in the PATH config (e.g. 'events') and that's (in my case) a non existing dir (as it is '<doc-root>/zm/events'). If I change it in 'zm/events' than the netpbm get's 'zm/events', but the browser want's to use '<doc-root>/zm/zm/events'. So now I have configured Apache2 to have an alias '/x/y/z/events' that points to '/x/y/z/events' (still there?) and in the PATH config I places '/x/y/z/events' .. and than it works .. allmost. I can not playback my captures (I can see the Stills now but no streaming video anymore..). Maybe thats an other problem...
Now everything is working but I cannot replay events. I do have the stills. I see no errors in the various log files.
This are the properties of the event-windows:
Code: Select all
http://mydomein/cgi-bin/nph-zms?mode=jpeg&event=117&frame=1&scale=100&rate=100&maxfps=10&auth=<chars>&rand=<chars>
Thanks in advance.