You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by raulbe <ra...@chromacars.com> on 2008/04/16 17:50:59 UTC

two versions of spamd running?

I am running mailscanner with spamassassin attached. But I think the native
spamassassin is still running. So I did a check

$  spamd -V
SpamAssassin Server version 3.1.9
  running on Perl 5.8.5
[20928] error: List::Util object version 1.14 does not match bootstrap
parameter 1.19 at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/XSLoader.pm
line 92.
[20928] error: List::Util object version 1.14 does not match bootstrap
parameter 1.19 at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/List/Util.pm
line 30.
[20928] error: 5 is only avaliable with the XS version at
/usr/lib/perl5/vendor_perl/5.8.5/IO/Socket/SSL.pm line 20
[20928] error: BEGIN failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.8.5/IO/Socket/SSL.pm line 20.
[20928] error: 5 is only avaliable with the XS version at
/usr/lib/perl5/vendor_perl/5.8.5/IO/Socket/SSL.pm line 20
[20928] error: BEGIN failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.8.5/IO/Socket/SSL.pm line 20.
[20928] error: Compilation failed in require at /usr/bin/spamd line 104.

and then did this

$ rpm -qa | grep spam
nuonce-spamassassin-capstone-1.0.13-1.centos4
spamass-milter-0.3.1-5
nuonce-spamassassin-ui-1.0.13-1.centos4
nuonce-spamassassin-locale-en-1.0.13-1.centos4
nuonce-spamassassin-glue-1.0.13-1.centos4
spamassassin-3.1.9-1.el4
nuonce-spamassassin-3.2.3-1


Any thoughts?

Thanks!
-- 
View this message in context: http://www.nabble.com/two-versions-of-spamd-running--tp16722566p16722566.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: two versions of spamd running?

Posted by raul benitez <ra...@chromacars.com>.
Ok great!
Btw I'm running CentOS 4 so yes redhat

Now If i run these commands how will I know which version of Spamd was 
stoped? I want to keep the version of Spamassasin thats running along 
with mailscanner.
Which is were i think the conflict is in. Mailscanner is running its own 
version and then the older version of spamassasin was already installed 
so I want to stop that one.

THanks!

Jari Fredriksson wrote:
>> Thanks for the reply!
>>
>> So if i run that i get
>>
>> $ ps xafu | grep spamd
>> root      2146  0.0  0.0  4556  552 pts/1    S+   12:17
>> 0:00                      \_ grep spamd
>> root     16388  0.0  1.8 44492 37708 ?       Ss   10:30  
>> 0:04 /usr/bin/spamd -d -c -m8 -H -r /var/run/spamd.pid
>> nobody     584  0.9  2.6 69180 55884 ?       S    11:05  
>> 0:40  \_ spamd child
>> nobody     588  0.6  1.9 47664 40512 ?       S    12:14  
>> 0:01  \_ spamd child
>> nobody    2117  2.4  1.8 45948 38952 ?       S    12:17  
>> 0:00  \_ spamd child
>> root      2118  0.0  1.7 44492 35640 ?       S    12:17  
>> 0:00  \_ spamd child
>>
>> then doing a
>>
>> $ /etc/init.d/spamassassin status
>> spamd (pid 2118 588 584 16388) is running...
>>
>> So if I was running two versions it would tell me so
>> right? 
>> and if I am how do I shut one off?
>>
>>     
>
> Yes. You are running a spamd there, so it will be a duplicate if you have mailscanner or anothing running it too..
>
> But how to disable spamd? It dependes.
>
> If you run a linux, it still depends
>
> 1) If it's a debian based linux, you will have a file /etc/default/spamassassin. There is a line as ENABLED=1
>
> 1.1) First shut down the spamd
>
> /etc/init.d/spamassassin stop
>
> 1.2) Edit the default.
>
> Edit the file /etc/default/spamassassin so that it says: ENABLED=0
>
>
> 2) If you have a RedHat/Fedora or SuSE based Linux, command as root
>
> service spamassassin stop
> chkconfig spamassassin off
>
> If it's not Linux, and those commands do not work, I have no idea.
>
> You could command
>
> /etc/init.d/spamassassin stop
> rm /etc/init.d/spamassassin
>
>
>
>
>
>   


Re: two versions of spamd running?

Posted by Jari Fredriksson <ja...@iki.fi>.
> Thanks for the reply!
> 
> So if i run that i get
> 
> $ ps xafu | grep spamd
> root      2146  0.0  0.0  4556  552 pts/1    S+   12:17
> 0:00                      \_ grep spamd
> root     16388  0.0  1.8 44492 37708 ?       Ss   10:30  
> 0:04 /usr/bin/spamd -d -c -m8 -H -r /var/run/spamd.pid
> nobody     584  0.9  2.6 69180 55884 ?       S    11:05  
> 0:40  \_ spamd child
> nobody     588  0.6  1.9 47664 40512 ?       S    12:14  
> 0:01  \_ spamd child
> nobody    2117  2.4  1.8 45948 38952 ?       S    12:17  
> 0:00  \_ spamd child
> root      2118  0.0  1.7 44492 35640 ?       S    12:17  
> 0:00  \_ spamd child
> 
> then doing a
> 
> $ /etc/init.d/spamassassin status
> spamd (pid 2118 588 584 16388) is running...
> 
> So if I was running two versions it would tell me so
> right? 
> and if I am how do I shut one off?
> 

Yes. You are running a spamd there, so it will be a duplicate if you have mailscanner or anothing running it too..

But how to disable spamd? It dependes.

If you run a linux, it still depends

1) If it's a debian based linux, you will have a file /etc/default/spamassassin. There is a line as ENABLED=1

1.1) First shut down the spamd

/etc/init.d/spamassassin stop

1.2) Edit the default.

Edit the file /etc/default/spamassassin so that it says: ENABLED=0


2) If you have a RedHat/Fedora or SuSE based Linux, command as root

service spamassassin stop
chkconfig spamassassin off

If it's not Linux, and those commands do not work, I have no idea.

You could command

/etc/init.d/spamassassin stop
rm /etc/init.d/spamassassin





Re: two versions of spamd running?

Posted by raul benitez <ra...@chromacars.com>.
Thanks for the reply!

So if i run that i get

$ ps xafu | grep spamd
root      2146  0.0  0.0  4556  552 pts/1    S+   12:17   
0:00                      \_ grep spamd
root     16388  0.0  1.8 44492 37708 ?       Ss   10:30   0:04 
/usr/bin/spamd -d -c -m8 -H -r /var/run/spamd.pid
nobody     584  0.9  2.6 69180 55884 ?       S    11:05   0:40  \_ spamd 
child
nobody     588  0.6  1.9 47664 40512 ?       S    12:14   0:01  \_ spamd 
child
nobody    2117  2.4  1.8 45948 38952 ?       S    12:17   0:00  \_ spamd 
child
root      2118  0.0  1.7 44492 35640 ?       S    12:17   0:00  \_ spamd 
child

then doing a

$ /etc/init.d/spamassassin status
spamd (pid 2118 588 584 16388) is running...

So if I was running two versions it would tell me so right?
and if I am how do I shut one off?

Thanks!

Jari Fredriksson wrote:
>> Any thoughts?
>>
>> Thanks!
>>     
>
> ps xafu | grep spamd
>
> or 
>
> /etc/init.d/spamassassin status
>
>
>
>
>
>   


Re: two versions of spamd running?

Posted by Jari Fredriksson <ja...@iki.fi>.
> 
> 
> Any thoughts?
> 
> Thanks!

ps xafu | grep spamd

or 

/etc/init.d/spamassassin status