Page 1 of 1
zones gves no image
Posted: Thu Jul 15, 2010 8:39 pm
by ilios
I have a strange problem on a fresh install of zoneminder 1.24.2 on ubuntu 10.04.
everything is working petty fine exept for the definition of zones, when i try to define a zones the background image is blank
the path where apache looks into is correct, the images exist in the path (not the standard one) but if i try, manually to point that directory es. home/mylamp/Documenti/sorveglianza it gives me error 404 looking for one of the images, does anyone have ever experienced similar problems?
pemissions seems ok so the directory owner...
please help!!!
many thanks
Posted: Sat Jul 17, 2010 11:05 am
by ilios
bump... no one ever experienced or can post a possible solution?
Wish I could help
Posted: Sun Jul 18, 2010 7:26 am
by dgrierms
Wish I could help, but I've had no luck getting Zoneminder to work on Ubuntu Server 10.04 64 Bit. I had it working on Ubuntu Desktop i386, but whatever. Might be your best bet to try a different distro.
Posted: Sun Jul 18, 2010 10:58 am
by ilios
thanks for the answer, my actual distro is ubuntu 10.04, desktop i 386.
and it is working, normando hall has helped me for a script i will no give up, and try many solution before switching to another distro, in any way i'll try to fix the problem and in the case to post it.
thanks again
Posted: Sun Jul 18, 2010 9:10 pm
by ilios
ok i got it fixed, the problem was that ii installed zm in the main root of ubuntu os, but, all the images was in a raid 5 array mounted in /home/myubuntu10/Documenti/sorveglianza, i did a symbolink link to that directory instead the correct one was to make a simbolic link just to /home it is now working
post this if someone else had the same problem
cheers

Re:
Posted: Sat Oct 01, 2011 7:59 pm
by salmon
Great - I have the same problem. What exactly did you link to /home - your image directory?
cheers and thanks for the tip
Derrick
ilios wrote:ok i got it fixed, the problem was that ii installed zm in the main root of ubuntu os, but, all the images was in a raid 5 array mounted in /home/myubuntu10/Documenti/sorveglianza, i did a symbolink link to that directory instead the correct one was to make a simbolic link just to /home it is now working
post this if someone else had the same problem
cheers

Re: zones gves no image
Posted: Sat Oct 01, 2011 9:52 pm
by ilios
i link from the zoneminder instalation ( now i moved to centos) events in the zm main directory to /home, remember give apache write permission do: chown /home/your mounted raid directory apache.
and then do chmod 777 /home/your mounted raid directory
hope it works also for you
Re: zones gves no image
Posted: Thu Oct 13, 2011 12:33 am
by dogmeat206
Looking this over, I found a fix for the issue as well.
Problem: Zones Page, shows no images.
The events / images dir for zone minder live in /home/zoneminder
Looking at the page source, it was pulling a '404' error when trying to pull down the file Zones1.jpg.
[root@zoneminder zoneminder]# pwd
/home/zoneminder
[root@zoneminder zoneminder]# ls -la
total 16
drwxr-xr-x. 4 apache apache 4096 Oct 12 09:46 .
drwxr-xr-x. 7 root root 4096 Oct 12 17:34 ..
drwxrwxr-x. 4 apache apache 4096 Oct 11 17:57 events
drwxrwxr-x. 2 apache apache 4096 Oct 12 11:01 images
[root@zoneminder zoneminder]# cd images/
[root@zoneminder images]# ls -la
total 356
drwxrwxr-x. 2 apache apache 4096 Oct 12 11:01 .
drwxr-xr-x. 4 apache apache 4096 Oct 12 09:46 ..
-rwxrwxr-x 1 apache apache 127929 Oct 12 18:14 Zones1.jpg
-rwxrwxr-x 1 apache apache 223362 Oct 12 18:21 Zones2.jpg
The fix was to link the zoneminder file down to /var/www/html/zm, which is where the files for zm live in document root.
[root@zoneminder images]# ln -s /home/zoneminder/images/ /var/www/html/zm/
Also, to go into the 'configuration' through the webpage, under 'Paths', changing the DIR_IMAGES option to just 'images', not /home/zoneminder/images.
Now we have images in the Zones area and are able to define zones correctly.