ZM console stoped & not get started,with apache php upg

Support and queries relating to all previous versions of ZoneMinder
Locked
kpmin
Posts: 20
Joined: Sat Jul 31, 2004 7:25 pm

ZM console stoped & not get started,with apache php upg

Post by kpmin »

I have RedHat 9.0, and zm 1.19.3. Due to the so-called memory leak, after a while, the pc is crawling to a halt. The PHP, Mysql and apache were installed from the RH9.0 CD using the rpm. The zm worked fine except for this problem.

So, I upgraded the apache2.0.40 to apache2.0.50 , and also the php to php4.3.8, because I do not know how to connect the new apache2.0.50 to the old php.4.2.2-17.

---------
I installed the php by doing the following.
root@PC3LRH9-a5 php-4.3.8]# ./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql
And then
make
make install
And then
cp php.ini-recommended /usr/local/lib/php.ini
then add the following to httpd.conf
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

and then change the http.conf file for doucment directory and others
and then restart the httpd
/usr/local/apache2/bin/apachectl start
--------
The apache started ok, but I got the following error, when connecting to zm.php in the mozilla browser.
Could not connect to database: Can't connect to local MySQL server through socket '/tmp/mysql.sock'

So, I searched the forum, and did the link to the mysql.sock with following command.

ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

THen it lists the Zm console properly. But when I try to start the run status to 'start' from 'stop', it will just refresh the console screen with 'stop' status.

Where can I look for this problem, how can I start the debug process?

Thank you for your help.
kpmin
Posts: 20
Joined: Sat Jul 31, 2004 7:25 pm

Post by kpmin »

I finally found the error log. I upgraded the http and could not find it in system log view at first.
I am not familiar with PHP. So, I am studying it now, but it will take some time to figure this out. I turned on the register_global in the php.ini file for the new php4.3.8. Could somebody please help? Thank you.

[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/local/apache2/htdocs/zm/zm.php on line 20, referer: http://localhost/zm/zm.php
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/local/apache2/htdocs/zm/zm.php on line 20, referer: http://localhost/zm/zm.php
[client 127.0.0.1] PHP Warning: Invalid argument supplied for foreach() in /usr/local/apache2/htdocs/zm/zm_html_view_state.php on line 147, referer: http://localhost/zm/zm.php
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/local/apache2/htdocs/zm/zm.php on line 20, referer: http://localhost/zm/zm.php?view=state
[client 127.0.0.1] PHP Notice: Undefined variable: mid in /usr/local/apache2/htdocs/zm/zm_actions.php on line 127, referer: http://localhost/zm/zm.php?view=state
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/local/apache2/htdocs/zm/zm.php on line 20, referer: http://localhost/zm/zm.php
[client 127.0.0.1] PHP Notice: Undefined variable: mid in /usr/local/apache2/htdocs/zm/zm_actions.php on line 127, referer: http://localhost/zm/zm.php
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/local/apache2/htdocs/zm/zm.php on line 20, referer: http://localhost/zm/zm.php
kpmin
Posts: 20
Joined: Sat Jul 31, 2004 7:25 pm

Post by kpmin »

I uninstallled and reinsatlled the zoneminder by doing the following, but still I have the same problme. Could someone help where I can look to fix this problem?
THank you very much.

make uninstall
make install
make uninstall
make clean
make distclean
./configure --with-mysql=/usr --with-webdir=/usr/local/apache2/htdocs/zm --with-cgidir=/usr/local/apache2/cgi-bin
perl ./zmconfig.pl
make
make install

Thank you.
kpmin
Posts: 20
Joined: Sat Jul 31, 2004 7:25 pm

Post by kpmin »

Just for your info, I have the PHP info as follows, if it helps you find where it may be wrong.

PHP Version 4.3.8

System Linux PC3LRH9-a7 2.4.20 #5 SMP Tue May 25 16:58:09 PDT 2004 i686
Build Date Jul 24 2004 15:22:20
Configure Command './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp
kpmin
Posts: 20
Joined: Sat Jul 31, 2004 7:25 pm

Post by kpmin »

I checked the zmpkg.pl, and it has the following.
------------------
use constant ZM_PATH_BIN => "/usr/local/bin"; # Path to the ZoneMinder executables, autogenerated do not change (from zmconfig)
use constant ZM_PATH_WEB => "/usr/local/apache2/htdocs/zm"; # Path to the ZoneMinder web files, autogenerated do not change (from zmconfig)
use constant ZM_PATH_CGI => "/usr/local/apache2/cgi-bin"; # Path to the ZoneMinder cgi files, autogenerated do not change (from zmconfig)
use constant ZM_WEB_USER => "apache"; # User name of your httpd daemon user, autogenerated do not change (from zmconfig)
use constant ZM_WEB_GROUP => "apache"; # User group of your httpd daemon user, autogenerated do not change (from zmconfig)
use constant ZM_DB_SERVER => "localhost"; # Machine on which the database server is running (from zmconfig)
use constant ZM_DB_NAME => "zm"; # Database containing the tables (from zmconfig)
use constant ZM_DB_USERA => "zmroot"; # Privileged DB user name, needs at least select, insert, update and delete privileges (from zmconfig)
use constant ZM_DB_PASSA => "zmroot"; # Privileged DB user password (from zmconfig)
----------------

I also changed the permission to 777 from 700 in zm_monitor.cpp. and the ipcs has the following.
---------
[root@PC3LRH9-a7 root]# ipcs

------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x7a6d2005 32768 apache 777 25920448 1
0x00000000 65537 root 777 393216 2 dest

------ Semaphore Arrays --------
key semid owner perms nsems
0x00000000 32768 nobody 600 1
0x00000000 65537 nobody 600 1

--------------
Also, I changed the /etc/passwd for the apache
to
apache:x:48:48:Apache:/usr/local/apache2:/bin/bash
from
apache:x:48:48:Apache:/var/www:/sbin/nologin

------------------------
In the /tmp/zmdc.log, I get the following err. I upgraded PHP and APACHE only, not the perl. Do I need to do anything on the side of the Perl?

---------------
[root@PC3LRH9-a7 tmp]# tail zmdc.log
'zmfilter.pl' started at 04/08/07 11:08:27
Can't locate MIME/Entity.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/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/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0) at /usr/local/bin/zmfilter.pl line 87.
BEGIN failed--compilation aborted at /usr/local/bin/zmfilter.pl line 87.
'zmfilter.pl ' crashed at 04/08/07 11:08:28, exit status 2
Starting pending process, zmfilter.pl
'zmfilter.pl' started at 04/08/07 11:09:08
'zmfilter.pl' starting at 04/08/07 11:09:08, pid = 2154
Can't locate MIME/Entity.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/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/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0) at /usr/local/bin/zmfilter.pl line 87.
BEGIN failed--compilation aborted at /usr/local/bin/zmfilter.pl line 87.
'zmfilter.pl ' crashed at 04/08/07 11:09:08, exit status 2
[root@PC3LRH9-a7 tmp]#

-------------------------

For the /tmp/zmpkg.log, I have the following.
---------
Command: start
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl check'
Removing shared memory
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmfix'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl status'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmc -d 0'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmfilter.pl'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmwatch.pl'
[root@PC3LRH9-a7 tmp]#

---------
I have the following for the zmwatch.log
[Watchdog starting at 04/08/07 11:07:52
Watchdog pausing for 30 seconds
-----------------------
I still have some errors on the /usr/local/apache2/logs/error_log
-------
[client 127.0.0.1] PHP Notice: Undefined variable: mid in /usr/local/apache2/htdocs/zm/zm_actions.php on line 127, referer: http://localhost/zm/index.php?view=state
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/local/apache2/htdocs/zm/zm.php on line 21, referer: http://localhost/zm/index.php
[client 127.0.0.1] PHP Notice: Undefined variable: mid in /usr/local/apache2/htdocs/zm/zm_actions.php on line 127, referer: http://localhost/zm/index.php
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/local/apache2/htdocs/zm/zm.php on line 21, referer: http://localhost/zm/

And others

*****************************************

I originally installed the zoneminder 1.19.3 on the Redhat9.0. And it worked fine, except that I learned the memory leak problem and expereinced on my RH9.0. So, I upgraded the apache to 2.0.50 and PHP to 4.3.8 by downloading and compiling it. THey seem to work fine. But the zoneminder does not start on the browser zm console. After I click to start, it just refreshes with the 'stopped' status. How can I fix this?

Coulld someone please give me some hint on where to look?

THank you very much.
kpmin
Posts: 20
Joined: Sat Jul 31, 2004 7:25 pm

Post by kpmin »

I fixed the Perl problem by following the FAQ and other posts on the fourm. NOw, I have the following in the /tmp/zmdc.log
------------
Server starting at 04/08/07 15:16:36
'zmc -d 0' started at 04/08/07 15:16:40
'zmc -d 0' starting at 04/08/07 15:16:40, pid = 1673
'zmfilter.pl' starting at 04/08/07 15:16:40, pid = 1678
'zmfilter.pl' started at 04/08/07 15:16:40
'zmaudit.pl -d 900 -y' starting at 04/08/07 15:16:41, pid = 1683
'zmaudit.pl -d 900 -y' started at 04/08/07 15:16:41
'zmwatch.pl' started at 04/08/07 15:16:42
'zmwatch.pl' starting at 04/08/07 15:16:42, pid = 1688
'zmc -d 0' stopping at 04/08/07 15:32:45
'zmc -d 0' died at 04/08/07 15:32:45
'zmfilter.pl ' stopping at 04/08/07 15:32:45
'zmfilter.pl ' died at 04/08/07 15:32:45, signal 14
'zmaudit.pl -d 900 -y' stopping at 04/08/07 15:32:45
'zmaudit.pl -d 900 -y' died at 04/08/07 15:32:45, signal 14
'zmwatch.pl ' stopping at 04/08/07 15:32:45
'zmwatch.pl ' died at 04/08/07 15:32:45, signal 14
Server shutdown at 04/08/07 15:32:55
Server starting at 04/08/07 15:33:02
'zmc -d 0' started at 04/08/07 15:33:06
'zmc -d 0' starting at 04/08/07 15:33:06, pid = 1913
'zmfilter.pl' starting at 04/08/07 15:33:06, pid = 1918
'zmfilter.pl' started at 04/08/07 15:33:06
'zmaudit.pl -d 900 -y' starting at 04/08/07 15:33:07, pid = 1923
'zmaudit.pl -d 900 -y' started at 04/08/07 15:33:07
'zmwatch.pl' starting at 04/08/07 15:33:08, pid = 1929
'zmwatch.pl' started at 04/08/07 15:33:08

------------
But I still get the following error in the http access log
---------
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/local/apache2/htdocs/zm/zm.php on line 21
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/local/apache2/htdocs/zm/zm.php on line 21, referer: http://localhost/zm/
[client 127.0.0.1] PHP Warning: Invalid argument supplied for foreach() in /usr/local/apache2/htdocs/zm/zm_html_view_state.php on line 147, referer: http://localhost/zm/
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/local/apache2/htdocs/zm/zm.php on line 21, referer: http://localhost/zm/index.php?view=state
[client 127.0.0.1] PHP Notice: Undefined variable: mid in /usr/local/apache2/htdocs/zm/zm_actions.php on line 127, referer: http://localhost/zm/index.php?view=state
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/local/apache2/htdocs/zm/zm.php on line 21, referer: http://localhost/zm/index.php
[client 127.0.0.1] PHP Notice: Undefined variable: mid in /usr/local/apache2/htdocs/zm/zm_actions.php on line 127, referer: http://localhost/zm/index.php
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/local/apache2/htdocs/zm/zm.php on line 21

--------

And the zoneminder does not start from the browser console. Could someone please give me where to look to fix this probem?

Thank you.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Hi,

The PHP Notice and Warning messgaes you can safely ignore. Most people have their php.ini file configured to silence these anyway. They aren't your real problems.

The best place to look for important error messages is in /var/log/messages, especialyl just when you try to start ZM. I suspect that will show up something. I also notice you get a MIME/Entity error. This is easy to fix, just check the README or search the forum for the solution, though it's not critical.

Phil,
kpmin
Posts: 20
Joined: Sat Jul 31, 2004 7:25 pm

Post by kpmin »

Thank you very much for the reply and clue, Phil.

I listed the /var/log/messages below. I am not sure if this tells anything. Those messages are after I started the http server and zmpkg.pl in that order by doing this.
----------
[root@PC3LRH9-a7 root]# /usr/local/apache2/bin/apachectl start
[Thu Aug 12 17:46:53 2004] [warn] module php4_module is already loaded, skipping[root@PC3LRH9-a7 root]# zmpkg.pl start
[root@PC3LRH9-a7 root]#
------------------
[root@PC3LRH9-a7 log]# tail -40 messages
Aug 12 17:45:59 PC3LRH9-a7 gconfd (root-1558): starting (version 2.2.0), pid 1558 user 'root'
Aug 12 17:45:59 PC3LRH9-a7 gconfd (root-1558): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config source at position 0
Aug 12 17:45:59 PC3LRH9-a7 gconfd (root-1558): Resolved address "xml:readwrite:/root/.gconf" to a writable config source at
position 1
Aug 12 17:45:59 PC3LRH9-a7 gconfd (root-1558): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only
config source at position 2
Aug 12 17:46:07 PC3LRH9-a7 kernel: cdrom: This disc doesn't have any tracks I recognize!
Aug 12 17:47:07 PC3LRH9-a7 su(pam_unix)[1638]: session opened for user apache by root(uid=0)
Aug 12 17:47:08 PC3LRH9-a7 su(pam_unix)[1638]: session closed for user apache
Aug 12 17:47:08 PC3LRH9-a7 su(pam_unix)[1644]: session opened for user apache by root(uid=0)
Aug 12 17:47:08 PC3LRH9-a7 zmfix[1645]: INF [Debug Level = 0, Debug Log = ]
Aug 12 17:47:08 PC3LRH9-a7 zmfix[1645]: INF [Resetting permissions on /dev/video0 to 20606]
Aug 12 17:47:08 PC3LRH9-a7 su(pam_unix)[1644]: session closed for user apache
Aug 12 17:47:08 PC3LRH9-a7 su(pam_unix)[1647]: session opened for user apache by root(uid=0)
Aug 12 17:47:12 PC3LRH9-a7 su(pam_unix)[1647]: session closed for user apache
Aug 12 17:47:12 PC3LRH9-a7 su(pam_unix)[1667]: session opened for user apache by root(uid=0)
Aug 12 17:47:12 PC3LRH9-a7 su(pam_unix)[1667]: session closed for user apache
Aug 12 17:47:12 PC3LRH9-a7 su(pam_unix)[1671]: session opened for user apache by root(uid=0)
Aug 12 17:47:12 PC3LRH9-a7 zmc-d0[1670]: INF [Debug Level = 0, Debug Log = ]
Aug 12 17:47:12 PC3LRH9-a7 zmc-d0[1670]: INF [Starting Capture]
Aug 12 17:47:12 PC3LRH9-a7 su(pam_unix)[1671]: session closed for user apache
Aug 12 17:47:13 PC3LRH9-a7 su(pam_unix)[1676]: session opened for user apache by root(uid=0)
Aug 12 17:47:13 PC3LRH9-a7 su(pam_unix)[1676]: session closed for user apache
Aug 12 17:47:13 PC3LRH9-a7 su(pam_unix)[1681]: session opened for user apache by root(uid=0)
Aug 12 17:47:13 PC3LRH9-a7 su(pam_unix)[1681]: session closed for user apache
Aug 12 17:47:47 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 1000 - Capturing at 28.57 fps]
Aug 12 17:48:20 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 2000 - Capturing at 30.30 fps]
Aug 12 17:48:54 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 3000 - Capturing at 29.41 fps]
Aug 12 17:49:34 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 4000 - Capturing at 25.00 fps]
Aug 12 17:50:08 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 5000 - Capturing at 29.41 fps]
Aug 12 17:50:42 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 6000 - Capturing at 29.41 fps]
Aug 12 17:51:15 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 7000 - Capturing at 30.30 fps]
Aug 12 17:51:49 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 8000 - Capturing at 29.41 fps]
Aug 12 17:52:22 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 9000 - Capturing at 30.30 fps]
Aug 12 17:52:56 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 10000 - Capturing at 29.41 fps]
Aug 12 17:53:29 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 11000 - Capturing at 30.30 fps]
Aug 12 17:54:03 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 12000 - Capturing at 29.41 fps]
Aug 12 17:54:37 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 13000 - Capturing at 29.41 fps]
Aug 12 17:55:10 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 14000 - Capturing at 30.30 fps]
Aug 12 17:55:44 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 15000 - Capturing at 29.41 fps]
Aug 12 17:56:17 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 16000 - Capturing at 30.30 fps]
Aug 12 17:56:50 PC3LRH9-a7 zmc-d0[1670]: INF [cam1: 17000 - Capturing at 30.30 fps]
[root@PC3LRH9-a7 log]#

--------------

Right befoer I listed the /var/log/messages above, I started on the browser ZM console by clicking 'stopped' to make the status to 'start', but still it refreshes with 'stopped'status. I do not seem to see anytning wrong. The zmc seems to be working. Why is the status not changed to 'started'?

Could you please help on this?

Thank you verymuch.
kpmin
Posts: 20
Joined: Sat Jul 31, 2004 7:25 pm

Post by kpmin »

I just noticed that when I clicked 'stopped' on the zm console, on the popup window, under title 'ZoneMinder - Run State', it shows only 'start'. I thought I saw 'restart' and 'stop' on the drop-down when it worked ok, but now there is only 'start'. Is this normal?

Also, I noticed that on the camera that I added, '/dev/video0(1)' color is red, 'Monitor' on the function colum, the color is yellow. If I click the camera name to see the video, it shows still picture with the time at the top showing the current time. BUt the video is not working when I click the word 'stream' to see the video. So, I think the capturing is somehow working, albeit not completely.

Could you please give me some insight what is going on?

THank you very much.
kpmin
Posts: 20
Joined: Sat Jul 31, 2004 7:25 pm

Post by kpmin »

Somehow, the video works just fine. It shows the streaming video, after I do the zmpkg.pl start.

But as I said on the zm console, the run status still does not change to running from stopped.
Also, the color on the source column is still red on /dev/video1 (0) and /dev/video0 (1).

Could you please help how to fix this.

THank you very much.
kpmin
Posts: 20
Joined: Sat Jul 31, 2004 7:25 pm

Post by kpmin »

After the PHP and Apache upgrade as described previously, I still can not start the zm from the browser zm console. It shows only the 'start' command. and after cliicking the 'start', it still shows 'stopped'. But after that it seems to be working.

Also, the color on the source column is still red on /dev/video1 (0) and /dev/video0 (1), even when it is working.

Where can I look or what should I do to fix this? Could you please give some clues?

Thank you very much.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

If the console indications are red then there should definitely be something in /var/log/messages to tell you why, zmdc.log should also indicate if it's having trouble starting the capture packages for certain cameras.

However if you've seen streaming video when running zmpkg.pl from the command line then it sounds extra weird. Nonetheless the clue should be in the messages file. Failing that I'd be happy to take a look over your system to sort it out.

Phil,
kpmin
Posts: 20
Joined: Sat Jul 31, 2004 7:25 pm

Post by kpmin »

Thank you for your reply. Here is what I found

I just booted the pc at 6:39pm 09/06/04, and the 'zmpkg.pl start' is executed in the/etc/rc.d/rc.

SO, when I started the browser, and opend the zm console, and the monitor, the pictures shows right there. And here are the log files related to zm. I do not seem to see anything in error.

-----------------
[root@PC3LRH9-a7 tmp]# tail zmpkg.log
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmwatch.pl'
Command: start
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl check'
Removing shared memory
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmfix'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl status'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmc -d 0'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmfilter.pl'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y'
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl start zmwatch.pl'
-----------------
[root@PC3LRH9-a7 tmp]# tail zmdc.log
Server starting at 04/09/06 18:39:39
'zmc -d 0' started at 04/09/06 18:39:42
'zmc -d 0' starting at 04/09/06 18:39:42, pid = 1346
'zmfilter.pl' started at 04/09/06 18:39:42
'zmfilter.pl' starting at 04/09/06 18:39:42, pid = 1351
'zmaudit.pl -d 900 -y' starting at 04/09/06 18:39:43, pid = 1356
'zmaudit.pl -d 900 -y' started at 04/09/06 18:39:43
'zmwatch.pl' starting at 04/09/06 18:39:43, pid = 1361
'zmwatch.pl' started at 04/09/06 18:39:43
-----------------
[root@PC3LRH9-a7 tmp]# tail zmwatch.log
Watchdog starting at 04/09/06 18:39:44
Watchdog pausing for 30 seconds

-------------------
[root@PC3LRH9-a7 tmp]# tail zmfilter.log
Scanning for events
Scanning for events
Scanning for events
Scanning for events
Scanning for events
Scanning for events
Scanning for events
Scanning for events
Scanning for events
Scanning for events
---------------------
[root@PC3LRH9-a7 tmp]# tail -50 /var/log/messages
Sep 6 18:39:33 PC3LRH9-a7 kernel: bttv: driver version 0.7.96 loaded
Sep 6 18:39:33 PC3LRH9-a7 kernel: bttv: using 4 buffers with 2080k (8320k total) for capture
Sep 6 18:39:33 PC3LRH9-a7 kernel: bttv: Host bridge is VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x]Sep 6 18:39:33 PC3LRH9-a7 kernel: bttv: Bt8xx card found (0).
Sep 6 18:39:33 PC3LRH9-a7 kernel: bttv0: Bt878 (rev 17) at 00:0c.0, irq: 11, latency: 32, mmio: 0xdb104000
Sep 6 18:39:33 PC3LRH9-a7 kernel: bttv0: using: BT878( *** UNKNOWN/GENERIC **) [card=0,autodetected]
Sep 6 18:39:33 PC3LRH9-a7 kernel: i2c-core.o: adapter bt848 #0 registered as adapter 0.
Sep 6 18:39:33 PC3LRH9-a7 kernel: bttv0: using tuner=-1
Sep 6 18:39:33 PC3LRH9-a7 kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
Sep 6 18:39:33 PC3LRH9-a7 kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Sep 6 18:39:33 PC3LRH9-a7 kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Sep 6 18:39:33 PC3LRH9-a7 kernel: i2c-core.o: driver i2c TV tuner driver registered.
Sep 6 18:39:33 PC3LRH9-a7 kernel: tuner: probing bt848 #0 i2c adapter [id=0x10005]
Sep 6 18:39:33 PC3LRH9-a7 kernel: bttv0: registered device video0
Sep 6 18:39:33 PC3LRH9-a7 kernel: bttv0: registered device vbi0
Sep 6 18:39:37 PC3LRH9-a7 su(pam_unix)[1314]: session opened for user apache by (uid=0)
Sep 6 18:39:38 PC3LRH9-a7 su(pam_unix)[1314]: session closed for user apache
Sep 6 18:39:38 PC3LRH9-a7 su(pam_unix)[1320]: session opened for user apache by (uid=0)
Sep 6 18:39:38 PC3LRH9-a7 zmfix[1321]: INF [Debug Level = 0, Debug Log = ]
Sep 6 18:39:38 PC3LRH9-a7 zmfix[1321]: INF [Resetting permissions on /dev/video0 to 20606]
Sep 6 18:39:38 PC3LRH9-a7 su(pam_unix)[1320]: session closed for user apache
Sep 6 18:39:38 PC3LRH9-a7 su(pam_unix)[1323]: session opened for user apache by (uid=0)
Sep 6 18:39:42 PC3LRH9-a7 su(pam_unix)[1323]: session closed for user apache
Sep 6 18:39:42 PC3LRH9-a7 su(pam_unix)[1343]: session opened for user apache by (uid=0)
Sep 6 18:39:42 PC3LRH9-a7 su(pam_unix)[1343]: session closed for user apache
Sep 6 18:39:42 PC3LRH9-a7 su(pam_unix)[1347]: session opened for user apache by (uid=0)
Sep 6 18:39:42 PC3LRH9-a7 zmc-d0[1346]: INF [Debug Level = 0, Debug Log = ]
Sep 6 18:39:42 PC3LRH9-a7 zmc-d0[1346]: INF [Starting Capture]
Sep 6 18:39:42 PC3LRH9-a7 su(pam_unix)[1347]: session closed for user apache
Sep 6 18:39:42 PC3LRH9-a7 su(pam_unix)[1352]: session opened for user apache by (uid=0)
Sep 6 18:39:43 PC3LRH9-a7 su(pam_unix)[1352]: session closed for user apache
Sep 6 18:39:43 PC3LRH9-a7 su(pam_unix)[1357]: session opened for user apache by (uid=0)
Sep 6 18:39:43 PC3LRH9-a7 su(pam_unix)[1357]: session closed for user apache
Sep 6 18:39:47 PC3LRH9-a7 modprobe: modprobe: Can't locate module char-major-10-134
Sep 6 18:39:52 PC3LRH9-a7 modprobe: modprobe: Can't locate module char-major-13
Sep 6 18:40:23 PC3LRH9-a7 zmc-d0[1346]: INF [cam1: 1000 - Capturing at 24.39 fps]
Sep 6 18:40:52 PC3LRH9-a7 gdm(pam_unix)[1398]: session opened for user root by (uid=0)
Sep 6 18:40:55 PC3LRH9-a7 gconfd (root-1468): starting (version 2.2.0), pid 1468 user 'root'
Sep 6 18:40:56 PC3LRH9-a7 gconfd (root-1468): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory"
to a read-only config source at position 0
Sep 6 18:40:56 PC3LRH9-a7 gconfd (root-1468): Resolved address "xml:readwrite:/root/.gconf" to a writable config source at position 1
Sep 6 18:40:56 PC3LRH9-a7 gconfd (root-1468): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config source at position 2
Sep 6 18:41:00 PC3LRH9-a7 zmc-d0[1346]: INF [cam1: 2000 - Capturing at 27.03 fps]
Sep 6 18:41:07 PC3LRH9-a7 kernel: cdrom: This disc doesn't have any tracks I recognize!
Sep 6 18:41:43 PC3LRH9-a7 zmc-d0[1346]: INF [cam1: 3000 - Capturing at 23.26 fps]
Sep 6 18:42:21 PC3LRH9-a7 zmc-d0[1346]: INF [cam1: 4000 - Capturing at 26.32 fps]
Sep 6 18:43:03 PC3LRH9-a7 zmc-d0[1346]: INF [cam1: 5000 - Capturing at 23.81 fps]
Sep 6 18:43:22 PC3LRH9-a7 zms[1564]: INF [Debug Level = 0, Debug Log = ]
Sep 6 18:43:46 PC3LRH9-a7 zmc-d0[1346]: INF [cam1: 6000 - Capturing at 23.26 fps]
Sep 6 18:44:24 PC3LRH9-a7 zmc-d0[1346]: INF [cam1: 7000 - Capturing at 26.32 fps]
Sep 6 18:45:03 PC3LRH9-a7 zmc-d0[1346]: INF [cam1: 8000 - Capturing at 25.64 fps]
[root@PC3LRH9-a7 tmp]#

----------------------------
I took a screenshots of my zm console, but I do not know how to attach to this post.

If you wish, I can email to your email addr.

Thank you very much for your help.
Locked