Page 1 of 1

Red-x on still images, zone, and thumbnails

Posted: Wed Jul 30, 2008 6:31 pm
by jnk1690
Hi,

New to ZM and using the LiveCD version 1.22.x

Things work well, except that I can not see any image boxes in the browser (FireFox or IE) when I go to look at the stills or go to setup zones. The thumbnails on the event window have the same problem.

The actual files exist, and display properly if I use 'file-open" to the location on the server, for example, .../www/html/zm/images/1-001-capture=25.jpg exists along with another 100 jpg's in the directory.

What am i missing?

Thanks in advance,

JNK

Posted: Wed Jul 30, 2008 6:40 pm
by cordel
Is this running from the CD or after an install?
Are the events being saved correctly to /var/www/html/zm/events?
Check the apache error log:
tail -f /var/log/httpd/error_log

Sounds like a possible permissions issue with the images or temp directory but you should not have that with the livecd unless you changed something.

Posted: Wed Jul 30, 2008 7:55 pm
by jnk1690
This is running direct from the Live CD (1.22.x). I have not changed any permissions. Also, I can view/replay recorded events, but I can not see any still image graphics. For example, I can click on event1 for "testcam" and view the clip. If I then click on "stills", the next webpage has the broken image icons instead of the still image previews on the page.

The Apache error log does not log any error if I click on those icons.

There are plenty of jpg files in the .../events directory

Thanks.

Posted: Wed Jul 30, 2008 8:02 pm
by cordel
What are the permissions on the images and temp folders?
Are you sure you still have enough memory (df -h)?
Which LiveCD did you download?

Posted: Wed Jul 30, 2008 8:25 pm
by jnk1690
I'm not sure which temp folders but here is the rest...

ZoneMinder LiveCD v1.22.2 (Ross Melin's )

333M 83M-used 250M-avail 25%-use

For /union/var/www/html/zm/events (and all sub directories)
drwxr-xr-x apache apache

for the files in ....zm/events/2/1 and all files(for example)
-rw-r--r-- apache apache

Thanks.

Posted: Wed Jul 30, 2008 8:32 pm
by cordel
Actually I need the permissions for these two folders:
/var/www/html/zm/images
/var/www/html/zm/temp

They should have apache rw access.

Posted: Thu Jul 31, 2008 12:51 pm
by jnk1690
Cordel,

Both are set as follows:

drwxr-xr-x apache apache

/var/www/html/zm/images
/var/www/html/zm/temp

Is there anything else I can try? I might be able to run an install instead of running the LiveCD. If so, which download would be the best for a mostly configured install so I can get to testing faster?

Posted: Fri Aug 01, 2008 10:56 pm
by ShoeDad
from firefox type in the address bar
about:config

Find network.http.max-connections double click and change to 100
Find network.http.max-connections-per-server double click and change to 100
Find network.http.max-persistent-connections-per-proxy double click and change to 100
Find network.http.max-persistent-connections-per-server double click and change to 100

Posted: Sat Aug 02, 2008 9:00 am
by cordel
First those settings in firefox mostly apply to streaming video, so while he might need them later, atm it is not the problem he is encountering as static images are not creating multiple connections to the ZM server.

I find it hard to believe that you get no error messages in the apache/error_log as a red X basically means the the image was not found by the server and always generates a message with the path that it expects to find the missing image.

Mind if I poke at the box a bit assuming it's available on the net? Just PM me the info if your interested. Otherwise you will have to go through all the apache logs and configuration which is where this problem would be.

Posted: Mon Aug 04, 2008 5:45 pm
by jnk1690
Due to time constraints and needing to do testing, I took the 1.23.3 livecd and performed an install onto the same box. The problem with the icons did not show up, and it seems to be running great.

Thanks again to all for the effort and suggestions. I greatly appreciate it, and hope to be able to answer questions for others in the future as I learn more about the system.

Joel