Re: [qmailtoaster] Re: Clamav update trouble

2010-11-04 Thread Steve Huff

On Nov 4, 2010, at 1:19 PM, Francisco Paco Peralta wrote:

> Well,  I finally went through your instructions and everything appears to be 
> functioning well.  I thank you.

awesome!  i'm glad to hear it. :)

-steve

--
If this were played upon a stage now, I could condemn it as an improbable 
fiction. - Fabian, Twelfth Night, III,v
PGP 8477B706 (A92A 1F7E 6D76 16A0 BFF9  E61D AD54 0251 8477 B706)



PGP.sig
Description: This is a digitally signed message part


Re: [qmailtoaster] Re: Clamav update trouble

2010-11-04 Thread Francisco Paco Peralta
Well,  I finally went through your instructions and everything appears to be 
functioning well.  I thank you.

The following encompasses the steps I took: 

//Step 1:  Update all packages
yum -y update

//Step 2:  Copy perl5 directory to a backup director, just in case ... 
cp -rf /usr/lib/perl5 /usr/lib/perl5.old

//Step 3:  Save list perl modules installed via CPAN or other
find /usr/lib/perl5/ -type f | xargs rpm -qf | grep package | cut -d" " -f2 | 
sort >perlviacpanall

//Step 4:  I then removed the 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod from the 
perlviacpanall file using vi

//Step 5:  Remove presumed CPAN installed files or files not installed via yum 
or rpm
cat perlviacpanall | xarg rm -f

//Step 6:  Installed the following packages for my particular situation, this 
will vary depending on the packages listed in step 3
yum -y installperl-File-HomeDir-0.86-1.el5.rf.noarch
yum -y installperl-Archive-Zip-1.16-1.2.1.noarch
yum -y installperl-YAML-0.71-1.el5.rf.noarch
yum -y installperl-ExtUtils-ParseXS-2.20.02-1.el5.rf.noarch
yum -y installperl-ExtUtils-CBuilder-0.2603.01-1.el5.rf.noarch

//Step 7:  If all continues well, I will erase the backup directory I created 
rm -rf  /usr/lib/perl5.old

Thanks again for the support.

 Francisco "Paco" Peralta





From: Steve Huff 
To: qmailtoaster-list@qmailtoaster.com
Sent: Fri, October 29, 2010 1:15:53 PM
Subject: Re: [qmailtoaster] Re: Clamav update trouble


On Oct 29, 2010, at 12:40 PM, Francisco Paco Peralta wrote:

> file /usr/lib/perl5/site_perl/5.8.8/Archive/Zip.pm is not owned by any package
...
> file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Scalar/Util.pm is not owned 
>by any package
...
> file /usr/lib/perl5/site_perl/5.8.8/IO/Compress/Zip.pm is not owned by any 
>package

i bet your problems are related to these packages.  now, how to root them out...

1) print out a copy of the email you just sent.

THE NEXT STEP WILL ASSUREDLY BREAK THINGS.  DO NOT DO THIS ON YOUR PRODUCTION 
SYSTEM WHILE IT IS RUNNING.

2) delete all those files except for 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod.  yes, all of them.

3) do another `rpm -V perl`.  if you see any output, reinstall a fresh perl 
package as documented earlier in the thread.  do not proceed until `rpm -V 
perl` 
produces no output.

4) now, go through the list you printed out back in step 1.  for each file, 
check to see if it still exists on your system.  if it does, great, move on to 
the next.  if it doesn't, you'll need to figure out whether or not it's 
something you need.  since i don't know everything you have running on your 
system, i can't tell you for certain how to do that.  it might be useful to 
build another qmailtoaster installation and use that as a point of reference.

5) if any of those files were part of Perl modules that you still need, install 
them from RPMs.  `yum install 'perl(Module::Name)'` is your friend.

when all is said and done, you should have a working system again, at which 
point you can reflect on the reasons why not to install Perl modules from CPAN. 
:)  i'm really sorry that you're in this situation, and i wish i had a simpler 
way to fix things.

-steve

--
If this were played upon a stage now, I could condemn it as an improbable 
fiction. - Fabian, Twelfth Night, III,v
PGP 8477B706 (A92A 1F7E 6D76 16A0 BFF9  E61D AD54 0251 8477 B706)


  

Re: [qmailtoaster] Re: Clamav update trouble

2010-10-29 Thread Francisco Paco Peralta
Well, I guess I know what I will be doing this weekend.

Steve, thank you for your input.  Eric, thanks for chasing this down.

Everyone, I will be reporting the results of this task sometime this weekend.  

 Francisco "Paco" Peralta





From: Steve Huff 
To: qmailtoaster-list@qmailtoaster.com
Sent: Fri, October 29, 2010 1:15:53 PM
Subject: Re: [qmailtoaster] Re: Clamav update trouble


On Oct 29, 2010, at 12:40 PM, Francisco Paco Peralta wrote:

> file /usr/lib/perl5/site_perl/5.8.8/Archive/Zip.pm is not owned by any package
...
> file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Scalar/Util.pm is not owned 
>by any package
...
> file /usr/lib/perl5/site_perl/5.8.8/IO/Compress/Zip.pm is not owned by any 
>package

i bet your problems are related to these packages.  now, how to root them out...

1) print out a copy of the email you just sent.

THE NEXT STEP WILL ASSUREDLY BREAK THINGS.  DO NOT DO THIS ON YOUR PRODUCTION 
SYSTEM WHILE IT IS RUNNING.

2) delete all those files except for 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod.  yes, all of them.

3) do another `rpm -V perl`.  if you see any output, reinstall a fresh perl 
package as documented earlier in the thread.  do not proceed until `rpm -V 
perl` 
produces no output.

4) now, go through the list you printed out back in step 1.  for each file, 
check to see if it still exists on your system.  if it does, great, move on to 
the next.  if it doesn't, you'll need to figure out whether or not it's 
something you need.  since i don't know everything you have running on your 
system, i can't tell you for certain how to do that.  it might be useful to 
build another qmailtoaster installation and use that as a point of reference.

5) if any of those files were part of Perl modules that you still need, install 
them from RPMs.  `yum install 'perl(Module::Name)'` is your friend.

when all is said and done, you should have a working system again, at which 
point you can reflect on the reasons why not to install Perl modules from CPAN. 
:)  i'm really sorry that you're in this situation, and i wish i had a simpler 
way to fix things.

-steve

--
If this were played upon a stage now, I could condemn it as an improbable 
fiction. - Fabian, Twelfth Night, III,v
PGP 8477B706 (A92A 1F7E 6D76 16A0 BFF9  E61D AD54 0251 8477 B706)


  

Re: [qmailtoaster] Re: Clamav update trouble

2010-10-29 Thread Steve Huff

On Oct 29, 2010, at 12:40 PM, Francisco Paco Peralta wrote:

> file /usr/lib/perl5/site_perl/5.8.8/Archive/Zip.pm is not owned by any package
...
> file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Scalar/Util.pm is not owned 
> by any package
...
> file /usr/lib/perl5/site_perl/5.8.8/IO/Compress/Zip.pm is not owned by any 
> package

i bet your problems are related to these packages.  now, how to root them out...

1) print out a copy of the email you just sent.

THE NEXT STEP WILL ASSUREDLY BREAK THINGS.  DO NOT DO THIS ON YOUR PRODUCTION 
SYSTEM WHILE IT IS RUNNING.

2) delete all those files except for 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod.  yes, all of them.

3) do another `rpm -V perl`.  if you see any output, reinstall a fresh perl 
package as documented earlier in the thread.  do not proceed until `rpm -V 
perl` produces no output.

4) now, go through the list you printed out back in step 1.  for each file, 
check to see if it still exists on your system.  if it does, great, move on to 
the next.  if it doesn't, you'll need to figure out whether or not it's 
something you need.  since i don't know everything you have running on your 
system, i can't tell you for certain how to do that.  it might be useful to 
build another qmailtoaster installation and use that as a point of reference.

5) if any of those files were part of Perl modules that you still need, install 
them from RPMs.  `yum install 'perl(Module::Name)'` is your friend.

when all is said and done, you should have a working system again, at which 
point you can reflect on the reasons why not to install Perl modules from CPAN. 
:)  i'm really sorry that you're in this situation, and i wish i had a simpler 
way to fix things.

-steve

--
If this were played upon a stage now, I could condemn it as an improbable 
fiction. - Fabian, Twelfth Night, III,v
PGP 8477B706 (A92A 1F7E 6D76 16A0 BFF9  E61D AD54 0251 8477 B706)



PGP.sig
Description: This is a digitally signed message part


Re: [qmailtoaster] Re: Clamav update trouble

2010-10-29 Thread Francisco Paco Peralta
This is the result of the query:

[r...@mail ~]# find /usr/lib/perl5/ -type f | xargs rpm -qf | grep package
file /usr/lib/perl5/5.8.8/CPAN/Admin.pm is not owned by any package
file /usr/lib/perl5/5.8.8/CPAN/DeferedCode.pm is not owned by any package
file /usr/lib/perl5/5.8.8/CPAN/Config.pm~ is not owned by any package
file /usr/lib/perl5/5.8.8/CPAN/Queue.pm is not owned by any package
file /usr/lib/perl5/5.8.8/CPAN/HandleConfig.pm is not owned by any package
file /usr/lib/perl5/5.8.8/CPAN/Version.pm is not owned by any package
file /usr/lib/perl5/5.8.8/CPAN/Kwalify/distroprefs.dd is not owned by any 
package
file /usr/lib/perl5/5.8.8/CPAN/Kwalify/distroprefs.yml is not owned by any 
package
file /usr/lib/perl5/5.8.8/CPAN/Kwalify.pm is not owned by any package
file /usr/lib/perl5/5.8.8/CPAN/API/HOWTO.pm is not owned by any package
file /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm is not owned by any package
file /usr/lib/perl5/5.8.8/CPAN/Config.pm is not owned by any package
file /usr/lib/perl5/5.8.8/CPAN/Debug.pm is not owned by any package
file /usr/lib/perl5/5.8.8/ExtUtils/MM_Darwin.pm is not owned by any package
file /usr/lib/perl5/5.8.8/App/Prove.pm is not owned by any package
file /usr/lib/perl5/5.8.8/App/Prove/State.pm is not owned by any package
file /usr/lib/perl5/5.8.8/App/Prove/State/Result.pm is not owned by any package
file /usr/lib/perl5/5.8.8/App/Prove/State/Result/Test.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/File/._Temp.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Harness.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Base.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Formatter/Color.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Formatter/Console.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Formatter/Console/ParallelSession.pm is not owned 
by any package
file /usr/lib/perl5/5.8.8/TAP/Formatter/Console/Session.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Parser.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Parser/Utils.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Parser/Source/Perl.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Parser/Iterator/Stream.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Parser/Iterator/Process.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Parser/Iterator/Array.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Parser/Iterator.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Parser/Source.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Parser/Grammar.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Parser/Multiplexer.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Parser/Result/YAML.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Parser/Result/Comment.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Parser/Result/Version.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Parser/Result/Test.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Parser/Result/Plan.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Parser/Result/Unknown.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Parser/Result/Pragma.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Parser/Result/Bailout.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Parser/YAMLish/Reader.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Parser/YAMLish/Writer.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Parser/Result.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Parser/Aggregator.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Parser/IteratorFactory.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Parser/ResultFactory.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Parser/Scheduler.pm is not owned by any package
file /usr/lib/perl5/5.8.8/TAP/Parser/Scheduler/Job.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Parser/Scheduler/Spinner.pm is not owned by any 
package
file /usr/lib/perl5/5.8.8/TAP/Object.pm is not owned by any package
file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod is not owned by 
any package
file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/List/Util.pm is not owned by 
any package
file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/File/Spec.pm is not owned by 
any package
file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/File/Spec/Mac.pm is not owned 
by any package
file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/File/Spec/OS2.pm is not owned 
by any package
file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/File/Spec/Unix.pm is not 
owned 
by any package
file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/File/Spec/VMS.pm is not owned 
by any package
file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/File/Spec/Functions.pm is not 
owned by any package
file /usr

Re: [qmailtoaster] Re: Clamav update trouble

2010-10-29 Thread Steve Huff

On Oct 29, 2010, at 10:46 AM, Eric Shubert wrote:

> Since the Util.pm file is what's giving you problems, and that's part of the 
> (main) perl package, I'd try updating that package. Since you already have 
> the current version, yum's not going to do that for you. You'll need to 
> download the rpm, then run rpm against that file as such:
> # rpm -Uvh --replacepkgs --replacefiles --force perl-5.8.8*.rpm
> 
> Make sure you get the right verion/arch that you presently have installed. I 
> think this one might be it for you:
> http://mirror.centos.org/centos/5/os/i386/CentOS/perl-5.8.8-27.el5.i386.rpm
> The version *and* *arch* should match what you have from:
> # rpm -q perl
> 
> (Steve, please chime in here if you have any further insight)

installing a fresh new upstream perl is a fine idea; however, since `rpm -V 
perl` produced no output, it looks like his perl package is ok.

here's a way to get to the bottom of this situation.  let's see the output of 
the following command:

find /usr/lib/perl5/ -type f | xargs rpm -qf | grep package

this will find all the files in the local Perl distribution that are not part 
of an RPM.  there should be a few; if there's no output at all from this 
command, i'll be *really* suspicious. :)

-steve

--
If this were played upon a stage now, I could condemn it as an improbable 
fiction. - Fabian, Twelfth Night, III,v
PGP 8477B706 (A92A 1F7E 6D76 16A0 BFF9  E61D AD54 0251 8477 B706)



PGP.sig
Description: This is a digitally signed message part


Re: [qmailtoaster] Re: Clamav update trouble

2010-10-29 Thread Francisco Paco Peralta
Okay! well that rpm command worked a lot better.  I was able to get a list of 
installed rpm and have confirmed that there are 3 perl modules missing. 


perl-Crypt-OpenSSL-RSA
perl-Net-CIDR*
perl-rrdtool***

I have installed them but the problem still persists.

Any other options?

 Francisco "Paco" Peralta





From: Eric Shubert 
To: qmailtoaster-list@qmailtoaster.com
Sent: Thu, October 28, 2010 10:50:20 AM
Subject: [qmailtoaster] Re: Clamav update trouble

You should do:
# rpm -qa | grep ^perl
to see which perl packages are installed. You must have some.

Your rpm -V command isn't quite right either, but I don't think we 
really need to do that.

I don't know about removing CPAN modules. Steve, would that really be 
necessary? You wouldn't want to go too far in that direction, because 
you might cripple yum in the process.

I'd simply try installing the perl packages you're missing with yum. 
Here are the perl packages I have on my QMT:
perl-5.8.8-27.el5
perl-Archive-Tar-1.30-1.fc6
perl-Compress-Raw-Zlib-2.003-1.el5.rf
perl-Compress-Zlib-1.42-1.fc6
perl-Crypt-OpenSSL-Bignum-0.04-1.el5.rf
perl-Crypt-OpenSSL-RSA-0.25-1.el5.rf
perl-DBD-MySQL-3.0007-2.el5
perl-DBI-1.52-2.el5
perl-Digest-HMAC-1.01-15
perl-Digest-SHA1-2.11-1.2.1
perl-Digest-SHA-5.45-1.el5.rf
perl-Encode-Detect-1.01-1.el5.rf
perl-Error-0.17012-1.el5.rf
perl-Geography-Countries-1.4-2.2.el5.rf
perl-HTML-Parser-3.55-1.fc6
perl-HTML-Tagset-3.10-2.1.1
perl-IO-Compress-Base-2.003-1.el5.rf
perl-IO-Compress-Zlib-2.003-1.el5.rf
perl-IO-Socket-INET6-2.51-2.fc6
perl-IO-Socket-SSL-1.01-1.fc6
perl-IO-Zlib-1.04-4.2.1
perl-IP-Country-2.24-1.el5.rf
perl-libwww-perl-5.805-1.1.1
perl-Mail-DKIM-0.30.1-1.el5.rf
perl-Mail-DomainKeys-1.0-1.el5.rf
perl-Mail-SPF-2.005-1.el5.rf
perl-Mail-SPF-Query-1.999.1-2.el5.rf
perl-MailTools-2.02-1.el5.rf
perl-NetAddr-IP-4.007-1.el5.rf
perl-Net-CIDR-0.10-8
perl-Net-CIDR-Lite-0.15-8
perl-Net-DNS-0.59-3.el5
perl-Net-Ident-1.20-1.2.el5.rf
perl-Net-IP-1.25-2.fc6
perl-Net-SSLeay-1.30-4.fc6
perl-Razor-Agent-2.84-1.el5.rf
perl-rrdtool-1.4.2-1.el5.rf
perl-Socket6-0.19-3.fc6
perl-String-CRC32-1.4-2.fc6
perl-Sys-Hostname-Long-1.2-8
perl-TimeDate-1.16-5.el5
perl-URI-1.35-3
perl-version-0.74-1.el5.rf

Since you've updated recently, you should already have the rpmforge repo 
installed, but it probably is not enabled. Your yum command should look 
like this:
# yum --enablerepo=rpmforge install perl perl-Archive-Tar (...)
Use each package name that you're missing, short of the version stuff.

I expect that will take care of things. Please report back your results.

-- 
-Eric 'shubes'

On 10/28/2010 06:27 AM, Francisco Paco Peralta wrote:
> I did the following:
>
> [r...@mail ~]# rpm -V perl*
> package perlpkginstalledviayum is not installed
>
> Also:
>
> [r...@mail ~]# rpm -qa | grep perl*
> [r...@mail ~]#
>
>
> It seems non of my perl modules are installed via rpm.
>
> Is there an easy way of uninstalling the cpan installed modules and
> replacing them with the rpm based?
> Any guidance would be greatly appreciated.
>
> Francisco "Paco" Peralta
>
>
> 
> *From:* Francisco Paco Peralta 
> *To:* qmailtoaster-list@qmailtoaster.com
> *Sent:* Tue, October 26, 2010 10:42:02 AM
> *Subject:* Re: [qmailtoaster] Re: Clamav update trouble
>
> Well, I won't have to worry about using pastebin, here is the results:
>
> [r...@mail ~]# rpm -V perl
> [r...@mail ~]#
>
> Thanks for the help.
> Francisco "Paco" Peralta
>
>
> ------------------------
> *From:* Steve Huff 
> *To:* qmailtoaster-list@qmailtoaster.com
> *Sent:* Tue, October 26, 2010 9:57:58 AM
> *Subjec t:* Re: [qmailtoaster] Re: Clamav update trouble
>
>
> On Oct 25, 2010, at 5:51 PM, Eric Shubert wrote:
>
>  > Perhaps a perl expert here (Steve maybe?) might help with how to
> straighten things out. I'm not real strong with CPAN.
>
>
> hi! i have been (a bit belatedly) following this thread.
>
> Paco, please run `rpm -V perl` (as root) and capture the output. if the
> output is, say, 10 lines or fewer, then please post it to the list; if
> it's longer, please stick it up on a pastebin somewhere and send us a link.
>
> my first guess as to what is wrong is that by using the CPAN shell you
> have clobbered some element of the system perl package, and now it is
> misbehaving.
>
> on a system with package management (e.g. RHEL/CentOS, Debian, Ubuntu,
> Gentoo, Solaris, *BSD, etc.) you should not use the CPAN shell ever, fo
> r any reason, at all, no matter what it says in a wiki or a README (and
> if you kn

Re: [qmailtoaster] Re: Clamav update trouble

2010-10-28 Thread Francisco Paco Peralta
I did the following:

[r...@mail ~]# rpm -V perl*
package perlpkginstalledviayum is not installed


 Also:

[r...@mail ~]# rpm -qa | grep perl*
[r...@mail ~]#
 

It seems non of my perl modules are installed via rpm.  

Is there an easy way of uninstalling the cpan installed modules and replacing 
them with the rpm based?
Any guidance would be greatly appreciated.

Francisco "Paco" Peralta





From: Francisco Paco Peralta 
To: qmailtoaster-list@qmailtoaster.com
Sent: Tue, October 26, 2010 10:42:02 AM
Subject: Re: [qmailtoaster] Re: Clamav update trouble


Well, I won't have to worry about using pastebin, here is the results:

[r...@mail ~]# rpm -V perl
[r...@mail ~]#

Thanks for the help.

 Francisco "Paco" Peralta





From: Steve Huff 
To: qmailtoaster-list@qmailtoaster.com
Sent: Tue, October 26, 2010 9:57:58 AM
Subject: Re: [qmailtoaster] Re: Clamav update trouble


On Oct 25, 2010, at 5:51 PM, Eric Shubert wrote:

> Perhaps a perl expert here (Steve maybe?) might help with how to straighten 
>things out. I'm not real strong with CPAN.


hi!  i have been (a bit belatedly) following this thread.

Paco, please run `rpm -V perl` (as root) and capture the output.  if the output 
is, say, 10 lines or fewer, then please post it to the list; if it's longer, 
please stick it up on a pastebin somewhere and send us a link.

my first guess as to what is wrong is that by using the CPAN shell you have 
clobbered some element of the system perl package, and now it is misbehaving.

on a system with package management (e.g. RHEL/CentOS, Debian, Ubuntu, Gentoo, 
Solaris, *BSD, etc.) you should not use the CPAN shell ever, for any reason, at 
all, no matter what it says in a wiki or a README (and if you know enough to 
know when you can disregard that statement, more power to you :)  ).

-shuff

--
If this were played upon a stage now, I could condemn it as an improbable 
fiction. - Fabian, Twelfth Night, III,v
PGP 8477B706 (A92A 1F7E 6D76 16A0 BFF9  E61D AD54 0251 8477 B706)


  

Re: [qmailtoaster] Re: Clamav update trouble

2010-10-26 Thread Francisco Paco Peralta
Well, I won't have to worry about using pastebin, here is the results:

[r...@mail ~]# rpm -V perl
[r...@mail ~]#

Thanks for the help.

 Francisco "Paco" Peralta





From: Steve Huff 
To: qmailtoaster-list@qmailtoaster.com
Sent: Tue, October 26, 2010 9:57:58 AM
Subject: Re: [qmailtoaster] Re: Clamav update trouble


On Oct 25, 2010, at 5:51 PM, Eric Shubert wrote:

> Perhaps a perl expert here (Steve maybe?) might help with how to straighten 
>things out. I'm not real strong with CPAN.


hi!  i have been (a bit belatedly) following this thread.

Paco, please run `rpm -V perl` (as root) and capture the output.  if the output 
is, say, 10 lines or fewer, then please post it to the list; if it's longer, 
please stick it up on a pastebin somewhere and send us a link.

my first guess as to what is wrong is that by using the CPAN shell you have 
clobbered some element of the system perl package, and now it is misbehaving.

on a system with package management (e.g. RHEL/CentOS, Debian, Ubuntu, Gentoo, 
Solaris, *BSD, etc.) you should not use the CPAN shell ever, for any reason, at 
all, no matter what it says in a wiki or a README (and if you know enough to 
know when you can disregard that statement, more power to you :) ).

-shuff

--
If this were played upon a stage now, I could condemn it as an improbable 
fiction. - Fabian, Twelfth Night, III,v
PGP 8477B706 (A92A 1F7E 6D76 16A0 BFF9  E61D AD54 0251 8477 B706)


  

Re: [qmailtoaster] Re: Clamav update trouble

2010-10-26 Thread Steve Huff

On Oct 25, 2010, at 5:51 PM, Eric Shubert wrote:

> Perhaps a perl expert here (Steve maybe?) might help with how to straighten 
> things out. I'm not real strong with CPAN.


hi!  i have been (a bit belatedly) following this thread.

Paco, please run `rpm -V perl` (as root) and capture the output.  if the output 
is, say, 10 lines or fewer, then please post it to the list; if it's longer, 
please stick it up on a pastebin somewhere and send us a link.

my first guess as to what is wrong is that by using the CPAN shell you have 
clobbered some element of the system perl package, and now it is misbehaving.

on a system with package management (e.g. RHEL/CentOS, Debian, Ubuntu, Gentoo, 
Solaris, *BSD, etc.) you should not use the CPAN shell ever, for any reason, at 
all, no matter what it says in a wiki or a README (and if you know enough to 
know when you can disregard that statement, more power to you :) ).

-shuff

--
If this were played upon a stage now, I could condemn it as an improbable 
fiction. - Fabian, Twelfth Night, III,v
PGP 8477B706 (A92A 1F7E 6D76 16A0 BFF9  E61D AD54 0251 8477 B706)



PGP.sig
Description: This is a digitally signed message part


Re: [qmailtoaster] Re: Clamav update trouble

2010-10-25 Thread Francisco Paco Peralta
[r...@mail ~]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

# Default.
# installonly_limit = 3

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d


 Francisco "Paco" Peralta





From: Eric Shubert 
To: qmailtoaster-list@qmailtoaster.com
Sent: Mon, October 25, 2010 4:59:52 PM
Subject: [qmailtoaster] Re: Clamav update trouble

What are your repository priority protections? That's keeping your 
system from updating.

Please post results of:
# cat /etc/yum.conf


On 10/25/2010 01:18 PM, Francisco Paco Peralta wrote:
> Did the following:
>
> [r...@mail ~]# yum update perl
> Loaded plugins: fastestmirror, priorities
> Loading mirror speeds from cached hostfile
>   * addons: mirror.anl.gov
>   * base: mirrors.tummy.com
>   * centosplus: mirror.ubiquityservers.com
>   * extras: mirror.rackspace.com
>   * rpmforge: fr2.rpmfind.net
>   * updates: mirror.raystedman.net
> 566 packages excluded due to repository priority protections
> Setting up Update Process
> No Packages marked for Update
> [r...@mail ~]# rpm -q perl
> perl-5.8.8-32.el5_5.2
>
> What about the the Util.pm?
>
>   Francisco "Paco" Peralta
>
>
>
>
> 
> From: Eric Shubert
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Mon, October 25, 2010 12:39:44 PM
> Subject: [qmailtoaster] Re: Clamav update trouble
>
> I'm not getting this error.
>
> I don't have the Scalar directory there on my QMT, but I do have it in
> the base perl package:
> # rpm -qf /usr/lib/perl5/5.8.8/Scalar/Util.pm
> perl-5.8.8-27.el5
>
> I believe that the fix on the wiki was inappropriate, for two reasons.
> First is that CPAN isn't the best way to update perl modules (at least
> on a QMT host), and second is that it refers to a specific version,
> which is now apparently outdated. So I've removed this entry from the wiki.
>
> Paco, which perl package is presently installed on your system?
> # rpm -q perl
> If it's not the latest, I'd begin by updating perl using yum:
> # yum update perl
>
> Then we'll see about getting the stock Util.pm module installed on your
> system.
>


-- 
-Eric 'shubes'


-

Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-

 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


  

Re: [qmailtoaster] Re: Clamav update trouble

2010-10-25 Thread Francisco Paco Peralta
Did the following:

[r...@mail ~]# yum update perl
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: mirror.anl.gov
 * base: mirrors.tummy.com
 * centosplus: mirror.ubiquityservers.com
 * extras: mirror.rackspace.com
 * rpmforge: fr2.rpmfind.net
 * updates: mirror.raystedman.net
566 packages excluded due to repository priority protections
Setting up Update Process
No Packages marked for Update
[r...@mail ~]# rpm -q perl
perl-5.8.8-32.el5_5.2

What about the the Util.pm?

 Francisco "Paco" Peralta





From: Eric Shubert 
To: qmailtoaster-list@qmailtoaster.com
Sent: Mon, October 25, 2010 12:39:44 PM
Subject: [qmailtoaster] Re: Clamav update trouble

I'm not getting this error.

I don't have the Scalar directory there on my QMT, but I do have it in 
the base perl package:
# rpm -qf /usr/lib/perl5/5.8.8/Scalar/Util.pm
perl-5.8.8-27.el5

I believe that the fix on the wiki was inappropriate, for two reasons. 
First is that CPAN isn't the best way to update perl modules (at least 
on a QMT host), and second is that it refers to a specific version, 
which is now apparently outdated. So I've removed this entry from the wiki.

Paco, which perl package is presently installed on your system?
# rpm -q perl
If it's not the latest, I'd begin by updating perl using yum:
# yum update perl

Then we'll see about getting the stock Util.pm module installed on your 
system.

-- 
-Eric 'shubes'

On 10/25/2010 08:38 AM, Francisco Paco Peralta wrote:
> Just went through the exercise of updating ClamAV again and this time it
> worked!
>
> But I still have a problem as follows:
>
> [r...@mail ~]# spamassassin --lint
> Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Scalar/Util.pm line 30.
> Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Scalar/Util.pm line 30.
> [r...@mail ~]#
>
>
> Francisco "Paco" Peralta
>
>
> 
> *From:* Francisco Paco Peralta 
> *To:* QmailToaster MailList 
> *Sent:* Mon, October 25, 2010 10:59:24 AM
> *Subject:* [qmailtoaster] Clamav update trouble
>
> I tried to update my clamav this weekend using qtp-menu with the
> newmodel option. It did not update.
>
> The next morning I received the following cron message:
>
> /etc/cron.daily/qtp-sa-update:
>
> Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Scalar/Util.pm line 30.
> Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Scalar/Util.pm line 30.
> Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Scalar/Util.pm line 30.
> /etc/cron.daily/sa-bayes-expire:
>
> I read in the wiki that the following would solve this issue:
>
> perl -MCPAN -e 'install "G/GB/GBARR/Scalar-List-Utils-1.18.tar.gz"'
>
>
> Unfortunately the response I received was:
>
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
> Database was generated on Sat, 31 Jul 2010 22:26:59 GMT
> Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
> CPAN: LWP::UserAgent loaded ok
> Fetching with LWP:
> http://mirror.uta.edu/CPAN/modules/02packages.details.txt.gz
> Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
> Undefined subroutine &Compress::Zlib::gzopen called at
> /usr/lib/perl5/5.8.8/CPAN.pm line 5721.
>
> I then decided to load (or reload) Compress::Zlib as follows:
>
> [r...@mail ~]# yum install perl-Compress-Zlib
> Loaded plugins: fastestmirror, priorities
> Loading mirror speeds from cached hostfile
> * addons: mirror.ash.fastserv.com
> * base: mirrors.tummy.com
> * centosplus: mirror.ubiquityservers.com
> * extras: mirror.rackspace.com
> * rpmforge: fr2.rpmfind.net
> * updates: mirror.raystedman.net
> 566 packages excluded due to repository priority protections
> Setting up Install Process
> Package perl-Compress-Zlib is obsoleted by perl-IO-Compress, trying to
> install perl-IO-Compress-2.030-2.el5.rf.noarch instead
> Package perl-IO-Compress-2.030-2.el5.rf.noarch already installed and
> latest version
> Nothing to do
> [r...@mail ~]#
>
> I have the following running on my toaster.
>
> [r...@mail ~]# rpm -qa *toaster
> vpopmail-toaster-5.4.17-1.3.7
> autorespond-toaster-2.0.4-1.3.6
> spamassassin-toaster-3.2.5-1.3.17
> qmailadmin-toaster-1.2.12-1.3.8
> courier-authlib-toaster-0.59.2-1.3.10
> courier-imap-toaster-4.1.2-1.3.10
> ezmlm-toaster-0.53.324-1.3.6
> libdomainkeys-toaster-0.68-1.3.6
> ezmlm-cgi-toaster-0.53.324-1.3.6
> send-emails-toaster-0.5-1.3.7
> ucspi-tcp-toaster-0.88-1.3.9
> squirrelmail-toaster-1.4.20-1.3.17
> libsrs2-toaster-1.0.18-