I followed the Prelude IDS guide at http://www.gentoo.org/proj/en/hardened/prelude-ids.xml. All fine until the very end when I try to access the piwi page. I get the following errors in the apache error log (I'm using Apache2): [Thu Jan 08 09:46:24 2004] [error] [client 10.0.0.2] Premature end of script headers: index.pl [Thu Jan 08 09:46:24 2004] [error] [client 10.0.0.2] Had to create DBD::mysql::dr::imp_data_size unexpectedly at /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/DBI.pm line 1020. [Thu Jan 08 09:46:24 2004] [error] [client 10.0.0.2] Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/DBI.pm line 1020. [Thu Jan 08 09:46:24 2004] [error] [client 10.0.0.2] Had to create DBD::mysql::db::imp_data_size unexpectedly at /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/DBI.pm line 1020. [Thu Jan 08 09:46:24 2004] [error] [client 10.0.0.2] Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/DBI.pm line 1020. [Thu Jan 08 09:46:24 2004] [error] [client 10.0.0.2] Undefined subroutine &DBD::mysql::db::_login called at /usr/lib/perl5/site_perl/5.8.0/i686-linux/DBD/mysql.pm line 128. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22) ================================================================= System uname: 2.4.22 i686 AMD Athlon(TM) XP 1800+ Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://build/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://gs001.rg2.tiger-computing.com/gentoo-portage" USE="3dnow apm berkdb crypt foomaticdb gpm gtk2 libg++ mad mmx mysql ncurses nocardbus pam pdflib perl python readline slp snmp sse ssl svga tcpd x86 zlib"
I've tried installing this on another system, and it installs and runs without problems. Looks like a funny on the first system; feel free to close this bug if you want.
Marking per poster's comments