Post CSF Install Error "URLGET set to use LWP but perl module is not installed, fallback to using CURL/WGET" Print

  • 0

Error Message:

When restarting CSF (ConfigServer Security & Firewall), you might encounter the following warning:

*WARNING* URLGET set to use LWP but perl module is not installed, reverting to HTTP::Tiny

Cause:

This error occurs because the required Perl modules for CSF are missing from your system. Fortunately, this is an easy fix.

Solution:

To resolve the issue, install the necessary Perl modules based on your Linux distribution:

For RHEL, CentOS, AlmaLinux, and Rocky Linux (YUM-based distros):

Run the following command:

yum install perl-libwww-perl net-tools perl-LWP-Protocol-https -y

For Ubuntu, Debian, and other APT-based distros:

Use this command instead:

apt-get install libwww-perl -y

Additionally, Ubuntu users may also need to install sendmail and unzip:

apt-get install sendmail unzip -y

Final Step:

After installing the required packages, restart CSF:

csf -r

This should resolve the error, allowing CSF to function correctly.


Was this answer helpful?

« Back