ZoneMinder refuses to work
Posted: Tue May 31, 2005 8:56 am
I've been trying, and trying, for two days to get any results from ZM 1.21.0 and for the life of me, nothing. I've followed the directions exactly. I've even wiped the install of ZM, MySQL and all associated Perl modules and libraries and installed them fresh. Below, I'll include all information from my currennt install and all associated info from log files.
Gentoo Linux, kernel 2.6.11.11. Apache 1.3.33. PHP 4.3.10. MySQL 4.0.24. ZoneMinder 1.21.0. Everything but MySQL is compiled by hand (portage just ISN'T right for some things..). Freshly new compiled version of ZoneMinder (as of writing this, brand new install).
(writen some hours later..)
I was finally able to solve one problem by installing many, many *grumble* perl modules, but now I seem to have another and I'm so fustrated now that I'm really hoping someone can help me. ZM appears to start, and load all of the perl scripts it needs. If I open the browser, it reports as running. But the video source, no matter what channel I try, remains red. Within just a minute or so, if I look at ps aux, I get only a single process running.
That's all I get running related to ZM. I'll include what my ZM logs say, below.
zmaudit.log
zmdc.log
zmfilter.log
zmpkg.log
zmupdate.log
zmwatch.log
That's all there is. No errors from apache at all. When I try to look at a streaming view at one time I did get 40fps but a black streen on every channel I tried (it wouldn't go above 4). I'm really hoping I can figure this out soon. It's not out of simple curiosity that I'm playing with ZM. Someone has tried to break into our yard (and most likely our van or garage, which is filled with thousands of dollars worth of tools since my brother is a general contractor), having cut the fence in the back yard.. we've put up a new fence, but I want extra security. Any help would be greatly appreciated.
EDIT: I just tried to restart ZM. And when trying to view the stream, I get a broken image. But trying to force 'view image' with firefox, I get a 500 internal server error. In my apache error_log, apparently the cgi is broken, I have..
Gentoo Linux, kernel 2.6.11.11. Apache 1.3.33. PHP 4.3.10. MySQL 4.0.24. ZoneMinder 1.21.0. Everything but MySQL is compiled by hand (portage just ISN'T right for some things..). Freshly new compiled version of ZoneMinder (as of writing this, brand new install).
(writen some hours later..)
I was finally able to solve one problem by installing many, many *grumble* perl modules, but now I seem to have another and I'm so fustrated now that I'm really hoping someone can help me. ZM appears to start, and load all of the perl scripts it needs. If I open the browser, it reports as running. But the video source, no matter what channel I try, remains red. Within just a minute or so, if I look at ps aux, I get only a single process running.
Code: Select all
/usr/bin/perl -wT /usr/local/bin/zmdc.pl stop zma -m 1
zmaudit.log
Code: Select all
Found database monitor '1', got 0 events
Code: Select all
Server starting at 05/06/06 00:43:55
'zmc -d 0' started at 05/06/06 00:44:00
'zmc -d 0' starting at 05/06/06 00:44:00, pid = 7604
'zmc -d 0' crashed at 05/06/06 00:44:00, exit status 255
'zmc -d 0' started at 05/06/06 00:44:00
'zmc -d 0' starting at 05/06/06 00:44:00, pid = 7606
Can't select: Is a directory at /usr/local/bin/zmdc.pl line 593.
Server starting at 05/06/06 00:44:02
'zmfilter.pl' started at 05/06/06 00:44:05
'zmfilter.pl' starting at 05/06/06 00:44:05, pid = 7632
'zmaudit.pl -d 900 -y' started at 05/06/06 00:44:13
'zmaudit.pl -d 900 -y' starting at 05/06/06 00:44:13, pid = 7638
'zmwatch.pl' started at 05/06/06 00:44:16
'zmwatch.pl' starting at 05/06/06 00:44:16, pid = 7644
'zmupdate.pl -c' started at 05/06/06 00:44:20
'zmupdate.pl -c' starting at 05/06/06 00:44:20, pid = 7649
Can't find process with command of 'zmc -d 0'
'zmc -d 0' starting at 05/06/06 00:45:10, pid = 7684
'zmc -d 0' started at 05/06/06 00:45:10
'zmc -d 0' crashed at 05/06/06 00:45:11, exit status 255
'zmc -d 0' starting at 05/06/06 00:45:11, pid = 7686
Can't select: Is a directory at /usr/local/bin/zmdc.pl line 593.
'zmc -d 0' started at 05/06/06 00:45:11
Server starting at 05/06/06 00:45:13
Can't find process with command of 'zma -m 1'
Code: Select all
Scanning for events
Code: Select all
Command: start
Executing: su nobody -c '/usr/local/bin/zmdc.pl check'
Removing shared memory
Executing: su nobody -c '/usr/local/bin/zmfix'
Executing: su nobody -c '/usr/local/bin/zmdc.pl status'
Executing: su nobody -c '/usr/local/bin/zmdc.pl start zmc -d 0'
Executing: su nobody -c '/usr/local/bin/zmdc.pl start zmfilter.pl'
Executing: su nobody -c '/usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y'
Executing: su nobody -c '/usr/local/bin/zmdc.pl start zmwatch.pl'
Executing: su nobody -c '/usr/local/bin/zmdc.pl start zmupdate.pl -c'
Code: Select all
Update agent starting at 05/06/06 00:44:22
Code: Select all
Watchdog starting at 05/06/06 00:44:18
Watchdog pausing for 30 seconds
Can't get shared memory id '2053971969': No such file or directory
EDIT: I just tried to restart ZM. And when trying to view the stream, I get a broken image. But trying to force 'view image' with firefox, I get a 500 internal server error. In my apache error_log, apparently the cgi is broken, I have..
Code: Select all
[Mon Jun 6 01:08:59 2005] [error] [client 192.168.1.102] Premature end of script headers: /usr/local/apache/cgi-bin/zms