From: roger w. <rog...@gm...> - 2004-07-31 20:21:43
|
I am using Fedora Core 1 and Postfix. When I run amavisd debug get the following message. Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: TROUBLE in pre_loop_hook: BDB bad db env. at /var/amavis/db: Invalid argument, No such file or directory. BerkleyDB version: 4.1 at /usr/local/sbin/amavisd line 5053. Suicide () TROUBLE in pre_loop_hook: BDB bad db env. at /var/amavis/db: Invalid argument, No such file or directory. at /usr/local/sbin/amavisd line 5053. ******** Full debug output follows ******** [root@ns2 var]# amavisd debug Jul 31 16:30:55 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: starting. /usr/local/sbin/amavisd at ns2.dnssvr.net amavisd-new-20040701 (2.0), Unicode aware, LANG=en_US.iso885915 Jul 31 16:30:55 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: user=, EUID: 0 (0); group=, EGID: 0 10 6 4 3 2 1 0 (0 10 6 4 3 2 1 0) Jul 31 16:30:55 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Perl version 5.008003 Pid_file "/var/amavis/amavisd.pid" already exists. Overwriting! Jul 31 16:30:55 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Net::Server: 2004/07/31-16:30:55 Amavis (type Net::Server::PreForkSimple) starting! pid(340) Jul 31 16:30:55 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1 Jul 31 16:30:55 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Net::Server: Setting gid to "507 507" Jul 31 16:30:55 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Net::Server: Setting uid to "507" Jul 31 16:30:55 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Net::Server: Setting up serialization via flock Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Amavis::Conf 2.02 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Archive::Tar 1.08 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Archive::Zip 1.10 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module BerkeleyDB 0.25 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Compress::Zlib 1.33 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Convert::TNEF 0.17 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Convert::UUlib 1.03 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module DB_File 1.808 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module MIME::Entity 5.404 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module MIME::Parser 5.406 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module MIME::Tools 5.411 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Mail::Header 1.62 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Mail::Internet 1.62 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Mail::SpamAssassin 2.63 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Net::Cmd 2.25 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Net::DNS 0.31 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Net::SMTP 2.28 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Net::Server 0.87 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Time::HiRes 1.38 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Module Unix::Syslog 0.99 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Lookup::SQL code NOT loaded Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Lookup::LDAP code NOT loaded Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: AMCL-in protocol code NOT loaded Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: SMTP-in protocol code loaded Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: ANTI-VIRUS code loaded Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: ANTI-SPAM code loaded Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Unpackers code loaded Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Found $file at /usr/bin/file Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No $arc, not using it Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Found $gzip at /usr/bin/gzip Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Found $bzip2 at /usr/bin/bzip2 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No $lzop, not using it Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No $lha, not using it Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No $unarj, not using it Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Found $uncompress at /usr/bin/uncompress Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No $unfreeze, not using it Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No $unrar, not using it Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No $zoo, not using it Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Found $cpio at /bin/cpio Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Found $rpm2cpio at /usr/bin/rpm2cpio Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No $cabextract, not using it Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No $dspam, not using it Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: KasperskyLab AVP - aveclient Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: KasperskyLab AntiViral Toolkit Pro (AVP) Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: KasperskyLab AVPDaemonClient Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: H+BEDV AntiVir or CentralCommand Vexira Antivirus Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: Command AntiVirus for Linux Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: Symantec CarrierScan via Symantec CommandLineScanner Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: Symantec AntiVirus Scan Engine Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: drweb - DrWeb Antivirus Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: F-Secure Antivirus Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: CAI InoculateIT Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: MkS_Vir for Linux (beta) Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: MkS_Vir daemon Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: ESET Software NOD32 Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: ESET Software NOD32 - Client/Server Version Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: Norman Virus Control v5 / Linux Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: Panda Antivirus for Linux Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: NAI McAfee AntiVirus (uvscan) Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: VirusBuster Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: CyberSoft VFind Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: Ikarus AntiVirus for Linux Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No primary av scanner: BitDefender Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No secondary av scanner: FRISK F-Prot Antivirus Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No secondary av scanner: Trend Micro FileScanner Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: No secondary av scanner: KasperskyLab kavscanner Jul 31 16:30:56 ns2.dnssvr.net /usr/local/sbin/amavisd[340]: TROUBLE in pre_loop_hook: BDB bad db env. at /var/amavis/db: Invalid argument, No such file or directory. BerkleyDB version: 4.1 at /usr/local/sbin/amavisd line 5053. Suicide () TROUBLE in pre_loop_hook: BDB bad db env. at /var/amavis/db: Invalid argument, No such file or directory. at /usr/local/sbin/amavisd line 5053. ******** End full debug output******** I have the following installed: BerkleyDB version: 4.1 Module BerkeleyDB 0.25 perl, v5.8.3 Latest amavisd-new from http://www.ijs.si/software/amavisd/ In /var/amavis the db directory has the following permissions: drwxr-x--- 2 amavis amavis 4096 Jul 30 19:49 db There is nothing in the db directory I also tried with a chmod -R 777 /var/amavis to see if that would help. I have read the FAQ, searched the archives for the mailing list, read the help files. As far as I can tell I have met all the requirements and have everything properly installed and the paths correct. What am I possibly missing? What should I try next? Thanks, Roger |