Symptoms
When a server is running CloudLinux with CageFS enabled for the user, when the user enables BoxTrapper in the cPanel account, the link in the verification email returns a blank page instead of a successful validation.
Cause
This is due to a file needed for BoxTrapper not included in the /etc/cagefs/cagefs.mp file that is used to complete the verification.
CONFIG_TEXT: Can't locate cPstrict.pm in @INC (you may need to install the cPstrict module) (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532 /opt/cpanel/perl5/532/site_lib/x86_64-linux-64int /opt/cpanel/perl5/532/site_lib) at /usr/local/cpanel/Cpanel/Server/Type/Role/EnabledCache.pm line 8.
We've opened an internal case for our development team to track this further while this is looked into at CloudLinux. For reference, the case number is UPS-359. Follow this article to receive an email notification when a solution is published in the product.
Resolution
Add the following line to /etc/cagefs/cagefs.mp:
CONFIG_TEXT: /usr/local/cpanel/
and run:
# cagefsctl -M
When the directory is mounted into CageFS and /usr/local/cpanel/cPstrict.pm is accessible, the verifications will complete.
Comments
0 comments
Article is closed for comments.