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! :)