Events not saving

Support and queries relating to all previous versions of ZoneMinder
Locked
ajpalm
Posts: 60
Joined: Thu Aug 28, 2003 1:02 pm

Events not saving

Post by ajpalm »

Hi there,

After a bit of mucking about I have one camera input working. When events are triggered, it is listed in the events area on the webinterface, but when I go to view it, there isn't any event pictures, all I get it broken picture links and in my message log, I get errors saying it can't find the picture file in question.

Any ideas?
ajpalm
Posts: 60
Joined: Thu Aug 28, 2003 1:02 pm

Re: Events not saving

Post by ajpalm »

I've also checked the

/var/www/html/zm/events directory and its empty.

Andrew
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Events not saving

Post by zoneminder »

Hi Andrew,

I suspect this is a permissions issue. If you do

ls -l /var/www/html/zm/events

what does it say? It needs to be writable (and executable) by your web server user.

Cheers,

Phil,
ajpalm
Posts: 60
Joined: Thu Aug 28, 2003 1:02 pm

Re: Events not saving

Post by ajpalm »

Hi Phil,

Thanks for al your help, here is the results

[root@matrix root]# ls -l /var/www/html/zm/events/
total 0

[root@matrix root]# ls -l /var/www/html/zm/
total 384
-rwxr--r-- 1 root root 46494 Sep 14 23:57 cambozola.jar
drwxrwxrwx 2 apache apache 4096 Aug 28 22:59 events
drwxr-xr-x 3 apache apache 4096 Sep 18 00:50 images
lrwxrwxrwx 1 root root 6 Aug 28 22:59 index.php -> zm.php
drwxr-xr-x 2 apache apache 4096 Aug 28 22:59 sounds
drwxr-xr-x 2 apache apache 4096 Aug 28 22:59 temp
-rw-r--r-- 1 apache apache 16514 Aug 29 19:59 zm_actions.php
-rw-r--r-- 1 apache apache 8113 Aug 29 19:59 zm_config.php
-rw-r--r-- 1 apache apache 1409 Aug 29 19:59 zm_db.php
-rw-r--r-- 1 apache apache 7443 Aug 29 19:59 zm_funcs.php
-rw-r--r-- 1 apache apache 129078 Sep 16 12:29 zm_html.php
-rw-r--r-- 1 root root 129052 Sep 16 12:25 zm_html.php.org
-rw-r--r-- 1 apache apache 1301 Aug 29 19:59 zm.php
-rw-r--r-- 1 apache apache 3297 Aug 29 19:59 zm_styles.css
-rw-r--r-- 1 apache apache 6119 Aug 29 19:59 zm_wml.php
[root@matrix root]#

I did a chmod 777 on it a while ago, to see if it would fix it.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Events not saving

Post by zoneminder »

Hi Andrew,

Sorry for the delay in getting back to you. Did you ever find out what the problem was? Were there any suspicious messages in any of the log files in /var/log?

Cheers,

Phil,
ajpalm
Posts: 60
Joined: Thu Aug 28, 2003 1:02 pm

Re: Events not saving

Post by ajpalm »

Hi Phil,

Yes all is fixed now. I had some missing perl modules, which I found out......

Thanks for all your great help, you have been wonderful!!

Andrew
Locked