Can't locate GDBM_File.pm in @INC error

xxkylexx

Well-Known Member
Apr 29, 2006
57
0
156
Hey guys,
I own a server that I run a single website on with cPanel/WHM. I haven't touched anything on this server in months, yet today when I log into cPanel I am now getting this message under the Stats tab:

Can't locate GDBM_File.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/perl /usr/local/cpanel/Cpanel/CPAN/overload/__Digest /usr/local/cpanel/build-tools/stubs /usr/lib/perl5/5.6.2/x86_64-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/x86_64-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 14.
Cpanel::Locale::Utils::BEGIN() called at GDBM_File.pm line 14
eval {...} called at GDBM_File.pm line 14
require Cpanel/Locale/Utils.pm called at /usr/local/cpanel/Cpanel/Locale.pm line 15
Cpanel::Locale::BEGIN() called at GDBM_File.pm line 14
eval {...} called at GDBM_File.pm line 14
require Cpanel/Locale.pm called at /usr/local/cpanel/Cpanel/StatsBar.pm line 11
Cpanel::StatsBar::BEGIN() called at GDBM_File.pm line 14
eval {...} called at GDBM_File.pm line 14
require Cpanel/StatsBar.pm called at (eval 71) line 1
main::BEGIN() called at GDBM_File.pm line 14
eval {...} called at GDBM_File.pm line 14
eval 'use Cpanel::StatsBar ();' called at cpanel.pl line 4974
main::modloader('StatsBar') called at /usr/local/cpanel/Cpanel/LoadModule.pm line 10
Cpanel::LoadModule::loadmodule('StatsBar') called at cpanel.pl line 4982
main::api2_preexec('StatsBar', 'rowcounter') called at cpanel.pl line 1451
main::cpexectag('<?cp StatsBar::rowcounter(%,rowtype) rowcounter=mainstats ?>') called at cpanel.pl line 4808
main::dotag(undef) called at cpanel.pl line 4691
main::cpanel_parseblock('SCALAR(0x2af16a9fbcb0)') called at cpanel.pl line 4643
main::cpanel_parse('GLOB(0x157051e0)') called at cpanel.pl line 2878
main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//index.html', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 95
Cpanel::Branding::Branding_include('index.html') called at (eval 7) line 1
eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel.pl line 1660
main::exectag('<cpanel Branding="include(index.html)">') called at cpanel.pl line 4808
main::dotag(undef) called at cpanel.pl line 4691
main::cpanel_parseblock('SCALAR(0x2089180)') called at cpanel.pl line 4643
main::cpanel_parse('GLOB(0x15765890)') called at cpanel.pl line 1318

[a fatal error or timeout occurred while processing this directive]
Can't locate GDBM_File.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/perl /usr/local/cpanel/Cpanel/CPAN/overload/__Digest /usr/local/cpanel/build-tools/stubs /usr/lib/perl5/5.6.2/x86_64-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/x86_64-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 14. BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 14. Compilation failed in require at /usr/local/cpanel/Cpanel/Locale.pm line 15. Cpanel::Locale::BEGIN() called at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 15 eval {...} called at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 15 require Cpanel/Locale.pm called at /usr/local/cpanel/Cpanel/StatsBar.pm line 11 Cpanel::StatsBar::BEGIN() called at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 15 eval {...} called at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 15 require Cpanel/StatsBar.pm called at (eval 71) line 1 main::BEGIN() called at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 15 eval {...} called at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 15 eval 'use Cpanel::StatsBar ();' called at cpanel.pl line 4974 main::modloader('StatsBar') called at /usr/local/cpanel/Cpanel/LoadModule.pm line 10 Cpanel::LoadModule::loadmodule('StatsBar') called at cpanel.pl line 4982 main::api2_preexec('StatsBar', 'rowcounter') called at cpanel.pl line 1451 main::cpexectag('<?cp StatsBar::rowcounter(%,rowtype) rowcounter=mainstats ?>') called at cpanel.pl line 4808 main::dotag(undef) called at cpanel.pl line 4691 main::cpanel_parseblock('SCALAR(0x2af16a9fbcb0)') called at cpanel.pl line 4643 main::cpanel_parse('GLOB(0x157051e0)') called at cpanel.pl line 2878 main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//index.html', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 95 Cpanel::Branding::Branding_include('index.html') called at (eval 7) line 1 eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel.pl line 1660 main::exectag('<cpanel Branding="include(index.html)">') called at cpanel.pl line 4808 main::dotag(undef) called at cpanel.pl line 4691 main::cpanel_parseblock('SCALAR(0x2089180)') called at cpanel.pl line 4643 main::cpanel_parse('GLOB(0x15765890)') called at cpanel.pl line 1318
[a fatal error or timeout occurred while processing this directive]
Can't locate GDBM_File.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/perl /usr/local/cpanel/Cpanel/CPAN/overload/__Digest /usr/local/cpanel/build-tools/stubs /usr/lib/perl5/5.6.2/x86_64-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/x86_64-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 14. BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 14. Compilation failed in require at /usr/local/cpanel/Cpanel/Locale.pm line 15. BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Locale.pm line 15. Compilation failed in require at /usr/local/cpanel/Cpanel/StatsBar.pm line 11. Cpanel::StatsBar::BEGIN() called at /usr/local/cpanel/Cpanel/Locale.pm line 11 eval {...} called at /usr/local/cpanel/Cpanel/Locale.pm line 11 require Cpanel/StatsBar.pm called at (eval 71) line 1 main::BEGIN() called at /usr/local/cpanel/Cpanel/Locale.pm line 11 eval {...} called at /usr/local/cpanel/Cpanel/Locale.pm line 11 eval 'use Cpanel::StatsBar ();' called at cpanel.pl line 4974 main::modloader('StatsBar') called at /usr/local/cpanel/Cpanel/LoadModule.pm line 10 Cpanel::LoadModule::loadmodule('StatsBar') called at cpanel.pl line 4982 main::api2_preexec('StatsBar', 'rowcounter') called at cpanel.pl line 1451 main::cpexectag('<?cp StatsBar::rowcounter(%,rowtype) rowcounter=mainstats ?>') called at cpanel.pl line 4808 main::dotag(undef) called at cpanel.pl line 4691 main::cpanel_parseblock('SCALAR(0x2af16a9fbcb0)') called at cpanel.pl line 4643 main::cpanel_parse('GLOB(0x157051e0)') called at cpanel.pl line 2878 main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//index.html', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 95 Cpanel::Branding::Branding_include('index.html') called at (eval 7) line 1 eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel.pl line 1660 main::exectag('<cpanel Branding="include(index.html)">') called at cpanel.pl line 4808 main::dotag(undef) called at cpanel.pl line 4691 main::cpanel_parseblock('SCALAR(0x2089180)') called at cpanel.pl line 4643 main::cpanel_parse('GLOB(0x15765890)') called at cpanel.pl line 1318
[a fatal error or timeout occurred while processing this directive]
Can't locate GDBM_File.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/perl /usr/local/cpanel/Cpanel/CPAN/overload/__Digest /usr/local/cpanel/build-tools/stubs /usr/lib/perl5/5.6.2/x86_64-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/x86_64-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 14. BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 14. Compilation failed in require at /usr/local/cpanel/Cpanel/Locale.pm line 15. BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Locale.pm line 15. Compilation failed in require at /usr/local/cpanel/Cpanel/StatsBar.pm line 11. BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/StatsBar.pm line 11. Compilation failed in require at (eval 71) line 1. main::BEGIN() called at /usr/local/cpanel/Cpanel/StatsBar.pm line 1 eval {...} called at /usr/local/cpanel/Cpanel/StatsBar.pm line 1 eval 'use Cpanel::StatsBar ();' called at cpanel.pl line 4974 main::modloader('StatsBar') called at /usr/local/cpanel/Cpanel/LoadModule.pm line 10 Cpanel::LoadModule::loadmodule('StatsBar') called at cpanel.pl line 4982 main::api2_preexec('StatsBar', 'rowcounter') called at cpanel.pl line 1451 main::cpexectag('<?cp StatsBar::rowcounter(%,rowtype) rowcounter=mainstats ?>') called at cpanel.pl line 4808 main::dotag(undef) called at cpanel.pl line 4691 main::cpanel_parseblock('SCALAR(0x2af16a9fbcb0)') called at cpanel.pl line 4643 main::cpanel_parse('GLOB(0x157051e0)') called at cpanel.pl line 2878 main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//index.html', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 95 Cpanel::Branding::Branding_include('index.html') called at (eval 7) line 1 eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel.pl line 1660 main::exectag('<cpanel Branding="include(index.html)">') called at cpanel.pl line 4808 main::dotag(undef) called at cpanel.pl line 4691 main::cpanel_parseblock('SCALAR(0x2089180)') called at cpanel.pl line 4643 main::cpanel_parse('GLOB(0x15765890)') called at cpanel.pl line 1318
[a fatal error or timeout occurred while processing this directive]">

I did some googling and found this PDF:
http://docs.cpanel.net/twiki/pub/AllDocumentation/ReleaseNotes/1125releasenotes.pdf

which suggested executing the following to fix the problem:

/scripts/checkperlmodules
Yet this didn't seem to help. Any ideas what's going on? Thanks!
 
Last edited:

xxkylexx

Well-Known Member
Apr 29, 2006
57
0
156
Ran the following, but the problem still persists:

[email protected] [~]# /scripts/perlinstaller gdbm_file
Method: Perl Expect
Testing connection speed...(using fast method)...Done
Ping:0 (ticks) Testing connection speed to mirror.uta.edu using pureperl...(107066.67 bytes/s)...Done
Ping:3 (ticks) Testing connection speed to cpan.netnitco.net using pureperl...(78575.00 bytes/s)...Done
Ping:3 (ticks) Testing connection speed to mirror.candidhosting.com using pureperl...(28772.73 bytes/s)...Done
Three usable mirrors located
Mirror Check passed for mirror.uta.edu (/index.html)
Unknown config variable 'links'
commit: wrote '/usr/lib/perl5/5.8.8/CPAN/Config.pm'
CPAN: Storable loaded ok (v2.21)
Going to read /home/.cpan/Metadata
Database was generated on Fri, 18 Dec 2009 22:43:10 GMT
Warning: Cannot install gdbm_file, don't know what it is.
Try the command

i /gdbm_file/

to find objects with matching identifiers.
CPAN: Time::HiRes loaded ok (v1.9719)
perlmod--Install done
[email protected] [~]#
Looks like it doesn't know what that module is or something.
 

Antifreeze

Member
Jul 28, 2007
12
0
51
I had exactly the same problem and symptoms, and the suggested solutions didn't work either.

However, in my WHM software settings, I noticed I had cpanel to update as 'automatic' (and it
had updated to 11.25.0), whilst WHM was on manual update (and was still on 11.24.2).

Updating WHM to 11.25.0-RELEASE (the same version as cpanel) solved the problem.

In the top right of WHM I now have: cPanel 11.25.0-R42213 - WHM 11.25.0 - X 3.9

Hope this helps.
 
Last edited:

xxkylexx

Well-Known Member
Apr 29, 2006
57
0
156
I had exactly the same problem and symptoms, and the suggested solutions didn't work either.

However, in my WHM software settings, I noticed I had cpanel to update as 'automatic' (and it
had updated to 11.25.0), whilst WHM was on manual update (and was still on 11.24.2).

Updating WHM to 11.25.0-RELEASE (the same version as cpanel) solved the problem.

In the top right of WHM I now have: cPanel 11.25.0-R42213 - WHM 11.25.0 - X 3.9

Hope this helps.
Thanks. That was exactly the problem with the exact solution :)

Merry Christmas!