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.
Zones images in zones window won't show up
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
I cant remeber my log trace but i had this it was a permision prob on the images directory
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
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.
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.
Best Regards
Tom Stage
Tom Stage
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.
[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.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
who owns the folder?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
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]
[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]
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
yes if zm is stopped it wont be getting any images, so thats your problem, you need to relove this first
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
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.
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.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
click on the stopped in the browser and selct start, then it should show running if not check your logs and report back
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk