//  
BlueQuartz.US Forum Index HOME
BlueQuartz.US
Open Source Info for Open Source Users
RegisterRegister 
MemberlistMemberlist
UsergroupsUsergroups
FAQFAQ   
SearchSearch
SubscriptionsSubscriptions
ProfileProfile   
Private messagesPrivate messages   
Log inLog in 
Are You Paying More Than Wholesale For Your Names?   Join the Hottest Domain Name Reseller Program Around!

 
Post new topic   Reply to topic    BlueQuartz.US Forum Index -> MailScanner Discussions
 Issue after CentOS upgrade to 5.4 using yum/rpm for perl modules Previous Topic
Next Topic
Message Author
PostPosted: Mon Nov 02, 2009 7:10 am    
Subject: Issue after CentOS upgrade to 5.4 using yum/rpm for perl modules
Reply with quote  
Edward Prendergast

Hi,

After having upgraded to CentOS 5.4 I'm seeing the following errors from
MailScanner:

[root@server8 MailScanner]# MailScanner --version
is only avaliable with the XS version at
/usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24.
Compilation failed in require at
/usr/lib/MailScanner/MailScanner/Message.pm line 48.
BEGIN failed--compilation aborted at
/usr/lib/MailScanner/MailScanner/Message.pm line 48.
Compilation failed in require at /usr/sbin/MailScanner line 108.
BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 108.

I tried upgrading to the latest version of MailScanner
(MailScanner-4.78.17-1 installed from MailScanner-4.78.17-1.rpm.tar.gz's
install.sh) but this hasn't resolved the issue.

After yum upgrades downgrading perl packages below the minimum version
requirement for MailScanner my process to fix has usually been:

1) Identify problem packages from MailScanner errors
2) Add these to yum exclude list
3) Reinstall MailScanner stable and allow it to force the packages back
up to the right version

As shown above this approach hasn't worked this time.

Thanks,
Edward

************
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any action taken or
omitted to be taken in reliance on it, any form of reproduction,
dissemination, copying, disclosure, modification, distribution and/or
publication of this E-mail message is strictly prohibited and may be
unlawful. If you have received this E-mail message in error, please notify
us immediately. Please also destroy and delete the message from your
computer.
************
Back to top
PostPosted: Mon Nov 02, 2009 7:35 am    
Subject: Issue after CentOS upgrade to 5.4 using yum/rpm for perl modules
Reply with quote  
Jason Ede

Quote:
-----Original Message-----
From: mailscanner-bounces@lists.mailscanner.info [mailto:mailscanner-
bounces@lists.mailscanner.info] On Behalf Of Edward Prendergast
Sent: 02 November 2009 12:10
To: MailScanner discussion
Subject: Issue after CentOS upgrade to 5.4 using yum/rpm for perl
modules

Hi,

After having upgraded to CentOS 5.4 I'm seeing the following errors
from
MailScanner:

[root@server8 MailScanner]# MailScanner --version
is only avaliable with the XS version at
/usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24.
Compilation failed in require at
/usr/lib/MailScanner/MailScanner/Message.pm line 48.
BEGIN failed--compilation aborted at
/usr/lib/MailScanner/MailScanner/Message.pm line 48.
Compilation failed in require at /usr/sbin/MailScanner line 108.
BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 108.

I tried upgrading to the latest version of MailScanner
(MailScanner-4.78.17-1 installed from MailScanner-4.78.17-
1.rpm.tar.gz's
install.sh) but this hasn't resolved the issue.

After yum upgrades downgrading perl packages below the minimum version
requirement for MailScanner my process to fix has usually been:

1) Identify problem packages from MailScanner errors
2) Add these to yum exclude list
3) Reinstall MailScanner stable and allow it to force the packages back
up to the right version

As shown above this approach hasn't worked this time.

Thanks,
Edward

Obtain a rpm of latest Scalar::Utils and install that... Will then be fine.

Jason
--
MailScanner mailing list
mailscanner@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Back to top
PostPosted: Mon Nov 02, 2009 8:28 am    
Subject: Issue after CentOS upgrade to 5.4 using yum/rpm for perl modules
Reply with quote  
Edward Prendergast

Jason Ede wrote:

<snip>
Quote:
Quote:
After yum upgrades downgrading perl packages below the minimum version
requirement for MailScanner my process to fix has usually been:

1) Identify problem packages from MailScanner errors
2) Add these to yum exclude list
3) Reinstall MailScanner stable and allow it to force the packages back
up to the right version

As shown above this approach hasn't worked this time.

Thanks,
Edward


Obtain a rpm of latest Scalar::Utils and install that... Will then be fine

Thanks for the response.

Scalar::Util now appears to be included in perl core (see below) which
means I get transaction errors if I try to install it again (via yum
install perl-Scalar-Util). What's the preferred method for handling
this? Should I run yum localinstall perl-Scalar-Util and add it to the
yum exclude list so it doesn't get removed in a subsequent update?

perl-Scalar-List-Utils-1.21-1.el5.rf.i386 : Common Scalar and List
utility subroutines
Repo : rpmforge
Matched from:
Other : perl(Scalar::Util)

perl-Scalar-List-Utils-1.19-1.el5.rf.i386 : Common Scalar and List
utility subroutines
Repo : rpmforge
Matched from:
Other : perl(Scalar::Util)

4:perl-5.8.8-27.el5.i386 : The Perl programming language
Repo : base
Matched from:
Other : perl(Scalar::Util)

4:perl-5.8.8-27.el5.i386 : The Perl programming language
Repo : installed
Matched from:
Other : Provides-match: perl(Scalar::Util)

Thanks,
Edward






************
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any action taken or
omitted to be taken in reliance on it, any form of reproduction,
dissemination, copying, disclosure, modification, distribution and/or
publication of this E-mail message is strictly prohibited and may be
unlawful. If you have received this E-mail message in error, please notify
us immediately. Please also destroy and delete the message from your
computer.
************
Back to top
PostPosted: Mon Nov 02, 2009 10:08 am    
Subject: Issue after CentOS upgrade to 5.4 using yum/rpm for perl modules
Reply with quote  
Jason Ede

Get latest source code, build a rpm with rpmbuild and then install... I'm afraid don't know options offhand...

Jason

Quote:
-----Original Message-----
From: mailscanner-bounces@lists.mailscanner.info [mailto:mailscanner-
bounces@lists.mailscanner.info] On Behalf Of Edward Prendergast
Sent: 02 November 2009 13:28
To: MailScanner discussion
Subject: Re: Issue after CentOS upgrade to 5.4 using yum/rpm for perl
modules

Jason Ede wrote:

<snip>
Quote:
Quote:
After yum upgrades downgrading perl packages below the minimum
version
Quote:
Quote:
requirement for MailScanner my process to fix has usually been:

1) Identify problem packages from MailScanner errors
2) Add these to yum exclude list
3) Reinstall MailScanner stable and allow it to force the packages
back
Quote:
Quote:
up to the right version

As shown above this approach hasn't worked this time.

Thanks,
Edward


Obtain a rpm of latest Scalar::Utils and install that... Will then be
fine

Thanks for the response.

Scalar::Util now appears to be included in perl core (see below) which
means I get transaction errors if I try to install it again (via yum
install perl-Scalar-Util). What's the preferred method for handling
this? Should I run yum localinstall perl-Scalar-Util and add it to the
yum exclude list so it doesn't get removed in a subsequent update?

perl-Scalar-List-Utils-1.21-1.el5.rf.i386 : Common Scalar and List
utility subroutines
Repo : rpmforge
Matched from:
Other : perl(Scalar::Util)

perl-Scalar-List-Utils-1.19-1.el5.rf.i386 : Common Scalar and List
utility subroutines
Repo : rpmforge
Matched from:
Other : perl(Scalar::Util)

4:perl-5.8.8-27.el5.i386 : The Perl programming language
Repo : base
Matched from:
Other : perl(Scalar::Util)

4:perl-5.8.8-27.el5.i386 : The Perl programming language
Repo : installed
Matched from:
Other : Provides-match: perl(Scalar::Util)

Thanks,
Edward






************
The information in this email is confidential and may be legally
privileged.
It is intended solely for the addressee. Access to this email by anyone
else
is unauthorised. If you are not the intended recipient, any action
taken or
omitted to be taken in reliance on it, any form of reproduction,
dissemination, copying, disclosure, modification, distribution and/or
publication of this E-mail message is strictly prohibited and may be
unlawful. If you have received this E-mail message in error, please
notify
us immediately. Please also destroy and delete the message from your
computer.
************

--
MailScanner mailing list
mailscanner@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
--
MailScanner mailing list
mailscanner@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Back to top
PostPosted: Wed Nov 04, 2009 11:20 pm    
Subject: Issue after CentOS upgrade to 5.4 using yum/rpm for perl modules
Reply with quote  
Iulian L Dragomir

On Mon, Nov 2, 2009 at 2:10 PM, Edward Prendergast
<edward.prendergast@netring.co.uk> wrote:
Quote:
Hi,

After having upgraded to CentOS 5.4 I'm seeing the following errors from
MailScanner:

[root@server8 MailScanner]# MailScanner --version
is only avaliable with the XS version at
/usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24.
Compilation failed in require at /usr/lib/MailScanner/MailScanner/Message.pm
line 48.
BEGIN failed--compilation aborted at
/usr/lib/MailScanner/MailScanner/Message.pm line 48.
Compilation failed in require at /usr/sbin/MailScanner line 108.
BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 108.

I tried upgrading to the latest version of MailScanner
(MailScanner-4.78.17-1 installed from MailScanner-4.78.17-1.rpm.tar.gz's
install.sh) but this hasn't resolved the issue.

After yum upgrades downgrading perl packages below the minimum version
requirement for MailScanner my process to fix has usually been:

1) Identify problem packages from MailScanner errors
2) Add these to yum exclude list
3) Reinstall MailScanner stable and allow it to force the packages back up
to the right version

As shown above this approach hasn't worked this time.

Thanks,
Edward

************
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any action taken or
omitted to be taken in reliance on it, any form of reproduction,
dissemination, copying, disclosure, modification, distribution and/or
publication of this E-mail message is strictly prohibited and may be
unlawful. If you have received this E-mail message in error, please notify
us immediately. Please also destroy and delete the message from your
computer.
************

--
MailScanner mailing list
mailscanner@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!


Some time ago Redhat/Centos repo from rpmforge replaced some neat perl rpms.

Try this to reverse the efect.

remove:
perl-IO-Compress

install :
perl-IO-Compress-Zlib
perl-IO-Compress-Base
perl-Compress-Zlib

Add these to yum exclude list
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BlueQuartz.US Forum Index -> MailScanner Discussions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group