zones gves no image

Forum for questions and support relating to the 1.24.x releases only.
Locked
ilios
Posts: 20
Joined: Sun Jun 20, 2010 5:28 pm

zones gves no image

Post 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
F5 is our mantra
ilios
Posts: 20
Joined: Sun Jun 20, 2010 5:28 pm

Post by ilios »

bump... no one ever experienced or can post a possible solution?
F5 is our mantra
dgrierms
Posts: 3
Joined: Sun Jun 20, 2010 9:12 pm

Wish I could help

Post 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.
ilios
Posts: 20
Joined: Sun Jun 20, 2010 5:28 pm

Post 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
F5 is our mantra
ilios
Posts: 20
Joined: Sun Jun 20, 2010 5:28 pm

Post 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

:)
F5 is our mantra
salmon
Posts: 2
Joined: Sun Sep 04, 2011 6:46 pm

Re:

Post 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

:)
ilios
Posts: 20
Joined: Sun Jun 20, 2010 5:28 pm

Re: zones gves no image

Post 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
F5 is our mantra
dogmeat206
Posts: 51
Joined: Tue Oct 11, 2011 10:15 pm

Re: zones gves no image

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