How to fix CSF *WARNING* URLGET set to use LWP but perl module is not installed, fallback to using CURL/WGET
When checking CSF using the csf -c
command an error appears as follows:
csf -c
*WARNING* URLGET set to use LWP but perl module is not installed, fallback to using CURL/WGET
Looks like you missed the prerequisites step before installing CSF Firewall, to fix it we have to install the following packages:
# On rpm based systems:
yum install perl-libwww-perl.noarch perl-LWP-Protocol-https.noarch perl-GDGraph
# On APT based systems:
apt-get install libwww-perl liblwp-protocol-https-perl libgd-graph-perl
After the installation is complete, check once again using the csf -c command:
Output:
# csf -c
csf is already at the latest version: v14.17