Can't locate object method "new" via package "Crypt::CBC"

Post Reply
xic
Junior Member
Posts: 1
Joined: 02 Jan 2017, 15:36

Can't locate object method "new" via package "Crypt::CBC"

Post by xic »

Have a problem configuring CLUSTERING (csf: v9.28) with 'CentOs release 6.8'.

Have set the parameters 'CLUSTER_SENDTO, CLUSTER_RECVFROM, CLUSTER_POST, CLUSTER_KEY and CLUSTER_BLOCK'.

On machine 1 (CentOs release 7.3.1611) a test with the command 'csf --cping' give a valid output.
On machine 2 (CentOs release 6.8) same test gives the output 'Can't locate object method "new" via package "Crypt::CBC" at /usr/sbin/csf line 560'.

perl -MCPAN -e 'install Crypt::CBC' gives: 'Crypt::CBC is up to date (2.33)'.

What can I do to fix this?


Also try the suggestion from hellboy ('viewtopic.php?f=6&t=7068&p=20810&hilit=CBC#p20810'), But gives no output with the same test.
Silent Ninja
Junior Member
Posts: 40
Joined: 24 Apr 2008, 15:58

Re: Can't locate object method "new" via package "Crypt::CBC"

Post by Silent Ninja »

I had the same issue and it got fixed by adding use Crypt::CBC; (after the other uses), on the file /usr/sbin/csf

Perhaps it's best to wait for an official answer, but it should work just fine.
Post Reply