portmanager, amavis update problem
Bart Silverstrim
bsilverstrim at athensasd.org
Mon Jun 27 15:58:57 GMT 2005
On Jun 27, 2005, at 11:26 AM, Alistair Sutton wrote:
> On 27/06/05, Bart Silverstrim <bsilverstrim at athensasd.org> wrote:
>>
>> On Jun 27, 2005, at 11:14 AM, Alistair Sutton wrote:
>>
>>>> I get mime_decode-1 FAILED errors in the amavis logs.
>>>
>>> I'm guessing that may have something to do with one of the perl mime
>>> modules but I've no idea which one (helpful aren't I? ;-)
>>
>> Well, it helps to know that someone is guessing what I'm guessing :-)
>
> At least you don't have go mad on your own ;-)
>
>>> I know that portmanager should handle the upgrade without any issues
>>> but I've not managed to have enough time to let my system work
>>> through
>>> all the perl-dependent ports yet.
>>>
>>> You could use 'portupgrade -fR amavis' to rebuild all the ports that
>>> amavis depends upon as well as amavis itself. That should work things
>>> out in the right order and rebuild everything so that all dependecies
>>> are sorted.
>>
>> I'll try that one...but I should probably run portupgrade -fR
>> amavisd-new, no?
>
> Good point ;-)
Tried, it failed part-way through. It acted like Perl was switched
back to "system" and was the wrong version. Re-ran the use.perl port,
and then had to manually re-run make deinstall && make reinstall on
half a dozen perl modules, then it acted like it was going to work but
then as soon as I brought the mail system up, it started spewing:
TROUBLE in check_mail: mime_decode-1 FAILED: Error reading: Resource
temporarily unavailable at (eval 57) line 153, <GEN20> line 2.
and
TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS
SCANNERS FAILED: Clam Antivirus-clamd av-scanner FAILED: Too many
retries to talk to /var/run/clamav/clamd (Error reading from
/var/run/clamav/clamd: Resource temporarily unavailable at (eval 53)
line 253, <GEN10> line 1.) at (eval 53) line 264, <GEN10> line 1.; Clam
Antivirus - clamscan av-scanner FAILED: Error reading: Resource
temporarily unavailable at (eval 53) line 389, <GEN11> line 1.
I checked /var/run, and clamav had permissions of 777, and the clamd
file is there with full access available.
maybe there's something with the error checks that was altered in
Amavis that I'm missing?? And this time around, the antivirus check
error is new...amavis, when starting, says:
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39698]: starting.
/usr/local/sbin/amavisd at myserver amavisd-new-2.3.1 (20050509),
Unicode aware
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39698]: Perl version
5.008007
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Amavis::Conf 2.038
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Archive::Tar 1.23
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Archive::Zip 1.14
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Compress::Zlib 1.34
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Convert::TNEF 0.17
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Convert::UUlib 1.051
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module DB_File
1.811
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
MIME::Entity 5.417
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
MIME::Parser 5.417
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
MIME::Tools 5.417
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Mail::Header 1.66
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Mail::Internet 1.66
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Mail::SpamAssassin 3.000004
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Net::Cmd 2.26
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Net::DNS 0.51
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Net::SMTP 2.29
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Net::Server 0.87
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Time::HiRes 1.66
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Module
Unix::Syslog 0.100
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Amavis::DB
code NOT loaded
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Amavis::Cache
code NOT loaded
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: SQL base code
NOT loaded
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: SQL::Log code
NOT loaded
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]:
SQL::Quarantine NOT loaded
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Lookup::SQL
code NOT loaded
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Lookup::LDAP
code NOT loaded
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: AM.PDP prot
code loaded
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: SMTP-in prot
code loaded
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: ANTI-VIRUS
code loaded
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: ANTI-SPAM
code loaded
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Unpackers
code loaded
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Found $file
at /usr/bin/file
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: No $dspam,
not using it
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Internal
decoder for .mail
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Internal
decoder for .asc
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Internal
decoder for .uue
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Internal
decoder for .hqx
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Internal
decoder for .ync
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Found decoder
for .F at /usr/local/bin/unfreeze
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Found decoder
for .Z at /usr/bin/uncompress
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Internal
decoder for .gz
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Found decoder
for .bz2 at /usr/bin/bzip2 -d
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Found decoder
for .lzo at /usr/local/bin/lzop -d
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: No decoder for
.rpm
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: No decoder for
.cpio
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Found decoder
for .cpio at /usr/bin/cpio
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: No decoder for
.tar
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Found decoder
for .tar at /usr/bin/cpio
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: No decoder for
.deb
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Internal
decoder for .zip
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Found decoder
for .rar at /usr/local/bin/unrar
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Found decoder
for .arj at /usr/local/bin/unarj
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Found decoder
for .arc at /usr/local/bin/arc
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Found decoder
for .zoo at /usr/local/bin/zoo
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Found decoder
for .lha at /usr/local/bin/lha
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: No decoder for
.doc
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: No decoder for
.cab
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: No decoder for
.tnef
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Internal
decoder for .tnef
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Found decoder
for .exe at /usr/local/bin/unrar; /usr/local/bin/lha;
/usr/local/bin/unarj
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Using internal
av scanner code for (primary) Clam Antivirus-clamd
Jun 27 11:49:06 myserver /usr/local/sbin/amavisd[39699]: Found
secondary av scanner Clam Antivirus - clamscan at
/usr/local/bin/clamscan
....looks like it should be working fine with the antivirus...so where
are the errors coming from??
More information about the freebsd-questions
mailing list