csf -ca 82.83.84.85
Can't locate object method "new" via package "Crypt::CBC" (perhaps you forgot to load "Crypt::CBC"?) at /usr/sbin/csf line 443.
csf -ca ip error on centos 6
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: csf -ca ip error on centos 6
That suggests that you are using a cluster command (-ca) without having configured a csf cluster.
Re: csf -ca ip error on centos 6
I found out what is the problem, is not loading that perl Crypt::CBC because is not set to be loaded. I just add it and it works. I was using it just as a simple shell command and allways recieved same error on 3 different servers. Please look in too it.
# start clustersend
sub clustersend {
use Crypt::CBC;
use IO::Socket::INET;
my $text = shift;
my $cipher = Crypt::CBC->new( -key => $config{CLUSTER_KEY}, -cipher => 'Blowfish_PP');
my $encrypted = $cipher->encrypt($text);;
# start clustersend
sub clustersend {
use Crypt::CBC;
use IO::Socket::INET;
my $text = shift;
my $cipher = Crypt::CBC->new( -key => $config{CLUSTER_KEY}, -cipher => 'Blowfish_PP');
my $encrypted = $cipher->encrypt($text);;