Hi Jose,
Thanks a million for finding me buried deep in the forum here!
I am afraid linux is a bit new for me, however I can already feel the wonderful power and flexibility harnessed in this excellent application Philip has produced. I like very much the modular and scaleable nature of the design with the browser frontend and daemons running in the background and I really look forward to a stable instance of ZoneMinder running for me to enjoy too.
Now I will go carefully step by step (following your recommendations) from a fresh reboot into my Linux Redhat 8.
1) Try accessing your camera with a capture program like "xawtv "
OK, I have accessed XAWTV many times in the past and not had any trouble. I always go back to it for my sanity!
(I have never looked in any log files to check XAWTV is working properly, I have never thought to do this, but if you think this is a good idea then I will do so. Where do I look?).
OK,for now I open XAWTV and launch dmesg, seems ok, nothing nasty looking, now I close XAWTV again, it seems to work OK. Fine pictures from my camera as usual.
Next I run zmc from a user console instance on my Bluecurve desktop (so I am running in Xwindows I guess) like this:-
$ zmc -d /dev/video0&
Next I run zms from the console in debugger gdb:-
$ gdb zms
$ (gdb)run
I found that it is necessary to start zmc before zms for success.
Now I have "--zoneminder frame" updating into my console screen beneath a lot of random characters. The console screen keeps updating regularly but sometimes the text of "--zoneminder frame" is broken and distorted. Example here:- --zo-em-nder fr-me. ( Is this normal and OK?).
I have run the above setup overnight and the console window is still updating the following morning.
This must be good!
Here is my TOP data from this morning following the overnight run setup above:-
7:09am up 11:20, 1 user, load average: 0.38, 0.59, 0.70
88 processes: 84 sleeping, 2 running, 0 zombie, 2 stopped
CPU states: 6.5% user, 1.3% system, 0.0% nice, 92.0% idle
Mem: 513928K av, 362052K used, 151876K free, 0K shrd, 15196K buff
Swap: 257000K av, 0K used, 257000K free 222148K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
7195 pthomas 15 0 36100 31M 30800 S 2.3 6.2 9:09 zmc
1913 pthomas 15 0 13324 13M 7132 R 2.1 2.5 15:52 gnome-terminal
1046 root 5 -10 153M 25M 6504 S < 1.9 5.0 198:06 X
1221 pthomas 15 0 5856 5852 4964 S 0.3 1.1 0:34 magicdev
8116 pthomas 16 0 1108 1108 840 R 0.3 0.2 1:32 top
1 root 15 0 476 476 424 S 0.0 0.0 0:04 init
2 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
3 root 15 0 0 0 0 SW 0.0 0.0 0:01 kapmd
4 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU0
5 root 15 0 0 0 0 SW 0.0 0.0 0:00 kswapd
6 root 25 0 0 0 0 SW 0.0 0.0 0:00 bdflush
7 root 15 0 0 0 0 SW 0.0 0.0 0:00 kupdated
8 root 25 0 0 0 0 SW 0.0 0.0 0:00 mdrecoveryd
58 root 15 0 0 0 0 SW 0.0 0.0 0:00 khubd
253 root 15 0 0 0 0 SW 0.0 0.0 0:00 kjournald
298 root 15 0 0 0 0 SW 0.0 0.0 0:00 knodemgrd
Next small step is maybe it would be good to pipe the streaming data to my Mozilla browser and run this for a few hours to see if it freezes. This way I can check my browser being pushed to from the streaming capture (before I get involved with Apache).
How can I do this task please? I am stuck here.
--------------------------------------------------------------------------
2) Read the entry "Why do I have lots of zms processes running even though I'm not viewing any streams?" from the FAQ section.
I have looked at the website for the update to Apache (
http://people.redhat.com/jorton/9-httpd)
Philip says in the forum that he downloaded the single file from that location but now there are several files! Which one do I need?
Mod_ssl-2.040-21.8.136.rpm
httpd-manual-2.0.40-21.8.i386.rpm
httpd-devel-2.0.40-21.8.i386.rpm
httpd-2.0.40-21.8.i386.rpm
When I know which one I need, presumably I install it with just:- rpm -Uvh <the rpm file> and that is finished! (No more leaking if that is one of my problems)
------------------------------------------------------------
Finally for completeness here is a printout from 14 Dec 2003 of zmdc.log from the last time I ran ZoneMinder. I used "zmpkg.pl start" to start ZoneMinder. Maybe it holds some clues? Here it is :-
l5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usrlib/perl5/vendor_perl) at /usr/local/bin/zmfilter.pl line 73.
BEGIN failed--compilation aborted at /usr/local/bin/zmfilter.pl line 73.
'zmfilter.pl -m 1 -e -1' crashed at 03/12/14 15:42:22, exit status 2
Starting pending process, zmfilter.pl -m 1 -e -1
'zmfilter.pl -m 1 -e -1' starting at 03/12/14 15:45:02, pid = 3630
'zmfilter.pl -m 1 -e -1' started at 03/12/14 15:45:02
Can't locate Archive/Zip.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/prl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/pel5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usrlib/perl5/vendor_perl) at /usr/local/bin/zmfilter.pl line 73.
BEGIN failed--compilation aborted at /usr/local/bin/zmfilter.pl line 73.
'zmfilter.pl -m 1 -e -1' crashed at 03/12/14 15:45:02, exit status 2
'zmc -d 0' stopping at 03/12/14 15:45:27
'zmc -d 0' died at 03/12/14 15:45:27
'zmc -d 0' starting at 03/12/14 15:45:27, pid = 3713
'zmc -d 0' started at 03/12/14 15:45:27
Command 'zmfilter.pl -m 1 -e -1' removed from pending list at 03/12/14 15:45:27
Can't find process with command of 'zma -m 1'
'zmwatch.pl ' stopping at 03/12/14 16:02:33
'zmwatch.pl ' died at 03/12/14 16:02:34, signal 14
'zmaudit.pl -d 900 -y' stopping at 03/12/14 16:02:34
'zmc -d 0' died at 03/12/14 16:02:34
'zmc -d 0' starting at 03/12/14 16:02:34, pid = 7181
'zmc -d 0' started at 03/12/14 16:02:34
Can't connect to server: Lost connection to MySQL server during query
'zmc -d 0' crashed at 03/12/14 16:02:34, exit status 221
[pthomas@localhost tmp]$
Can you recommend anymore small steps to try?
I thankyou again for responding to help with a broken ZoneMinder.. ...
Thanks.
Peter.