Diadem Technologies Support Knowledgebase

Perl module issue while installing csf on Diadem Express Cloud VPS.

Article ID: 982
Last updated: 04 Jan, 2023

Config Server Firewall is a Login/Intrusion Detection and Security application for Linux servers.

Install CSF using the given below steps.

# cd /usr/local/src

# wget https://download.configserver.com/csf.tgz

# tar -xzvf csf.tgz

# cd csf/

# sh install.sh

To check if CSF configuration is working fine using the given below command:

#./csftest.pl

If you receive error as given below:

Can't locate Exporter.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/vendor_perl/Carp.pm line 35.
Compilation failed in require at /usr/share/perl5/IPC/Open3.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/IPC/Open3.pm line 9.
Compilation failed in require at ./csftest.pl line 10.
BEGIN failed--compilation aborted at ./csftest.pl line 10.

 

The issue was faced as there was missing modules, you need to install the particular module.

Login to the VPS using SSH and enter the given below commands to install the missing module.

# yum search perl-Exporter.pm
# yum install perl-Exporter.pm

 

Article ID: 982
Last updated: 04 Jan, 2023
Revision: 7
Views: 583