asyadiqin
15th January 2007, 13:34
I've followed the installation guide from "Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5)" and everything was going well.
However, when I came to the part where I have to restart Amavis, there was an error message
/etc/init.d/amavisd restart
Shutting down amavisd: The amavisd daemon is not running
[FAILED]
Starting amavisd: Pid_file "/var/run/amavisd/amavisd.pid" already exists. Overwriting!
[ OK ]
I check the status and got this response
/etc/init.d/amavisd status
amavisd dead but subsys locked
This is what I get from the logs on /var/log/maillog
Jan 15 11:23:51 fc5-i2 amavis[32563]: starting. /usr/sbin/amavisd at fc5-i2.mydomain.com amavisd-new-2.4.4 (20061120), Unicode aware, LANG="en_US.UTF-8"
Jan 15 11:23:51 fc5-i2 amavis[32563]: Perl version 5.008008
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Amavis::Conf 2.075
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Archive::Tar 1.30
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Archive::Zip 1.16
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module BerkeleyDB 0.27
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Compress::Zlib 1.41
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Convert::TNEF 0.17
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Convert::UUlib 1.06
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module DBD::mysql 3.0002
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module DBI 1.52
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module DB_File 1.814
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Digest::MD5 2.36
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module MIME::Entity 5.420
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module MIME::Parser 5.420
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module MIME::Tools 5.420
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Mail::Header 1.74
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Mail::Internet 1.74
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Mail::SPF::Query 1.999001
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Mail::SpamAssassin 3.001007
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Net::Cmd 2.26
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Net::DNS 0.59
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Net::SMTP 2.29
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Net::Server 0.94
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Razor2::Client::Version 2.77
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Time::HiRes 1.86
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Unix::Syslog 0.100
Jan 15 11:23:51 fc5-i2 amavis[32564]: Amavis::DB code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Amavis::Cache code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: SQL base code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: SQL::Log code NOT loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: SQL::Quarantine NOT loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Lookup::SQL code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Lookup::LDAP code NOT loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: AM.PDP-in proto code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: SMTP-in proto code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Courier proto code NOT loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: SMTP-out proto code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Pipe-out proto code NOT loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: BSMTP-out proto code NOT loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Local-out proto code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: OS_Fingerprint code NOT loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: ANTI-VIRUS code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: ANTI-SPAM code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: ANTI-SPAM-SA code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Unpackers code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found $file at /usr/bin/file
Jan 15 11:23:51 fc5-i2 amavis[32564]: No $dspam, not using it
Jan 15 11:23:51 fc5-i2 amavis[32564]: Internal decoder for .mail
Jan 15 11:23:51 fc5-i2 amavis[32564]: Internal decoder for .asc
Jan 15 11:23:51 fc5-i2 amavis[32564]: Internal decoder for .uue
Jan 15 11:23:51 fc5-i2 amavis[32564]: Internal decoder for .hqx
Jan 15 11:23:51 fc5-i2 amavis[32564]: Internal decoder for .ync
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .F at /usr/bin/unfreeze
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .Z at /usr/bin/gzip -d
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .gz at /usr/bin/gzip -d
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .bz2 at /usr/bin/bzip2 -d
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .lzo at /usr/bin/lzop -d
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .rpm at /usr/bin/rpm2cpio
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .cpio at /usr/bin/pax
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .tar at /usr/bin/pax
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .deb at /usr/bin/ar
Jan 15 11:23:51 fc5-i2 amavis[32564]: Internal decoder for .zip
Jan 15 11:23:51 fc5-i2 amavis[32564]: No decoder for .rar tried: rar, unrar
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .arj at /usr/bin/arj
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .arc at /usr/bin/nomarch
Jan 15 11:23:51 fc5-i2 amavis[32564]: No decoder for .zoo tried: zoo, unzoo
Jan 15 11:23:51 fc5-i2 amavis[32564]: No decoder for .lha tried: lha
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .cab at /usr/bin/cabextract
Jan 15 11:23:51 fc5-i2 amavis[32564]: No decoder for .tnef tried: tnef
Jan 15 11:23:51 fc5-i2 amavis[32564]: Internal decoder for .tnef
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .exe at /usr/bin/arj
Jan 15 11:23:51 fc5-i2 amavis[32564]: Using internal av scanner code for (primary) ClamAV-clamd
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Jan 15 11:23:51 fc5-i2 amavis[32564]: Creating db in /var/spool/amavisd/db/; BerkeleyDB 0.27, libdb 4.3
Somehow, something is stopping amavisd from running and I have no idea what it is. Any ideas?
However, when I came to the part where I have to restart Amavis, there was an error message
/etc/init.d/amavisd restart
Shutting down amavisd: The amavisd daemon is not running
[FAILED]
Starting amavisd: Pid_file "/var/run/amavisd/amavisd.pid" already exists. Overwriting!
[ OK ]
I check the status and got this response
/etc/init.d/amavisd status
amavisd dead but subsys locked
This is what I get from the logs on /var/log/maillog
Jan 15 11:23:51 fc5-i2 amavis[32563]: starting. /usr/sbin/amavisd at fc5-i2.mydomain.com amavisd-new-2.4.4 (20061120), Unicode aware, LANG="en_US.UTF-8"
Jan 15 11:23:51 fc5-i2 amavis[32563]: Perl version 5.008008
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Amavis::Conf 2.075
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Archive::Tar 1.30
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Archive::Zip 1.16
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module BerkeleyDB 0.27
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Compress::Zlib 1.41
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Convert::TNEF 0.17
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Convert::UUlib 1.06
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module DBD::mysql 3.0002
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module DBI 1.52
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module DB_File 1.814
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Digest::MD5 2.36
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module MIME::Entity 5.420
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module MIME::Parser 5.420
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module MIME::Tools 5.420
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Mail::Header 1.74
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Mail::Internet 1.74
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Mail::SPF::Query 1.999001
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Mail::SpamAssassin 3.001007
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Net::Cmd 2.26
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Net::DNS 0.59
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Net::SMTP 2.29
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Net::Server 0.94
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Razor2::Client::Version 2.77
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Time::HiRes 1.86
Jan 15 11:23:51 fc5-i2 amavis[32564]: Module Unix::Syslog 0.100
Jan 15 11:23:51 fc5-i2 amavis[32564]: Amavis::DB code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Amavis::Cache code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: SQL base code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: SQL::Log code NOT loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: SQL::Quarantine NOT loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Lookup::SQL code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Lookup::LDAP code NOT loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: AM.PDP-in proto code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: SMTP-in proto code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Courier proto code NOT loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: SMTP-out proto code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Pipe-out proto code NOT loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: BSMTP-out proto code NOT loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Local-out proto code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: OS_Fingerprint code NOT loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: ANTI-VIRUS code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: ANTI-SPAM code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: ANTI-SPAM-SA code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Unpackers code loaded
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found $file at /usr/bin/file
Jan 15 11:23:51 fc5-i2 amavis[32564]: No $dspam, not using it
Jan 15 11:23:51 fc5-i2 amavis[32564]: Internal decoder for .mail
Jan 15 11:23:51 fc5-i2 amavis[32564]: Internal decoder for .asc
Jan 15 11:23:51 fc5-i2 amavis[32564]: Internal decoder for .uue
Jan 15 11:23:51 fc5-i2 amavis[32564]: Internal decoder for .hqx
Jan 15 11:23:51 fc5-i2 amavis[32564]: Internal decoder for .ync
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .F at /usr/bin/unfreeze
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .Z at /usr/bin/gzip -d
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .gz at /usr/bin/gzip -d
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .bz2 at /usr/bin/bzip2 -d
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .lzo at /usr/bin/lzop -d
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .rpm at /usr/bin/rpm2cpio
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .cpio at /usr/bin/pax
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .tar at /usr/bin/pax
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .deb at /usr/bin/ar
Jan 15 11:23:51 fc5-i2 amavis[32564]: Internal decoder for .zip
Jan 15 11:23:51 fc5-i2 amavis[32564]: No decoder for .rar tried: rar, unrar
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .arj at /usr/bin/arj
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .arc at /usr/bin/nomarch
Jan 15 11:23:51 fc5-i2 amavis[32564]: No decoder for .zoo tried: zoo, unzoo
Jan 15 11:23:51 fc5-i2 amavis[32564]: No decoder for .lha tried: lha
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .cab at /usr/bin/cabextract
Jan 15 11:23:51 fc5-i2 amavis[32564]: No decoder for .tnef tried: tnef
Jan 15 11:23:51 fc5-i2 amavis[32564]: Internal decoder for .tnef
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found decoder for .exe at /usr/bin/arj
Jan 15 11:23:51 fc5-i2 amavis[32564]: Using internal av scanner code for (primary) ClamAV-clamd
Jan 15 11:23:51 fc5-i2 amavis[32564]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Jan 15 11:23:51 fc5-i2 amavis[32564]: Creating db in /var/spool/amavisd/db/; BerkeleyDB 0.27, libdb 4.3
Somehow, something is stopping amavisd from running and I have no idea what it is. Any ideas?