Micah wrote:

> On 2006-07-03, Gary V <[EMAIL PROTECTED]> wrote:
>> Micah wrote:
>>
>>> Hi,
>>
>>> I am getting quite a few of these errors in my logs:
>>
>>> Jul  2 11:31:07 buffy amavisd-new[2975]: (02975-29) Decoding of part-00001
>>> (bzip compressed data, version: 7, compression block size 200k) failed,
>>> leaving it unpacked: Error running decompressor /usr/bin/bzip2 -d on
>>> part-00001, exit status 2 at /usr/sbin/amavisd-new line 4208.
>>
>>> and
>>
>>> Jul  2 11:31:07 buffy amavisd-new[2975]: (02975-29) TROUBLE in check_mail:
>>> decoding2-get-file-types FAILED: 'file' utility (/usr/bin/file) failed,
>>> status=255 (65280 ) at /usr/sbin/amavisd-new line 3853.
>>
>>> I have searched around and found some suggestions, but none of them seem to
>>> work for 2.3.3. How can I make these go away?

>> The second error indicates you are using an incompatible
>> version of Net::Server. You most likely need to downgrade
>> to 0.90. Also, the line number above indicates to me you are running
>> 20030616-p10. Since the newest version of Net::Server on Debian is
>> 0.90, I will assume you installed a newer version from CPAN. If so,
>> you can downgrade to 0.90 by doing:

> I'm running libnet-server-perl version 0.87-3 (from debian stable), and
> amavisd-new 20030616p10-5 (from backports.org). You are saying that I need
> to downgrade to 0.90, but perhaps you mean to say that I need to *upgrade*?

> I'll attempt to upgrade to 0.90 from testing, and if this solves the problem
> I will see if I can get the backports.org version updated to depend on this
> (after also backporting it).

I would hesitate doing that. 0.87-3 from stable is OK. At this point
in time you have to be very careful about installing certain programs
from testing when you are running stable. While this may not apply to
libnet-server-perl, installing any programs from testing or unstable
that require the newest version of libc6 may want to remove your
kernel (if you are running a kernel < 2.6.15). This is not a good thing.
If you are running stable, you may have to stick with stuff from
backports.org from now on, or possibly preemptively upgrade to a
linux-image kernel from testing (2.6.15). The newer kernels use udev
instead of devfs and when this migration is performed there are major
changes to your system. Major enough that stuff (devices) may no longer
be recognized, or in the worst case your system may not even boot up.
If this migration is attempted, you should first have a good recovery
plan in place. Always run 'apt-get -s <...>' from now on to 'simulate'
installation prior to actually installing.

> Micah

You may have libnet-server-perl 0.87-3 installed, but if you installed
Net::Server from CPAN, you may actually be using that instead of the
Debian supplied module. Run amavisd-new in debug mode and look for the version
amavisd-new reports it is actually using.

Jul  8 15:01:59 sarge31.example.com
/usr/local/sbin/amavisd-new[1409]: Module Net::Server         0.87

Do this also, Run:
updatedb
locate /Net/Server.pm

You should only have one (this is the Debian version):
/usr/share/perl5/Net/Server.pm

If you have more than one (other than source code), the second one will
be located somewhere like this:

/usr/local/share/perl/5.8.7/Net/Server.pm

One way to disable the non-Debian Net::Server would be to simply
rename the non-Debian /Net/Server.pm. Then the Debian version will be
found instead. It's a matter of which one Perl finds first.

Gary V



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to