Page 1 of 1

URLGET LWP not working on fresh CentOS 6.6

Posted: 08 Jan 2015, 02:01
by tandyuk
Ok, so most of my machines are cpanel.
This one is just a plain centos box.

So i installed csf as usual, and restarted it...

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

Ok, no problem, lets install it...

Package 4:perl-5.10.1-136.el6_6.1.x86_64 already installed and latest version
Package perl-IO-Socket-SSL-1.31-2.el6.noarch already installed and latest version
Package perl-Net-SSLeay-1.35-9.el6.x86_64 already installed and latest version
Package perl-Net-LibIDN-0.12-3.el6.x86_64 already installed and latest version
Package perl-IO-Socket-INET6-2.56-4.el6.noarch already installed and latest version
Package perl-Socket6-0.23-4.el6.x86_64 already installed and latest version

So any ideas why csf cant see it, or is this a bug?

It works fine on 7 other Centos/Cloudlinux 6.x machines.


And then solved my own problem...
yum install perl-libwww-perl
And a load of dependencies.


Perhaps this requirement could be added to the install/readme.txt

Thanks :)

Re: URLGET LWP not working on fresh CentOS 6.6

Posted: 16 Jan 2015, 01:14
by jcats
Never had this issue before, even when using a minimal Centos install. Weird =X

Re: URLGET LWP not working on fresh CentOS 6.6

Posted: 01 May 2015, 22:06
by agriz
Thanks. The error is gone. But nothing loaded after installing the perl module.

Just logo and " ConfigServer Security & Firewall - csf v7.68"
Nothing else.
What to do now?

Re: URLGET LWP not working on fresh CentOS 6.6

Posted: 10 Aug 2015, 14:22
by RudyS
Had exactly the same problem.
Thank you very much for your solution.

Re: URLGET LWP not working on fresh CentOS 6.6

Posted: 15 Aug 2015, 06:31
by Firewalls4Life
For Ubuntu the install command and package name is:

Code: Select all

apt-get install libwww-perl

Re: URLGET LWP not working on fresh CentOS 6.6

Posted: 18 Dec 2016, 21:13
by Travis Banger
tandyuk wrote: And then solved my own problem...
yum install perl-libwww-perl
And a load of dependencies.

Perhaps this requirement could be added to the install/readme.txt
I also had the exact same problem, but in a computer running Ubuntu. The "perl-libwww-perl" package was not found, so in a wild guess, I tried this:

Code: Select all

# apt-get install  libwww-perl
and it worked fine. !

URLGET LWP not working on fresh CentOS 7.3

Posted: 12 Sep 2017, 02:19
by Aza_Oberman
The beat of this thread goes on with the next release of CentOS 7.3.1611 (Core)..

CPAN reports that LWP is installed and current.

The CentOS 6 panacea cited at the start of this thread was executed:
yum install perl-libwww-perl
returns:
Package perl-libwww-perl-6.05-2.el7.noarch already installed and latest version
.

Nevertheless, CSF "Quick Allow" returns:
*WARNING* URLGET set to use LWP but perl module is not installed, reverting to HTTP::Tiny
Allowing 96.230.221.36...
*WARNING* URLGET set to use LWP but perl module is not installed, reverting to HTTP::Tiny
Adding 96.230.221.36 to csf.allow and iptables ACCEPT...
csf: IPSET adding [96.230.221.36] to set [chain_ALLOW]
...Done.
Any thoughts?

Aza D. Oberman 9/11/2017