You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Brian O'Neill <on...@newmmc.com> on 2004/11/17 18:52:59 UTC

Problem after upgrading Spam Assassin to 3.0.1

Hello,

I am new to mailing lists and Linux so please excuse some of the 
mistakes I know I am going to make.

I just started working at this company and their mail server was already 
setup. Recently my boss was complaining that he is receiving a lot of 
spam now. I saw that the last release came out around October 25, 2004 
and that's the day I started work, so I figured Spam Assassin should 
probably be upgraded. I downloaded the tar file and extracted it. Then I 
untared the file and began the installation: perl Makefile.PL, make, and 
then make install. I think when I tried to run spamd I got an error 
message about Required module Storable not found!. I force installed the 
module after finding someone else's solution to the problem. Then I got 
an error about bayes db version 0 is not able to be used, aborting!. So 
I ran all the commands I saw in 
http://wiki.apache.org/spamassassin/BayesUpgradeError, like sa-learn 
--sync, sa-learn --dump magic, and sa-learn --rebuild.
sa-learn --dump magic gave me the following output:
0.000          0          3          0  non-token data: bayes db version
0.000          0       7470          0  non-token data: nspam
0.000          0       1125          0  non-token data: nham
0.000          0     248547          0  non-token data: ntokens
0.000          0 1100647013          0  non-token data: oldest atime
0.000          0 1100711382          0  non-token data: newest atime
0.000          0 1100711442          0  non-token data: last journal 
sync atime
0.000          0 1100647013          0  non-token data: last expiry atime
0.000          0          0          0  non-token data: last expire 
atime delta
0.000          0          0          0  non-token data: last expire 
reduction count

Now the last time I tried to do, spamd restart, nothing would happen, no 
messages would appear or anything. So I decided to let it sit for awhile 
to see if it just needed more time and when I checked on it I got the 
message that the software closed the connection or something. So I 
logged in again and when I tried to run spamd restart again now I get 
this message: Could not create INET socket on 127.0.0.1:783: Address 
already in use (IO::Socket::INET: Address already in use). I'm not sure 
if this is a bad thing or even what it means. Can anyone tell me if I 
messed something up or what I have to do to get rid of that message. 
Here are some other things I tried after doing a google search:

mail:/usr/src/Mail-SpamAssassin-3.0.1# spamd restart

Could not create INET socket on 127.0.0.1:783: Address already in use 
(IO::Socket::INET: Address already in use)
mail:/usr/src/Mail-SpamAssassin-3.0.1#
mail:/usr/src/Mail-SpamAssassin-3.0.1# spamd stop
Could not create INET socket on 127.0.0.1:783: Address already in use 
(IO::Socket::INET: Address already in use)
mail:/usr/src/Mail-SpamAssassin-3.0.1#
mail:/usr/src/Mail-SpamAssassin-3.0.1# telnet 127.0.0.1 783
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
quit
SPAMD/1.0 76 Bad header line: quit
Connection closed by foreign host.
mail:/usr/src/Mail-SpamAssassin-3.0.1#
mail:/usr/src/Mail-SpamAssassin-3.0.1# which spamassassin
/usr/local/bin/spamassassin
mail:/usr/src/Mail-SpamAssassin-3.0.1# spamassassin --version
SpamAssassin version 3.0.1
 running on Perl version 5.6.1
mail:/usr/src/Mail-SpamAssassin-3.0.1#


Any help would be greatly appreciated.
Thank you

Brian O'Neill