Cheatsheet: Troubleshooting¶
The information below is a list of errors you may receive within CSF, and steps on how to correct each issue.
Can't locate object method "new" via package "Crypt::CBC" at /usr/sbin/csf line ***¶
This error occurs when Crypt::CBC cannot be found. It is sometimes seen when executing commands such as sudo csf -cp
.
To correct the issue, open the file /usr/sbin/csf
in a text editor.
Locate the lines:
Add a new line with use Crypt::CBC
as shown below:
Save the file, and re-execute your previous command which caused the error.
csf[46313]: open3: exec of /sbin/ipset flush failed: No such file or directory at /usr/sbin/csf line ****.¶
This error occurs when you are missing the package ipset
. Install it with the following commands:
Debian based systems:
Redhat based systems: