Re: [qmailtoaster] Errors in SA

2005-12-14 Thread Jake Vickers

Riezal Ross wrote:


First I tried changing local mirrors, it gave the same errors. I tried
using mirrors from other countries and it still gave the errors. I
suspect that it must've cached the .gz file as I already have it on my
machine. So I gave up on that.
 

You may try removing the .gz file as a last resort. I'd try the 
following first:

In the CPAN shell (perl -MCPAN -e shell), do the following:
o conf make_install_arg UNINST=1*
*install Bundle::CPAN

If it asks you to append anything, always say yes.  If it gives you any 
errors, email them to me. We'll get the first part (CPAN) installed 
before we try and add things to it.  You're not running 2 versions of 
perl are you? I've known this to cause problems. Do a 'rpm -qa | grep 
perl | sort' and see if more than 1 version of perl is living on your 
machine.
Also in the perl shell, try 'reload cpan' and see what it yells at you 
about. I'm sure you have them open, but I don't remember which port it 
downloads the modules on - it would be either 21 or 80.  If fulfilling 
the requirements for Bundle::CPAN still doesn't work, you can also try 
forcing it:

force install Bundle::CPAN

*

*

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] Errors in SA

2005-12-14 Thread Riezal Ross
What's that command again? 'o conf make_install_arg UNINST=1*'? Doesn't
do anything.

[EMAIL PROTECTED] root]# rpm -qa | grep perl | sort
perl-5.8.0-89.10
perl-CGI-2.81-89.10
perl-CPAN-1.61-89.10
perl-DBD-MySQL-2.1021-3
perl-DB_File-1.808-8
perl-DBI-1.32-9
perl-Digest-HMAC-1.01-11.1
perl-Digest-SHA1-2.01-15.1
perl-Filter-1.29-3
perl-HTML-Parser-3.26-17
perl-HTML-Tagset-3.03-28
perl-Net-DNS-0.48-8
perl-Time-HiRes-1.38-3
perl-URI-1.21-7

A force install doesn't work either. So I manually removed the .gz and
it re-downloaded it. The same errors came up:
Checksum for y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz ok
gzip: y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz: No such file or
directory
gzip: y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz: No such file or
directory
/bin/tar: y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz: Cannot open:
No such file or directory
/bin/tar: Error is not recoverable: exiting now
Using Tar:/bin/tar xvf y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz:
/bin/tar: y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz: Cannot open:
No such file or directory
/bin/tar: Error is not recoverable: exiting now
Couldn't untar y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz

Any other ideas? This is frustrating.

Regards,

Riezal Ross
Network Engineer / Project Manager 

-Original Message-
From: Jake Vickers [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 14, 2005 10:42 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Errors in SA


Riezal Ross wrote:

First I tried changing local mirrors, it gave the same errors. I tried 
using mirrors from other countries and it still gave the errors. I 
suspect that it must've cached the .gz file as I already have it on my 
machine. So I gave up on that.
  

You may try removing the .gz file as a last resort. I'd try the 
following first:
In the CPAN shell (perl -MCPAN -e shell), do the following:
o conf make_install_arg UNINST=1*
*install Bundle::CPAN

If it asks you to append anything, always say yes.  If it gives you any 
errors, email them to me. We'll get the first part (CPAN) installed 
before we try and add things to it.  You're not running 2 versions of 
perl are you? I've known this to cause problems. Do a 'rpm -qa | grep 
perl | sort' and see if more than 1 version of perl is living on your 
machine.
Also in the perl shell, try 'reload cpan' and see what it yells at you 
about. I'm sure you have them open, but I don't remember which port it 
downloads the modules on - it would be either 21 or 80.  If fulfilling 
the requirements for Bundle::CPAN still doesn't work, you can also try 
forcing it:
force install Bundle::CPAN

*

*

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Errors in SA

2005-12-13 Thread Jake Vickers

Riezal Ross wrote:


I actually checked the directory and found that those files do exist in
root/.spamassassin/y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz and I
am running CPAN from /root/.spamassassin

 

You might try installing Bundle::CPAN from this location also; they 
package the perl modules every night into RPM format:

http://www.quantumlinux.com/~kevin/rpmpan/rpm/perl-CPAN-1.76-8.noarch.rpm
Parent site is http://rpmpan.sourceforge.net/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] Errors in SA

2005-12-12 Thread Riezal Ross
Title: Message



Anybody has any idea what'swrong with my bayes 
setup?
Regards, 
Riezal Ross 

-Original Message-From: 
Riezal Ross [mailto:[EMAIL PROTECTED] Sent: Wednesday, 
December 07, 2005 4:49 PMTo: 
qmailtoaster-list@qmailtoaster.comSubject: [qmailtoaster] Errors in 
SA 

  I'm still trying to get a grip on things here. I've 
  just re-installed the new spamassassin-toaster and it looks to be booting up 
  fine with no issues. When I run spamassassin -D --lint, it spews a whole lot 
  of messages. There is one part that I'm concerned about:
  [3738] dbg: bayes: DB_File module not installed, 
  cannot use bayes [3738] dbg: config: 
  score set 1 chosen. [3738] dbg: 
  message:  MIME PARSER START  [3738] dbg: message: main message type: text/plain 
  [3738] dbg: message: parsing normal 
  part [3738] dbg: message: added 
  part, type: text/plain [3738] dbg: 
  message:  MIME PARSER END  [3738] dbg: bayes: DB_File module not installed, cannot use 
  bayes [3738] warn: dns: Net::DNS 
  version is 0.31, but need 0.34 at 
  /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 
  589.
  Cannot use bayes? Also, when I do sa-learn --spam 
  against a mail in my ../Maildir/.Spam/new/ directory, it returns this 
  error:
  [EMAIL PROTECTED] new]# sa-learn --spam 
  1133490574.M794156P14002V0803I003D8004.mail.cisasia.com.my\,S\=10123 
  dns: Net::DNS version is 0.31, but need 0.34 at 
  /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 589. 
  Learned tokens from 0 message(s) (1 message(s) 
  examined) ERROR: the Bayes learn 
  function returned an error, please re-run with -D for more 
  information 
  Clearly both of them don't like the dns: Net::DNS version. I 
  am not sure what the above means, but could someone tell me what I'm doing 
  wrong? Or at least point me in the right direction? Thanks in 
  advanced.
  Regards, 
  Riezal Ross 



Re: [qmailtoaster] Errors in SA

2005-12-12 Thread Jake Vickers

Riezal Ross wrote:



/[3738] dbg: bayes: DB_File module not installed, cannot use bayes/
/[3738] warn: dns: Net::DNS version is 0.31, but need 0.34 at
/usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 589./

Cannot use bayes? Also, when I do sa-learn --spam against a mail
in my ../Maildir/.Spam/new/ directory, it returns this error:

/[EMAIL PROTECTED] new]# sa-learn --spam

1133490574.M794156P14002V0803I003D8004.mail.cisasia.com.my\,S\=10123/

/dns: Net::DNS version is 0.31, but need 0.34 at
/usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 589./
/Learned tokens from 0 message(s) (1 message(s) examined)/
/ERROR: the Bayes learn function returned an error, please re-run
with -D for more information/

Can't remember if I posted on this yet or not.  Have you tried 
installing Bundle::CPAN yet in perl?  I remember someone was having 
trouble with this, just not if it was you or not.  I can dig up some RH 
RPMS for these packages if you need them, or are uncomfortable upgrading 
CPAN.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] Errors in SA

2005-12-12 Thread Riezal Ross
I get this error when using CPAN:

[EMAIL PROTECTED] .spamassassin]# perl -MCPAN -e shell
Can't locate CPAN.pm in @INC 

That file doesn't seem to exist anywhere on my system. Is there any
other way to do the upgrade? Or can you point my in the right direction
to get my CPAN running?

Regards,

Riezal Ross



-Original Message-
From: Jake Vickers [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 13, 2005 9:29 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Errors in SA


Riezal Ross wrote:


 /[3738] dbg: bayes: DB_File module not installed, cannot use
bayes/
 /[3738] warn: dns: Net::DNS version is 0.31, but need 0.34 at
 /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 
 589./

 Cannot use bayes? Also, when I do sa-learn --spam against a mail
 in my ../Maildir/.Spam/new/ directory, it returns this error:

 /[EMAIL PROTECTED] new]# sa-learn --spam
 
 1133490574.M794156P14002V0803I003D8004.mail.cisasia.com.my
 \,S\=10123/

 /dns: Net::DNS version is 0.31, but need 0.34 at
 /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/Dns.pm line
589./
 /Learned tokens from 0 message(s) (1 message(s) examined)/
 /ERROR: the Bayes learn function returned an error, please re-run
 with -D for more information/

Can't remember if I posted on this yet or not.  Have you tried 
installing Bundle::CPAN yet in perl?  I remember someone was having 
trouble with this, just not if it was you or not.  I can dig up some RH 
RPMS for these packages if you need them, or are uncomfortable upgrading

CPAN.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Errors in SA

2005-12-12 Thread Jake Vickers

Riezal Ross wrote:


I get this error when using CPAN:

[EMAIL PROTECTED] .spamassassin]# perl -MCPAN -e shell
Can't locate CPAN.pm in @INC 


That file doesn't seem to exist anywhere on my system. Is there any
other way to do the upgrade? Or can you point my in the right direction
to get my CPAN running?
 


Try this:
yum install perl-DBI libdbi

I think one of those packages will solve your problem. Let me know if it 
doesn't. And what distro you've got installed.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] Errors in SA

2005-12-12 Thread Riezal Ross
Silly me, I didn't have CPAN install. I did a yum install perl-CPAN and
it went of. I installed the modules recommended by Nick:
Mail::SpamAssassin::Plugin::Pyzor
  IP::Country::Fast
  IO::Socket::SSL
  Archive::Tar
  IO::Zlib

Some of them worked, some returned errors. Lastly, I installed
Bundle::CPAN and it returned the following error:

cropped

Checksum for y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz ok
gzip: y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz: No such file or
directory
gzip: y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz: No such file or
directory
/bin/tar: y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz: Cannot open:
No such file or directory
/bin/tar: Error is not recoverable: exiting now
Using Tar:/bin/tar xvf y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz:
/bin/tar: y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz: Cannot open:
No such file or directory
/bin/tar: Error is not recoverable: exiting now
Couldn't untar y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz

Doesn't seem too happy. I haven't tried doing spamassassin -D --lint
yet, coz it doesn't look like Bundle::CPAN installed successfully?

Regards,

Riezal Ross


-Original Message-
From: Jake Vickers [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 13, 2005 10:10 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Errors in SA


Riezal Ross wrote:

I get this error when using CPAN:

[EMAIL PROTECTED] .spamassassin]# perl -MCPAN -e shell
Can't locate CPAN.pm in @INC

That file doesn't seem to exist anywhere on my system. Is there any 
other way to do the upgrade? Or can you point my in the right direction

to get my CPAN running?
  

Try this:
yum install perl-DBI libdbi

I think one of those packages will solve your problem. Let me know if it

doesn't. And what distro you've got installed.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Errors in SA

2005-12-12 Thread Jake Vickers

Riezal Ross wrote:


Silly me, I didn't have CPAN install. I did a yum install perl-CPAN and
it went of. I installed the modules recommended by Nick:
Mail::SpamAssassin::Plugin::Pyzor
 IP::Country::Fast
 IO::Socket::SSL
 Archive::Tar
 IO::Zlib

Some of them worked, some returned errors. Lastly, I installed
Bundle::CPAN and it returned the following error:

cropped

Checksum for y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz ok
gzip: y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz: No such file or
directory
 

Looks like the sources you're trying to get the packages from don't have 
the files. Did you try installing the 2 I suggested? I still need to 
know what distro you're using. I had a site bookmarked that had all the 
perl modules built as RPMs Probably on my work-pc, so I'll check 
that in the morning.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] Errors in SA

2005-12-12 Thread Riezal Ross
I tried installing Net::DNS and Bundle::CPAN, both returned the same
sort of errors. As you said, they cant seem to find the files. My distro
is CentOS release 3.5 (Final).

What should I do to get CPAN installing all these necessary modules?

Regards,

Riezal Ross


-Original Message-
From: Jake Vickers [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 13, 2005 10:22 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Errors in SA


Riezal Ross wrote:

Silly me, I didn't have CPAN install. I did a yum install perl-CPAN and

it went of. I installed the modules recommended by Nick: 
Mail::SpamAssassin::Plugin::Pyzor
  IP::Country::Fast
  IO::Socket::SSL
  Archive::Tar
  IO::Zlib

Some of them worked, some returned errors. Lastly, I installed 
Bundle::CPAN and it returned the following error:

cropped

Checksum for y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz ok
gzip: y/sources/authors/id/A/AN/ANDK/CPAN-1.80.tar.gz: No such file or 
directory
  

Looks like the sources you're trying to get the packages from don't have

the files. Did you try installing the 2 I suggested? I still need to 
know what distro you're using. I had a site bookmarked that had all the 
perl modules built as RPMs Probably on my work-pc, so I'll check 
that in the morning.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Errors in SA

2005-12-07 Thread Jake Vickers

Riezal Ross wrote:

I'm still trying to get a grip on things here. I've just re-installed 
the new spamassassin-toaster and it looks to be booting up fine with 
no issues. When I run spamassassin -D --lint, it spews a whole lot of 
messages. There is one part that I'm concerned about:


/[3738] dbg: bayes: DB_File module not installed, cannot use bayes/
/[3738] dbg: config: score set 1 chosen./
/[3738] dbg: message:  MIME PARSER START /
/[3738] dbg: message: main message type: text/plain/
/[3738] dbg: message: parsing normal part/
/[3738] dbg: message: added part, type: text/plain/
/[3738] dbg: message:  MIME PARSER END /
/[3738] dbg: bayes: DB_File module not installed, cannot use bayes/
/[3738] warn: dns: Net::DNS version is 0.31, but need 0.34 at 
/usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 589./


Cannot use bayes? Also, when I do sa-learn --spam against a mail in my 
../Maildir/.Spam/new/ directory, it returns this error:


/[EMAIL PROTECTED] new]# sa-learn --spam 
1133490574.M794156P14002V0803I003D8004.mail.cisasia.com.my\,S\=10123/ 

/dns: Net::DNS version is 0.31, but need 0.34 at 
/usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 589./

/Learned tokens from 0 message(s) (1 message(s) examined)/
/ERROR: the Bayes learn function returned an error, please re-run with 
-D for more information/


Clearly both of them don't like the/ dns: Net::DNS version./ I am not 
sure what the above means, but could someone tell me what I'm doing 
wrong? Or at least point me in the right direction? Thanks in advanced.


Net::DNS is a perl module.  Do 'perl -MCPAN -e shell' and then 'install 
Bundle::CPAN' while in there. That will at least load the default 
packages for you. Net::DNS is included with the CPAN Bundle.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]