SYSTEM INFORMATION
OS type and version
Ubuntu 22.04.1
Webmin version
2.001
Authentic Theme version
20.02
Howdy there,
CWAF server (int.) breaks after Ubuntu upgrade, missing PERL modules that cannot be reinstalled from CPAN.
ERROR — PERL EXECUTION FAILED
Can’t locate Template.pm in @INC (you may need to install the Template module)
Can’t locate YAML/Syck.pm in @INC …
Can’t locate LWP.pm in @INC …
Also, re-running the CWAF installer script, but does not install the missing modules, as I assume it is an old version.
I got some great help here in the past THX to @Ilia I’d love to have a similar one now
@Ilia Hi Sir,
You solved not too long ago, the Comodo WAF and Authentic Theme issue, THX again
Today I installed (CWAF) on a VPS where we have activated Virtualmin PRO subscription.
The problem still persists, but only under PRO, as the GPL lic. VPSs continue to work as expected.
Can there be a difference between PRO and GPL regarding the CWAF issue?
I’ll show you a couple of PRTSCs, pls. note the CWAF installation itself and the mod_sec ruleset works fine, just no management module un…
CWAF:
PERL 5.34:
CWAF .sh out:
PERL 5.30 (on another installation which is 20.04):
BTW:
Can’t locate LWP.pm in @INC (you may need to install the LWP module) (@INC contains: /usr
LWP is also missing, but can be solved by…
perl -MCPAN -e ‘install LWP::UserAgent::Cached’
Thanks in advance.
cwaf_install.log.zip (2.9 KB)
Ilia
December 4, 2022, 12:46pm
2
Do not build anything on production system! Those could be simply installed from package repositories:
apt-get install libyaml-syck-perl libtemplate-perl libwww-perl
2 Likes
No it is not yet a production environment, but it is still handled with care. (if all goes well for a few days, it will be again)
Just testing on 22.04 here and Ubuntu PRO with ESM.
All went well it’s only issue was that it broke the PERL packages with the “do-release-upgrade”
We’d rather ask than get in trouble, thanks for your quick help again @Ilia
system
Closed
February 3, 2023, 1:36pm
4
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.