Spamassassin Razor2 plugin stopped working after updated to 11.36

Curious Too

Well-Known Member
Aug 31, 2001
437
2
318
cPanel Access Level
Root Administrator
The spamassassin Razor2 plugin stopped working after the update to 11.36. If I run /usr/local/cpanel/3rdparty/bin/spamassassin -D --lint I see this message:

dbg: diag: [...] module not installed: Razor2::Client::Agent ('require' failed),


If I run /usr/bin/spamassassin -D --lint it shows the module is installed:

diag: [...] module installed: Razor2::Client::Agent, version 2.84


If I try to reinstall Razor using cpanel's internal perl I get these messages:

Warning: prerequisite Digest::SHA1 0 not found.
Warning: prerequisite Getopt::Long 0 not found.
Warning: prerequisite MIME::Base64 0 not found.
Warning: prerequisite Test::More 0 not found.
Warning: prerequisite Time::HiRes 0 not found.
Warning: prerequisite URI::Escape 0 not found.

I also have DCC and Pyzor installed and working without any problems.

Any ideas what's causing this?
 

Curious Too

Well-Known Member
Aug 31, 2001
437
2
318
cPanel Access Level
Root Administrator
The solution in case anyone else is experiencing this problem: you have to reinstall Razor2 using this method:

/usr/local/cpanel/3rdparty/perl/514/bin/cpan -i Razor2::Client::Agent