|
From: Norris W. <na...@ro...> - 2003-05-14 03:00:32
|
Hi all,
I have been attempting to configure iptable log and the feeder
on two different machines. Here is what I have done:
I configured the feeder on my firewall with the following settings:
my $dsn = 'DBI:mysql:iptables:192.x.x.x';
my $db_user_name = user_name;
my $db_password = 'passwd';
my $log_file = '/var/log/messages';
my $pid_file = "/var/run/iptablelog.pid";
I also configured the config.php with the following:
// $Id: config.php,v 1.12 2002/12/16 20:35:53 gege Exp $
# Host of the MySQL database
$db_host="localhost";
# User of the MySQL database
$db_user="iptables_admin";
# Password of the MySQL database
$db_password="I6jhhia3";
# Name of the database
$db_name="iptables";
# URL Path to your installation
$url_base="/firewall";
#debug mode
$debug=1;
#The default number of record displayed
$default_number=20;
#The default chain displayed
$default_chain="ALL";
#The default date for packets (10000 means any)
$default_date=10000;
#The default ignored ports
$default_ignored_ports= array();
When I start the feeder on my firewall, I get the following errors below. I
have not and plan not to install mysql on my firewall. It has just enough
to function as a firewall should:
Executing /etc/rc.d/init.d/iptablelog start ..
Starting feed_db.pl: install_driver(mysql) failed: Can't locate DBD/mysql.pm
in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) at (eval 1) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: ExampleP, Proxy.
at /usr/local/bin/feed_db.pl line 51
[FAILED]
I cant install DBD::MYSQL cause it looks for mysql and I dont want to
install MYSQL HELPP!!!
|