RE: Script error

2006-10-17 Thread Bowie Bailey
Reginaldo Bray Mendoza wrote:
> Hello everybody.
> 
> Today i upgraded spamassassin to last version available (3.1.7). I
> tried to execute: 
> 
> /etc/init.d/spamassassin status|restart|stop
> 
> and i get the following error message:
> 
> spamassassin: spamassassin script is v3.001003, but using modules
> v3.001007 
> 
> However, i run spamassassin --version and get the following message:
> 
>   SpamAssassin version 3.1.7
>   running on Perl version 5.8.0
> 
> I downloaded the .tar.gz file from spamassassin website and executed
> perl MakeFile.PL --> make --> make install. 
> 
> Can somebody tell me how can i fix this??

Take a look at /etc/init.d/spamassassin and see where it is finding
the program.

Then do 'which spamassassin' to see which one you are running.

You have two SpamAssassin installs.  You will need to make sure you
are running the correct one.  The best solution is to remove both of
them and reinstall to make sure you only have one installation.

This is usually caused by upgrading via a different method than the
original install (RPM vs CPAN vs source build).  Pick a method and
stick with it.

-- 
Bowie


RE: script error?

2004-11-19 Thread Martin
|-Original Message-
|From: Stefan Suurmeijer [mailto:[EMAIL PROTECTED] 
|Sent: 18 November 2004 23:52
|To: users@spamassassin.apache.org
|Subject: script error?
|
|Hi list,
|
|this is probably some easy configuration issue, but it's now 
|almost 1am and I just spent the last 4 hours upgrading my 
|system so by now I wouldn't see a solution if it hit me in the face.
|
|I have everything working, except for spamassassin. I had it 
|working earlier, but I decided to get the newest version of SA 
|from CPAN and now when I try to start spamd I get the following error:
|
|ERROR!  spamassassin script is v3.00, but using modules v3.01!
|
|which is great in not telling me anything useful about what is wrong. 
|Can anybody point me in the right direction? Any help would be 
|GREATLY appreciated
|

I had exactly the same when I upgraded, turned out I had two versions of
spamd on, one in /usr/bin/spamd and the other /usr/sbin/spamd, one was the
old one and the other was the new one, cant remember which way round now,
shouldn't be hard to figure though. The startup script was finding the old
one, just delete it and/or copy the new one over.

Martin



Re: script error?

2004-11-19 Thread Stefan Suurmeijer
tried it but didn't work. There's probably some statement in a startup 
script that is no longer available in v3.01, but I have no idea 
what. Anyone?

Noel K Hall II wrote:
First, shutdown the running spamd process (if it is), and any process that
calls the use of spamassassin.
Then from the CPAN shell  use 'force install Mail::SpamAssassin'
Then restart everything and see what happens.
-Noel
-Original Message-
From: Stefan Suurmeijer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 6:52 PM
To: users@spamassassin.apache.org
Subject: script error?

Hi list,
this is probably some easy configuration issue, but it's now almost 1am and
I just spent the last 4 hours upgrading my system so by now I wouldn't see a
solution if it hit me in the face.
I have everything working, except for spamassassin. I had it working
earlier, but I decided to get the newest version of SA from CPAN and now
when I try to start spamd I get the following error:
ERROR!  spamassassin script is v3.00, but using modules v3.01!
which is great in not telling me anything useful about what is wrong. 
Can anybody point me in the right direction? Any help would be GREATLY
appreciated

TIA
Stefan
 



RE: script error?

2004-11-19 Thread Noel K Hall II
First, shutdown the running spamd process (if it is), and any process that
calls the use of spamassassin.

Then from the CPAN shell  use 'force install Mail::SpamAssassin'

Then restart everything and see what happens.

-Noel

-Original Message-
From: Stefan Suurmeijer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 6:52 PM
To: users@spamassassin.apache.org
Subject: script error?

Hi list,

this is probably some easy configuration issue, but it's now almost 1am and
I just spent the last 4 hours upgrading my system so by now I wouldn't see a
solution if it hit me in the face.

I have everything working, except for spamassassin. I had it working
earlier, but I decided to get the newest version of SA from CPAN and now
when I try to start spamd I get the following error:

ERROR!  spamassassin script is v3.00, but using modules v3.01!

which is great in not telling me anything useful about what is wrong. 
Can anybody point me in the right direction? Any help would be GREATLY
appreciated

TIA
Stefan