Not getting images
Posted: Mon Apr 05, 2004 4:58 pm
I'm running gentoo with kernel 2.6.0 and a BTTV TV card which works fine with xawtv. I have zm 1.19.1 installed and apache and mysql are set up and working. I have one monitor set up as monitor, continuous, 600, 1, local and a source of 0, 1, 1, rgb24, 320, 240, normal. I'm using Mozilla Firebird and Opera. I'm not getting images even though zmc seems to be running. What seems not to be running is zma and zmf but I'm not getting any errors. I have to start it from the web page as I haven't fully changed zm to work with gentoo's init system and running it from console seems to confuse things as the user doesn't have access to the log files. I tried as root also with similar results as from the web page. ZM_OPT_FRAME_SERVER is selected as zmpgk.pl seems to test for that before starting zma and zmf.
From /var/log/everything after a restart:
Apr 5 11:21:01 [kernel] tuner: tv 0x0e 0xf0 0x8e 0x90
Apr 5 11:21:01 [zmc-d0] INF [Starting Capture]
Apr 5 11:21:45 [zmc-d0] INF [Zone1: 1000 - Capturing at 22.73 fps]
Apr 5 11:22:30 [zmc-d0] INF [Zone1: 2000 - Capturing at 22.22 fps]
Apr 5 11:23:15 [zmc-d0] INF [Zone1: 3000 - Capturing at 22.22 fps]
Apr 5 11:23:59 [zmc-d0] INF [Zone1: 4000 - Capturing at 22.73 fps]
From pa awx after a restart:
apache 5450 0.0 0.9 7412 5028 ? S 11:21 0:00 /usr/bin/perl -wT /usr/local/bin/zmdc.pl status
apache 5469 9.8 6.1 110388 31812 ? S 11:21 0:32 /usr/local/bin/zmc -d 0
apache 5473 0.2 2.0 12976 10568 ? S 11:21 0:00 /usr/bin/perl -wT /usr/local/bin/zmfilter.pl -e -1
apache 5477 0.0 0.7 6428 4016 ? S 11:21 0:00 /usr/bin/perl -wT /usr/local/bin/zmaudit.pl -d 900 -y
apache 5482 0.0 0.8 6960 4528 ? S 11:21 0:00 /usr/bin/perl -wT /usr/local/bin/zmwatch.pl
From zmdc.log:
Server starting at 04/04/05 11:20:57
'zmc -d 0' started at 04/04/05 11:21:01
'zmc -d 0' starting at 04/04/05 11:21:01, pid = 5469
'zmfilter.pl -e -1' started at 04/04/05 11:21:01
'zmfilter.pl -e -1' starting at 04/04/05 11:21:01, pid = 5473
'zmaudit.pl -d 900 -y' started at 04/04/05 11:21:02
'zmaudit.pl -d 900 -y' starting at 04/04/05 11:21:02, pid = 5477
'zmwatch.pl' started at 04/04/05 11:21:03
'zmwatch.pl' starting at 04/04/05 11:21:03, pid = 5482
From zmpkg.log:
Command: start
Executing: /usr/local/bin/zmdc.pl check
Removing shared memory
Executing: /usr/local/bin/zmfix
Executing: /usr/local/bin/zmdc.pl status
Executing: /usr/local/bin/zmdc.pl start zmc -d 0
Executing: /usr/local/bin/zmdc.pl start zmfilter.pl -e -1
Executing: /usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y
Executing: /usr/local/bin/zmdc.pl start zmwatch.pl
From zmfilter.log:Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
From zmwatch.log:
Restarting capture daemon ('/usr/local/bin/zmdc.pl restart zmc -d 0'), time since last capture 1 seconds 81181761-1081181760)
Watchdog starting at 04/04/05 11:21:03
Watchdog pausing for 30 seconds
zmaudit.log is empty and there are no other logs.
As a side note, zmconfig copies zms the the cgi directory as the directory name, not zms. In other words, I entered /cgi-bin/ as the directory and instead of getting zm/cgi-bin/zms I ended up with zm/cgi-bin. I had to fix that in the various spots in the configuration as well as copy zms myself.
From /var/log/everything after a restart:
Apr 5 11:21:01 [kernel] tuner: tv 0x0e 0xf0 0x8e 0x90
Apr 5 11:21:01 [zmc-d0] INF [Starting Capture]
Apr 5 11:21:45 [zmc-d0] INF [Zone1: 1000 - Capturing at 22.73 fps]
Apr 5 11:22:30 [zmc-d0] INF [Zone1: 2000 - Capturing at 22.22 fps]
Apr 5 11:23:15 [zmc-d0] INF [Zone1: 3000 - Capturing at 22.22 fps]
Apr 5 11:23:59 [zmc-d0] INF [Zone1: 4000 - Capturing at 22.73 fps]
From pa awx after a restart:
apache 5450 0.0 0.9 7412 5028 ? S 11:21 0:00 /usr/bin/perl -wT /usr/local/bin/zmdc.pl status
apache 5469 9.8 6.1 110388 31812 ? S 11:21 0:32 /usr/local/bin/zmc -d 0
apache 5473 0.2 2.0 12976 10568 ? S 11:21 0:00 /usr/bin/perl -wT /usr/local/bin/zmfilter.pl -e -1
apache 5477 0.0 0.7 6428 4016 ? S 11:21 0:00 /usr/bin/perl -wT /usr/local/bin/zmaudit.pl -d 900 -y
apache 5482 0.0 0.8 6960 4528 ? S 11:21 0:00 /usr/bin/perl -wT /usr/local/bin/zmwatch.pl
From zmdc.log:
Server starting at 04/04/05 11:20:57
'zmc -d 0' started at 04/04/05 11:21:01
'zmc -d 0' starting at 04/04/05 11:21:01, pid = 5469
'zmfilter.pl -e -1' started at 04/04/05 11:21:01
'zmfilter.pl -e -1' starting at 04/04/05 11:21:01, pid = 5473
'zmaudit.pl -d 900 -y' started at 04/04/05 11:21:02
'zmaudit.pl -d 900 -y' starting at 04/04/05 11:21:02, pid = 5477
'zmwatch.pl' started at 04/04/05 11:21:03
'zmwatch.pl' starting at 04/04/05 11:21:03, pid = 5482
From zmpkg.log:
Command: start
Executing: /usr/local/bin/zmdc.pl check
Removing shared memory
Executing: /usr/local/bin/zmfix
Executing: /usr/local/bin/zmdc.pl status
Executing: /usr/local/bin/zmdc.pl start zmc -d 0
Executing: /usr/local/bin/zmdc.pl start zmfilter.pl -e -1
Executing: /usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y
Executing: /usr/local/bin/zmdc.pl start zmwatch.pl
From zmfilter.log:Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
Scanning for events since id -1
From zmwatch.log:
Restarting capture daemon ('/usr/local/bin/zmdc.pl restart zmc -d 0'), time since last capture 1 seconds 81181761-1081181760)
Watchdog starting at 04/04/05 11:21:03
Watchdog pausing for 30 seconds
zmaudit.log is empty and there are no other logs.
As a side note, zmconfig copies zms the the cgi directory as the directory name, not zms. In other words, I entered /cgi-bin/ as the directory and instead of getting zm/cgi-bin/zms I ended up with zm/cgi-bin. I had to fix that in the various spots in the configuration as well as copy zms myself.