Page 1 of 1

configuration problems

Posted: Mon Oct 25, 2004 10:18 am
by biomass
I tried to install Zoneminder 1.19.5 on Fedora core 1

I'm using bttv video capture card with 4 in , but i use only the first one in .
It works with xawtv but i can't see zone images on web console

I got the following errors :

Oct 25 10:48:54 outerspace kernel: bttv: Bt8xx card found (0).
Oct 25 10:48:54 outerspace kernel: PCI: Found IRQ 10 for device 00:0b.0
Oct 25 10:48:54 outerspace kernel: PCI: Sharing IRQ 10 with 00:0b.1
Oct 25 10:48:54 outerspace kernel: PCI: Sharing IRQ 10 with 00:10.2
Oct 25 10:48:54 outerspace kernel: bttv0: Bt878 (rev 17) at 00:0b.0, irq: 10, la tency: 32, mmio: 0xee001000
Oct 25 10:48:54 outerspace kernel: bttv0: using: BT878( *** UNKNOWN/GENERIC **) [card=0,autodetected]
Oct 25 10:48:54 outerspace kernel: i2c-core.o: adapter bt848 #0 registered as ad apter 0.
Oct 25 10:49:10 outerspace kernel: bttv: readee error
Oct 25 10:49:10 outerspace kernel: bttv0: using tuner=-1
Oct 25 10:49:26 outerspace kernel: bttv0: i2c: checking for MSP34xx @ 0x80... no t found
Oct 25 10:49:42 outerspace kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... no t found
Oct 25 10:49:58 outerspace kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... no t found
Oct 25 10:49:58 outerspace kernel: bttv0: registered device video0
Oct 25 10:49:58 outerspace kernel: bttv0: registered device vbi0
Oct 25 11:10:19 outerspace gdm(pam_unix)[4050]: session closed for user root
Oct 25 11:10:27 outerspace gdm(pam_unix)[4050]: session opened for user root by (uid=0)
Oct 25 11:10:27 outerspace xinetd[4609]: warning: can't get client address: Tran sport endpoint is not connected
Oct 25 11:12:35 outerspace zmfix[4823]: INF [Debug Level = 0, Debug Log = ]
Oct 25 11:12:35 outerspace zmfix[4823]: INF [Resetting permissions on /dev/video 0 to 20606]
Oct 25 11:12:39 outerspace zmc-d0[4846]: INF [Debug Level = 0, Debug Log = ]
Oct 25 11:12:39 outerspace zmc-d0[4846]: ERR [Can't run query: Unknown column 'B rightness' in 'field list']

--------zmaudit.log

DBD::mysql::st execute failed: Unknown column 'M.EventPrefix' in 'field list' at /usr/local/bin/zmaudit.pl line 299.
Can't execute: Unknown column 'M.EventPrefix' in 'field list' at /usr/local/bin/zmaudit.pl line 299.


--------zmdc.log

Starting pending process, zmx10.pl -c start
'zmx10.pl -c start' started at 04/10/25 11:43:51
'zmx10.pl -c start' starting at 04/10/25 11:43:51, pid = 8038
Can't locate X10/ActiveHome.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/local/bin/zmx10.pl line 165.
BEGIN failed--compilation aborted at /usr/local/bin/zmx10.pl line 165.
'zmx10.pl -c start' crashed at 04/10/25 11:43:52, exit status 2

-----------zmwatch.log

Watchdog starting at 04/10/25 11:42:34
Watchdog pausing for 30 seconds
Can't get shared memory id '2053971971': No such file or directory

Any help appreciated , thanks in advance

regards

Stefano

Posted: Mon Oct 25, 2004 3:52 pm
by zoneminder
Have you created the database? If so and you do

Code: Select all

mysql zm
describe Monitors;
what do you see?

The other error relating to the X10::Active Home module is usally because you have indicated you want to use the X10 functionality but have not installed the necessary modules, see the README for details about how to do this.

Phil,

Posted: Mon Oct 25, 2004 4:43 pm
by biomass
Thanks alot Phil for your quickly answer !!!
I deleted my old installation and i reinstalled all the stuff, now works, but i got this error :

DBD::mysql::st execute failed: Unknown column 'M.EventPrefix' in 'field list' at /usr/local/bin/zmaudit.pl line 299.
Can't execute: Unknown column 'M.EventPrefix' in 'field list' at /usr/local/bin/zmaudit.pl line 299.

mysql> describe Monitors;


+-------------------+---------------------------------------------------+------+-----+-------------------------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------------+---------------------------------------------------+------+-----+-------------------------+----------------+
| Id | int(10) unsigned | | PRI | NULL | auto_increment |
| Name | tinytext | | | | |
| Type | enum('Local','Remote') | | | Local | |
| Function | enum('None','Monitor','Modect','Record','Mocord') | | | Monitor | |
| RunMode | enum('Continuous','Triggered') | | | Continuous | |
| Triggers | set('X10') | | | | |
| Device | tinyint(3) unsigned | | | 0 | |
| Channel | tinyint(3) unsigned | | | 0 | |
| Format | tinyint(3) unsigned | | | 0 | |
| Host | varchar(64) | YES | | NULL | |
| Port | varchar(8) | YES | | 80 | |
| Path | varchar(255) | YES | | NULL | |
| Width | smallint(5) unsigned | | | 0 | |
| Height | smallint(5) unsigned | | | 0 | |
| Palette | tinyint(3) unsigned | | | 1 | |
| Orientation | enum('0','90','180','270') | | | 0 | |
| Brightness | mediumint(7) | | | -1 | |
| Contrast | mediumint(7) | | | -1 | |
| Hue | mediumint(7) | | | -1 | |
| Colour | mediumint(7) | | | -1 | |
| EventPrefix | varchar(32) | | | Event- | |
| LabelFormat | varchar(32) | | | %%s - %y/%m/%d %H:%M:%S | |
| LabelX | smallint(5) unsigned | YES | | NULL | |
| LabelY | smallint(5) unsigned | YES | | NULL | |
| ImageBufferCount | smallint(5) unsigned | | | 100 | |
| WarmupCount | smallint(5) unsigned | | | 25 | |
| PreEventCount | smallint(5) unsigned | | | 10 | |
| PostEventCount | smallint(5) unsigned | | | 10 | |
| AlarmFrameCount | smallint(5) unsigned | | | 1 | |
| SectionLength | int(10) unsigned | | | 600 | |
| FrameSkip | smallint(5) unsigned | | | 0 | |
| MaxFPS | decimal(5,2) | | | 0.00 | |
| FPSReportInterval | smallint(5) unsigned | | | 250 | |
| RefBlendPerc | tinyint(3) unsigned | | | 10 | |
+-------------------+---------------------------------------------------+------+-----+-------------------------+----------------+


Thanks again for your amazing job !!!!