Zero frames events

Support and queries relating to all previous versions of ZoneMinder
Locked
maddragon78
Posts: 5
Joined: Sat May 14, 2005 7:21 am
Location: Iasi, Romania

Zero frames events

Post by maddragon78 »

I upgraded from 1.21.0 to 1.21.3 and now zm refuse to record event frames.

Image
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Did upgrade with source or RPM?
Did you make sure that the database was upgraded?
maddragon78
Posts: 5
Joined: Sat May 14, 2005 7:21 am
Location: Iasi, Romania

Post 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.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
maddragon78
Posts: 5
Joined: Sat May 14, 2005 7:21 am
Location: Iasi, Romania

Post 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]
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
maddragon78
Posts: 5
Joined: Sat May 14, 2005 7:21 am
Location: Iasi, Romania

Post 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
....
maddragon78
Posts: 5
Joined: Sat May 14, 2005 7:21 am
Location: Iasi, Romania

Post by maddragon78 »

I reinstalled everything from scratch and now it works fine :)
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

good deal.
Cheers,
Cordel
Locked