Page 1 of 1

Unable to view event stills/videos, monitor stream works

Posted: Wed Aug 15, 2007 9:43 pm
by richter
UPDATE: I have resolved this. The problem was the ebuild creates a zm.conf that refers to ZM_PATH_WEB=/usr/share/webapps/zoneminder/1.22.3/htdocs instead /var/www/localhost/htdocs/zoneminder. Changed that and it works perfect.

ZM Version: 1.22.3
OS: Gentoo
Used Portage to install.
Camera: SmileCam SU-320 using OV511+ driver

The monitor displays the image without any corruption or problems. When I force an alarm, the event shows up with correct time, secs, & frames. Same occurs when I let it detect motion. But when I click the event it shows broken still images. Debug produces the following snippet:

08/15/07 16:38:47.918562 zma_m1[21069].INF-zm_monitor.cpp/1122 [smilecam: 770 - Gone into alarm state]
08/15/07 16:38:47.919816 zma_m1[21069].ERR-zm_event.cpp/76 [Can't make events/1/18: No such file or directory]
08/15/07 16:38:47.920003 zma_m1[21069].DB1-zm_event.cpp/277 [Writing pre-capture frame 1]
08/15/07 16:38:47.920415 zma_m1[21069].ERR-zm_image.cpp/265 [Can't open events/1/18/001-capture.jpg: No such file or directory]
08/15/07 16:38:47.920484 zma_m1[21069].DB1-zm_event.cpp/277 [Writing pre-capture frame 2]
08/15/07 16:38:47.920514 zma_m1[21069].ERR-zm_image.cpp/265 [Can't open events/1/18/002-capture.jpg: No such file or directory]
08/15/07 16:38:47.920567 zma_m1[21069].DB1-zm_event.cpp/277 [Writing pre-capture frame 3]
08/15/07 16:38:47.920597 zma_m1[21069].ERR-zm_image.cpp/265 [Can't open events/1/18/003-capture.jpg: No such file or directory]
08/15/07 16:38:47.920648 zma_m1[21069].DB1-zm_event.cpp/277 [Writing pre-capture frame 4]

Video returns the following error as well:

Image

I have verified that apache has permissions to write to the events, images, & temp. Events directory looks like this:

drwxrwxrwx 3 apache apache 4096 Aug 14 17:59 .
drwxrwxrwt 11 root root 36864 Aug 15 17:10 ..
drwxrwxrwx 2 apache apache 4096 Aug 15 13:36 1
lrwxrwxrwx 1 apache apache 45 Aug 14 17:59 smilecam -> /var/www/localhost/htdocs/zoneminder/events/1

Any suggestions or questions would be appreciated. Thanks.

Posted: Wed Aug 29, 2007 5:03 pm
by Yeti
Good call, thanks for posting it sorted me out!