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

Following the install of CSF (ConfigServer Security & Firewall) on some servers, you may experience the following error message when executing a CSF restart:
*WARNING* URLGET set to use LWP but perl module is not installed, reverting to HTTP::Tiny

If this happens to you, don't worry, it's simply that you are missing a few Perl modules that CSF requires to run correctly. To resolve this problem, please install the following packages:
yum install perl-libwww-perl net-tools perl-LWP-Protocol-https -y

Or, if you're running Ubuntu, Debian or another apt-based Linux distro, try the following:
apt-get install libwww-perl -y
While you're at it, Ubuntu users might also need to install 'sendmail' and 'unzip' so check you have those too.

Once this is done, you should be able to restart CSF without seeing the above error message. Well done! :)
  • 7 Users Found This Useful
Was this answer helpful?

Related Articles

How to resize LVM partitions

Sometimes when users install their operating systems from ISOs manually, they choose to install...

Archiving old content (tar gzip)

In this article we'll explain how and why you should archive your old content - particularly...

Choosing the best DNS resolvers for a server

Customers often ask us what we'd recommend they use as DNS resolvers on their server. This...

Speed up & secure cloud servers with more Entropy

In Linux, Entropy refers to randomness that is generated by a virtual random number generator,...