I can't reinstall spamassassin....

Sam9999

Verified User
Joined
Apr 26, 2008
Messages
26
today there was spam from mi server. I have see that spamassassin is disabled but when I try to reinstall it I have a erroro when I try to start spamassassin:

run:
/usr/bin/spamd -d -c -m 15

vps:/usr/local/directadmin/scripts# /usr/bin/spamd -d -c -m 15
/usr/bin/perl: symbol lookup error: /usr/local/lib/perl/5.10.0/auto/Net/DNS/DNS.so: undefined symbol: Perl_Tstack_sp_ptr
vps:/usr/local/directadmin/scripts#

I have try to reinstall it with "apt-get install spamassassin" but I have a error too....

After restored the vps if I try start spamd

/usr/bin/spamd -d -c -m 15

I have the error:

Can't locate strict.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /usr/lib/perl/5.8/Config.pm line 5.
BEGIN failed--compilation aborted at /usr/lib/perl/5.8/Config.pm line 5.
Compilation failed in require at /usr/lib/perl/5.8/lib.pm line 6.
BEGIN failed--compilation aborted at /usr/lib/perl/5.8/lib.pm line 6.
Compilation failed in require at /usr/bin/spamd line 26.
BEGIN failed--compilation aborted at /usr/bin/spamd line 26.
vps:~#


When I try to reinstall spamassassin the pop3 and smtp server will be down....


From someway I have a spammer who use mi server as phishing mail server now.

It's today but I have reinstalled a backup of sunday and spam assassin don't work.
Mi direct admin is uptodate

Valore DirectAdmin
Compilato per Debian 4.0
Versione Pannello 1.35.1
Versione Attualmente Disponibile 1.351000
Ultimo Aggiornamento Sat Feb 20 11:30:18 2010
Aggiorna DirectAdmin

Now I have do:
apt-get install perl-base perl-modules

and after

cd /usr/local/directadmin/scripts

./spam.sh

then:

/usr/bin/spamd -d -c -m 15

and the error

/usr/bin/perl: symbol lookup error: /usr/local/lib/perl/5.10.0/auto/Net/DNS/DNS.so: undefined symbol: Perl_Tstack_sp_ptr
 
Can't locate strict.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /usr/lib/perl/5.8/Config.pm line 5.

Install the perl module "strict".

You will have to google to find a fix for undefined symbol: Perl_Tstack_sp_ptr
 
I'm goolging but....

I can't find how to installt Stict.pm

I can found that other people have the some errore but I have not found the right module to installa at CPAN too.... :-\
 
Looks like you have 2 versions of perl installed too. I see you referencing "/usr/local/lib/perl/5.10.0" and "/usr/lib/perl/5.8". You might need to hire someone to help you with this as it might get complicated. Or else ask directadmin support to login to your server to help you.
 
Tks but problems.

I have not CPAN installed and I can't install it because strict.pm is missign.

vps:~# perl -MCPAN -e'install strict'
Can't locate CPAN.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.
vps:~#


Yes I seeme that I have 2 version of perl installed, the I have to uninstall the 5,10 or 5.8.8

vps:/usr/lib/perl# ls -als
total 24
4 drwxr-xr-x 4 root root 4096 Jun 9 2008 .
12 drwxr-xr-x 33 root root 12288 Jun 9 2008 ..
0 lrwxrwxrwx 1 root root 6 Mar 2 17:51 5.10 -> 5.10.0
4 drwxr-xr-x 32 root root 4096 Mar 2 23:26 5.10.0
0 lrwxrwxrwx 1 root root 5 Mar 3 08:03 5.8 -> 5.8.8
4 drwxr-xr-x 31 root root 4096 Jun 9 2008 5.8.8
vps:/usr/lib/perl#
 
Google on how to install CPAN manually, or how to install strict manually.

Or hire someone to do it for you.

Jeff
 
Google it's your friend!

Let's ok, but I have search for 3 hours on google and nothing more.

I can't install CPAN because it need strict and I have not found the right strict module to install.

Then I'm asking if someone know the right strict module to install on a debian VPS.

I've look on CPAN web site but nothing of strict have had a good feeling with for be sure that is to install.
 
Back
Top