Page 1 of 1

Events not saving

Posted: Tue Sep 16, 2003 9:53 am
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?

Re: Events not saving

Posted: Wed Sep 17, 2003 2:44 pm
by ajpalm
I've also checked the

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

Andrew

Re: Events not saving

Posted: Wed Sep 17, 2003 3:21 pm
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,

Re: Events not saving

Posted: Wed Sep 17, 2003 9:52 pm
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.

Re: Events not saving

Posted: Thu Oct 02, 2003 3:00 pm
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,

Re: Events not saving

Posted: Fri Oct 10, 2003 4:36 am
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