Getting error while trying to access cpanel

mak_the_admin

Member
Aug 10, 2007
23
0
51
Hello,

Getting below error while trying to access cpanel.

-------------------------------------------------------------------------
not a reference at /usr/local/cpanel/Cpanel/DIp/MainIP.pm line 198
Carp::croak('not a reference') called at /usr/lib/perl5/site_perl/5.6.2/i686-linux/Storable.pm line 76
Storable::logcroak('not a reference') called at /usr/lib/perl5/site_perl/5.6.2/i686-linux/Storable.pm line 244
Storable::_store('CODE(0x8f555fc)', undef, '/home/user/.cpanel/datastore/all_iplist.db', 0) called at /usr/lib/perl5/site_perl/5.6.2/i686-linux/Storable.pm line 218
Storable::nstore(undef, '/home/user/.cpanel/datastore/all_iplist.db') called at /usr/local/cpanel/Cpanel/DIp/MainIP.pm line 198
Cpanel::DIp::MainIP::getconfiguredips() called at /usr/local/cpanel/Cpanel/DIp/MainIP.pm line 39
Cpanel::DIp::MainIP::getmainip() called at /usr/local/cpanel/Cpanel/DIp.pm line 38
Cpanel::DIp::isdedicatedip(208.87.242.171) called at /usr/local/cpanel/Cpanel/ExpVar.pm line 398
Cpanel::ExpVar::hasdedicatedip() called at /usr/local/cpanel/Cpanel/ExpVar.pm line 277
Cpanel::ExpVar::expvar('$hasdedicatedip') called at cpanel line 1416
main::execiftag('<cpanelif $hasdedicatedip>') called at cpanel line 4014
main::dotag_finished_headers('<cpanelif $hasdedicatedip>', 0) called at cpanel line 3869
main::cpanel_parseblock('<cpanel setvar="brandingmg=1">^J<cpanel include="stdheader.html">...') called at cpanel line 3815
main::cpanel_parse('GLOB(0x8f66b38)') called at cpanel line 5293
main::run_standard_mode() called at cpanel line 387
-------------------------------------------------------------------------

Please update if any solution asap.

Thank you.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Hello,

Getting below error while trying to access cpanel.

-------------------------------------------------------------------------
not a reference at /usr/local/cpanel/Cpanel/DIp/MainIP.pm line 198
Carp::croak('not a reference') called at /usr/lib/perl5/site_perl/5.6.2/i686-linux/Storable.pm line 76
Storable::logcroak('not a reference') called at /usr/lib/perl5/site_perl/5.6.2/i686-linux/Storable.pm line 244
Storable::_store('CODE(0x8f555fc)', undef, '/home/user/.cpanel/datastore/all_iplist.db', 0) called at /usr/lib/perl5/site_perl/5.6.2/i686-linux/Storable.pm line 218
Storable::nstore(undef, '/home/user/.cpanel/datastore/all_iplist.db') called at /usr/local/cpanel/Cpanel/DIp/MainIP.pm line 198
Cpanel::DIp::MainIP::getconfiguredips() called at /usr/local/cpanel/Cpanel/DIp/MainIP.pm line 39
Cpanel::DIp::MainIP::getmainip() called at /usr/local/cpanel/Cpanel/DIp.pm line 38
Cpanel::DIp::isdedicatedip(208.87.242.171) called at /usr/local/cpanel/Cpanel/ExpVar.pm line 398
Cpanel::ExpVar::hasdedicatedip() called at /usr/local/cpanel/Cpanel/ExpVar.pm line 277
Cpanel::ExpVar::expvar('$hasdedicatedip') called at cpanel line 1416
main::execiftag('<cpanelif $hasdedicatedip>') called at cpanel line 4014
main::dotag_finished_headers('<cpanelif $hasdedicatedip>', 0) called at cpanel line 3869
main::cpanel_parseblock('<cpanel setvar="brandingmg=1">^J<cpanel include="stdheader.html">...') called at cpanel line 3815
main::cpanel_parse('GLOB(0x8f66b38)') called at cpanel line 5293
main::run_standard_mode() called at cpanel line 387
-------------------------------------------------------------------------

Please update if any solution asap.

Thank you.
I believe this will be handled best by allowing us to investigate directly via a support request where we may assist with inspecting the surrounding details involved and properly diagnose the issue; the links in my forums signature may be used to initiate a ticket submission. When available, please let me know the ticket ID number (e.g, via a PM) so I may follow-up internally.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Below is the version am using
cPanel 11.25.0-R42404 - WHM 11.25.0 - X 3.9

Thanks.
Please first upgrade to the most recent build; this will ensure you receive the latest fixes and it will help greatly to rule-out any issues that have since been corrected.

I recommend using the following command, via root SSH access, to perform the update to ensure consistency in the cPanel installation:
Code:
# /scripts/upcp --force
For reference, the latest version and build information is available via the following resources:
cPanel Downloads - Latest cPanel/WHM Builds
cPanel Change Log
cPanel Release Notes