Page 1 of 1
Zero frames events
Posted: Sat Aug 06, 2005 8:51 am
by maddragon78
I upgraded from 1.21.0 to 1.21.3 and now zm refuse to record event frames.
Posted: Sat Aug 06, 2005 8:59 am
by cordel
Did upgrade with source or RPM?
Did you make sure that the database was upgraded?
Posted: Sat Aug 06, 2005 9:02 am
by maddragon78
I'm running on gentoo. Yes, I upgraded the database. In fact, mofications apear only betwen 1.21.0 and 1.21.1.
Posted: Sat Aug 06, 2005 9:14 am
by cordel
Any errors in your zmdc.log error_apache.log or Mysql? Your database has the first post but the events table is not updated after the event like it should.
More info pls
Posted: Sat Aug 06, 2005 9:25 am
by maddragon78
I think it tries to make the events directory in other place, but I don't know were...
Aug 6 12:22:19 gamma zma_m1[16092]: ERR [Can't make events/1: Permission denied]
Posted: Sat Aug 06, 2005 9:35 am
by cordel
Sorry for the following dumb question but I have to ask...
Did you configure the web_user and web_group as the same as apache?
Have you checked to see whom owns the events directory and the camera directorys below it?
The error says it's trying to write to events/1 so that would be the /<webroot>/events/1 or at least it should be.
Posted: Sat Aug 06, 2005 9:45 am
by maddragon78
I gived all the permision over events dir (and subdirs).
gamma localhost # ls -la /var/www/localhost/htdocs/zoneminder/
total 1056
drwxr-xr-x 7 apache apache 3904 Aug 6 11:01 .
drwxr-xr-x 5 root root 184 Aug 6 12:28 ..
drwxrwxrwx 5 apache apache 208 Aug 6 12:17 events
-rw-r--r-- 1 apache apache 318 Aug 6 11:00 favicon.ico
drwxr-xr-x 2 apache apache 400 Aug 6 11:00 graphics
drwxr-xr-x 2 apache apache 48 Aug 6 11:00 images
drwxr-xr-x 2 apache apache 48 Aug 6 11:00 sounds
drwxr-xr-x 2 apache apache 48 Aug 6 11:00 temp
....
Posted: Sat Aug 06, 2005 10:19 am
by maddragon78
I reinstalled everything from scratch and now it works fine
Posted: Sat Aug 06, 2005 10:26 am
by cordel
good deal.
Cheers,
Cordel