Can't see events

Support and queries relating to all previous versions of ZoneMinder
Post Reply
oc666
Posts: 19
Joined: Thu May 04, 2006 5:03 pm
Contact:

Can't see events

Post by oc666 » Wed Apr 11, 2007 8:28 am

Hello
When I'm try to get the modetect work I get the next log:

Code: Select all

-zm_debug.c/304 [New Debug Level = 0, New Debug Log = /var/log/zoneminder/zm_debug.log.17038]
04/11/07 11:21:40.091433 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/001-capture.jpg: No such file or directory]
04/11/07 11:21:40.119251 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/002-capture.jpg: No such file or directory]
04/11/07 11:21:40.634596 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/003-capture.jpg: No such file or directory]
04/11/07 11:21:41.137923 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/004-capture.jpg: No such file or directory]
04/11/07 11:21:41.651606 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/005-capture.jpg: No such file or directory]
04/11/07 11:21:42.166227 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/006-capture.jpg: No such file or directory]
04/11/07 11:21:42.682897 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/007-capture.jpg: No such file or directory]
04/11/07 11:21:43.207459 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/008-capture.jpg: No such file or directory]
04/11/07 11:21:43.737664 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/009-capture.jpg: No such file or directory]
04/11/07 11:21:44.265407 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/010-capture.jpg: No such file or directory]
04/11/07 11:21:44.755924 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/011-capture.jpg: No such file or directory]
04/11/07 11:21:45.273467 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/012-capture.jpg: No such file or directory]
04/11/07 11:21:45.791820 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/013-capture.jpg: No such file or directory]
04/11/07 11:21:46.809769 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/014-capture.jpg: No such file or directory]
04/11/07 11:21:47.861198 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/015-capture.jpg: No such file or directory]
04/11/07 11:21:48.857426 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/016-capture.jpg: No such file or directory]
04/11/07 11:21:49.373258 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/017-capture.jpg: No such file or directory]
04/11/07 11:21:50.393437 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/018-capture.jpg: No such file or directory]
04/11/07 11:21:51.477437 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/019-capture.jpg: No such file or directory]
04/11/07 11:21:51.933363 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/020-capture.jpg: No such file or directory]
04/11/07 11:22:12.170644 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/021-capture.jpg: No such file or directory]
04/11/07 11:22:12.637942 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/022-capture.jpg: No such file or directory]
04/11/07 11:22:13.154405 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/023-capture.jpg: No such file or directory]
04/11/07 11:22:13.658951 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/024-capture.jpg: No such file or directory]
04/11/07 11:22:14.175847 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/025-capture.jpg: No such file or directory]
04/11/07 11:22:14.682556 zms[17038].ERR-zm_event.cpp/509 [Can't open /usr/share/webapps/zoneminder/1.22.3/htdocs/events/1/7/026-capture.jpg: No such file or directory]
Also, when I try to export I get the next errors in my browser:

Code: Select all

Warning: opendir(events/work/7) [function.opendir]: failed to open dir: No such file or directory in /var/www/bcgentoo/htdocs/zoneminder/zm_export_funcs.php on line 198

Warning: fopen(events/work/7/zmEventDetail.html) [function.fopen]: failed to open stream: No such file or directory in /var/www/bcgentoo/htdocs/zoneminder/zm_export_funcs.php on line 215
Can't open event detail export file 'zmEventDetail.html'
What is the problem?

UPDATE:
I get more info from one of my debugging files:

Code: Select all

04/11/07 11:34:03.681816 zmc_dvideo[17749].INF-zm_debug.c/304 [New Debug Level = 0, New Debug Log = /var/log/zoneminder/zm_debug.log.17749]
04/11/07 11:34:05.143193 zmc_dvideo[17749].INF-zmc.cpp/183 [Starting Capture]
04/11/07 11:34:26.472899 zmc_dvideo[17749].INF-zm_signal.cpp/54 [Got signal (Terminated), exiting]
04/11/07 11:34:26.476862 zmc_dvideo[17749].ERR-zm_local_camera.cpp/615 [Sync failure for frame 1 buffer 0(1): Interrupted system call]

W.
Posts: 108
Joined: Tue Apr 10, 2007 5:06 pm
Location: Latvia

Post by W. » Wed Apr 11, 2007 11:36 am

You should check permissions starting from user that you use to run ZM. Is it the same that runs apache? Does it have permissions to write to events directory?
By the time zm_local_camera.cpp gets to line 615 in code it has been initialized and hence it has all the permissions for device. The error just means that something or somebody kill-9ed zmc process.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests