Page 1 of 1

Can't stop SpamAssassin - Debian7 - Fresh install

Posted: Sat Feb 07, 2015 4:49 pm
by mehargags
I just installed a new server with Debain7 and VestaCP. Surprisingly I'm not able to stop it via VestaCP's Services page or from the command line:

Code: Select all

$ /etc/init.d/spamassassin stop
Stopping SpamAssassin Mail Filter Daemon: No /usr/bin/perl found running; none killed.
spamd.


I've never encountered this before, anyone have any ideas ? don't know how to resolve the Dependency

Re: Can't stop SpamAssassin - Debian7 - Fresh install

Posted: Sun Feb 08, 2015 1:30 am
by skurudo
No Perl in system? O_o

Try to:

Code: Select all

apt-get update && apt-get upgrade
first and

Code: Select all

apt-get install perl
.

I don't see those error with spamassain earlier, it's worked fine... proof:
$ /etc/init.d/spamassassin stop
Stopping SpamAssassin Mail Filter Daemon: spamd.
$ /etc/init.d/spamassassin start
Starting SpamAssassin Mail Filter Daemon: spamd.

Re: Can't stop SpamAssassin - Debian7 - Fresh install

Posted: Sun Feb 08, 2015 9:00 am
by mehargags
I do have Perl installed...

Code: Select all

$: perl -v
This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi
Something is weird, service spamassassin/spamd is not recognized.
pgrep -l spam give me nothing either!

my /etc/default/spamassassin has

Code: Select all

PIDFILE="/var/run/spamd.pid"
Ps -aux doesn't show any spam* process either...!