Page 1 of 1

Zones images in zones window won't show up

Posted: Fri Jun 09, 2006 6:17 am
by ynn
Does anybody know why the image won't show up in the zone window? do i need to do something?
the error in tail /var/log/httpd/error_log
[Fri Jun 09 13:14:22 2006] [error] [client 127.0.0.1] File does not exist: /var/www/html/images/tesst1-Zones.jpg, referer: http://localhost/index.php?view=zones&mid=2

thanks.

Posted: Fri Jun 09, 2006 6:57 am
by jameswilson
I cant remeber my log trace but i had this it was a permision prob on the images directory

Posted: Fri Jun 09, 2006 8:36 am
by voronwe
Hi there

Remember to have the right owner / permissions on the image dir in your ZM install dir.

On a Fedora Core installe that would be : Owner = apache.apache Permissions : 755

As far as i remember the most importent is the ownership of the dir.

If t it is a permission problem you should be able to check it in your apache log files.

Posted: Fri Jun 09, 2006 10:52 am
by ynn
I checked and i guess it was not because the permission on that images directory, because there are lots of images inside the directory such as
[root@localhost images]# pwd
/var/www/html/images
[root@localhost images]# ls -la
total 432
drwxrwxrwx 2 apache apache 4096 Jun 9 17:40 .
drwxr-xr-x 7 root root 4096 Jun 9 12:03 ..
-rw-r--r-- 1 apache apache 906 Jun 9 12:51 10-011-capture-15.jpg
-rw-r--r-- 1 apache apache 905 Jun 9 12:51 11-011-capture-15.jpg
-rw-r--r-- 1 apache apache 899 Jun 9 12:52 12-001-capture-15.jpg

and so on, so if it is because the permission on that images directory, the other files would not be there, would they?
may be there is some other permission that i should change, like files or something? anybody?

thanks.

Posted: Fri Jun 09, 2006 10:58 am
by jameswilson
who owns the folder?

Posted: Sat Jun 10, 2006 5:27 am
by ynn
the folder own by apache, here is it

[root@localhost html]# ls -la | more
total 1916
drwxr-xr-x 7 root root 4096 Jun 9 18:35 .
drwxr-xr-x 8 root root 4096 Jun 8 19:42 ..
-rwxr-xr-x 1 apache apache 42531 Jun 9 18:35 cambozola.jar
-rwxr-xr-x 1 apache apache 62508 Jun 9 18:35 cambozola-server.jar
drwxr-xr-x 3 apache apache 4096 Jun 9 18:28 events
-rw-r--r-- 1 apache apache 318 Jun 9 12:03 favicon.ico
drwxr-xr-x 2 apache apache 4096 Jun 9 12:03 graphics
drwxrwxrwx 2 apache apache 4096 Jun 10 11:51 images
lrwxrwxrwx 1 root root 6 Jun 9 12:03 index.php -> zm.php
drwxr-xr-x 2 apache apache 4096 Jun 9 19:25 sounds
drwxr-xr-x 2 apache apache 4096 Jun 9 12:03 temp


just FYI, I am running freshly built CentOS 4.3 x86_64 intel EMT64 now.
and one more , why the status in the index page of mine did not show "Running" like in "Screen Shot" website in zoneminder.com
my status is always ZoneMinder Console - Stopped - v1.22.2 does it mean something had gone with erros?



Thanks.[/img]

Posted: Sun Jun 11, 2006 1:53 am
by jameswilson
yes if zm is stopped it wont be getting any images, so thats your problem, you need to relove this first

Posted: Sun Jun 11, 2006 2:32 am
by ynn
james,
thanks for the reply, i really appreciate it since i have tried and looked so many ways to solve this problem.

but my question is now, how do you start the zm? isn't it with zmpkg.pl start ? i already did that. but it still did not do anything with that "STOPPED" message. could you tell me now how do i start the zm other than using that zmpkg.pl.

thank you so much.

Posted: Sun Jun 11, 2006 9:13 pm
by jameswilson
click on the stopped in the browser and selct start, then it should show running if not check your logs and report back

Posted: Mon Jun 12, 2006 6:14 am
by ynn
I finanlly got it running james, it just all because the SElinux. i turn it off and the problem all these times just gone.
thanks so much