Can’t locate cPstrict.pm in @INC
-
Hi,
I am out of a sudden on a single website and single cPanel account receiving the following daily error. I am triggering wp-cron.php via server cron. This all works just fine. The backups are also completed and uploaded to an external cloud storage provider. The error is sent exactly when the Updraft backup runs and there is also an indication that its connected to Updraft.
Can’t locate cPstrict.pm in @inc
Can't locate cPstrict.pm in @INC (you may need to install the cPstrict module) (@INC contains: /usr/local/cpanel /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux /usr/local/cpanel/3rdparty/perl/536/cpanel-lib /usr/local/cpanel/3rdparty/perl/536/lib/x86_64-linux /usr/local/cpanel/3rdparty/perl/536/lib /opt/cpanel/perl5/536/site_lib/x86_64-linux /opt/cpanel/perl5/536/site_lib) at /usr/local/cpanel/Cpanel/Quota.pm line 8.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Quota.pm line 8.
Compilation failed in require at /home/userfolder/public_html/wp-content/plugins/updraftplus/includes/get-cpanel-quota-usage.pl line 9.
BEGIN failed--compilation aborted at /home/userfolder/public_html/wp-content/plugins/updraftplus/includes/get-cpanel-quota-usage.pl line 9.My hosting provider is not caring at all about this – they always push it back to me or to blame others, but that is also their usual behavior which is the worst.
Someone else posted this long time ago https://www.ads-software.com/support/topic/cant-locate-cpstrict-pm-in-inc/
The suggestion was to follow this https://docs.cpanel.net/knowledge-base/general-systems-administration/perl-module-installation/
I don’t have permissions for all of this. I only can try to install cPstrict.pm via Perl Modules in cPanel which leads to another issue. When I try myself to install the Perl Module cPstrict.pm (no idea what I am doing here but no support from the hosting company) then I get the following.
I assume the following is not an Updraft topic, but if Updraft is the source of it, I wouldn’t need to get into the discussions with the hosting provider. I wonder why would this happen on a single site? Out of the blue when it works with every other site on every hosting provider just fine.
Ping:1.044162 (ticks) Testing connection speed to www.cpan.org using pureperl...(cached .. 514435.97 bytes/s)...Done
Ping:1.017423 (ticks) Testing connection speed to 103.163.138.20 using pureperl...(using cached speed)...Done
Ping:1.037425 (ticks) Testing connection speed to 184.94.196.93 using pureperl...(using cached speed)...Done
Ping:1.031302 (ticks) Testing connection speed to 103.48.119.120 using pureperl...(using cached speed)...Done
Three usable fallback mirrors located
Fetching https://www.cpan.org/index.html (connected:0).......(request attempt 1/12)...Resolving www.cpan.org...(resolve attempt 1/65)[email protected] success......Done
Mirror Check passed for www.cpan.org (/index.html)
Checking C compiler....Could not locate an executable "gcc" binary....Done
** Unrecoverable Error **
The C compiler is not functional and auto repair failed.
Perl module installs require a working C compiler.
Please repair the C compiler and try again.Any additional information about this?
- You must be logged in to reply to this topic.