Red-x on still images, zone, and thumbnails

Support and queries relating to all previous versions of ZoneMinder
Locked
jnk1690
Posts: 30
Joined: Wed Jul 30, 2008 1:52 pm

Red-x on still images, zone, and thumbnails

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
jnk1690
Posts: 30
Joined: Wed Jul 30, 2008 1:52 pm

Post 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.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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?
jnk1690
Posts: 30
Joined: Wed Jul 30, 2008 1:52 pm

Post 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.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
jnk1690
Posts: 30
Joined: Wed Jul 30, 2008 1:52 pm

Post 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?
ShoeDad
Posts: 3
Joined: Fri Aug 01, 2008 10:17 pm

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
jnk1690
Posts: 30
Joined: Wed Jul 30, 2008 1:52 pm

Post 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
Locked