Portal Home > Knowledgebase > Articles Database > Strange things on every Cpanel account :(


Strange things on every Cpanel account :(




Posted by minim, 03-08-2010, 06:24 AM
Hello, I could see some strange errors on every cPanel account and I am unable to login to newly created cPanel account also. Is there any fix for this error ? I have pasted Below the errors shown on every cpanel account. Error displayed at the logout screen and Top of every cpanel: --------------------------------------------------------------------------------------------------- Goto undefined subroutine &Cpanel::Reseller::hasresellerpriv at /usr/local/cpanel/Cpanel/ResellerFunctions/Privs.pm line 6. Cpanel::ResellerFunctions:rivs::hasresellerpriv( 'gardento', 'all') called at /usr/local/cpanel/Cpanel/Resellers.pm line 25 Cpanel::Resellers::Resellers_accountlistopt() called at (eval 69) line 1 eval 'Cpanel::Resellers::Resellers_accountlistopt(@{$ar gref});' called at cpanel.pl line 1660 main::exectag('') called at cpanel.pl line 4808 main::dotag(undef) called at cpanel.pl line 4691 main::cpanel_parseblock('SCALAR(0x9930b2c)') called at cpanel.pl line 4643 main::cpanel_parse('GLOB(0x950308c)') 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('') called at cpanel.pl line 4808 main::dotag(undef) called at cpanel.pl line 4691 main::cpanel_parseblock('SCALAR(0x9196a80)') called at cpanel.pl line 4643 main::cpanel_parse('GLOB(0x94c0928)') called at cpanel.pl line 1318 Error displayed at the Stats of every cpanel account: ---------------------------------------------------------------------------- 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/i686-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/i686-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:tatsBar::BEGIN() called at GDBM_File.pm line 14 eval {...} called at GDBM_File.pm line 14 require Cpanel/StatsBar.pm called at (eval 74) line 1 main::BEGIN() called at GDBM_File.pm line 14 eval {...} called at GDBM_File.pm line 14 eval 'use Cpanel:tatsBar ();' 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('') called at cpanel.pl line 4808 main::dotag(undef) called at cpanel.pl line 4691 main::cpanel_parseblock('SCALAR(0x9930b2c)') called at cpanel.pl line 4643 main::cpanel_parse('GLOB(0x950308c)') 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('') called at cpanel.pl line 4808 main::dotag(undef) called at cpanel.pl line 4691 main::cpanel_parseblock('SCALAR(0x9196a80)') called at cpanel.pl line 4643 main::cpanel_parse('GLOB(0x94c0928)') called at cpanel.pl line 1318 Pls help !!!! Waiting for the replies !!!!! Thanks in advance

Posted by erectvps, 03-08-2010, 06:27 AM
Looks like a broken cPAnel install. Try running /scripts/upcp --force as a fiart thing

Posted by Johnny Cache, 03-08-2010, 06:29 AM
Maybe change your WHM to stop reporting errors in cPanel and output them to a logfile instead. This is under "Tweak Settings" in WHM - I would still open a ticket with the cPanel folks, but at least your customers won't see the error while you're working on it. Also /scripts/upcp --force might fix. Good luck, -John

Posted by Johnny Cache, 03-08-2010, 06:31 AM
Wow, talk about good timing! You must have been reading my mind. Let us know how /upcp --force works for you. This happened to me once in the past, and that fixed it.

Posted by minim, 03-08-2010, 07:25 AM
Thanks guys I have tried once updating WHM/cPanel via frontend. But still facing the issue. Pls Note: cPanel 11.24.5 - WHM 11.24.2 What should be done !!!!!

Posted by bear, 03-08-2010, 07:54 AM
According to this post on Cpanel's forum, that might be related to the issue. http://forums.cpanel.net/604689-post5.html

Posted by sharmaine1111, 03-08-2010, 11:14 AM
Try reinstalling perl modules

Posted by minim, 03-08-2010, 11:17 AM
Thanks guys Let me try with this.

Posted by MOO-Dave, 03-08-2010, 05:24 PM
Few things to try. for i in $(cat /etc/passwd | awk '{ print $1 }' FS=":"); do SHDW=`grep $i /etc/shadow`; if [ -z "$SHDW" ]; then echo "$i is missing from /etc/shadow"; fi; done if you have no o/p Then remove the branding directory under your reseller home dir and do an upcp --force and finally Try increasing the cpanel memory limit in your tweak settings.

Posted by minim, 03-09-2010, 12:04 AM
Hello guys, After I update cPanel and if problem comes in various sites. Is it possible to roll back WHM/cPanel to previous version? If so, How ?? Thanks in advance

Posted by minim, 03-09-2010, 12:16 AM
Hello guys, I have not yet tried /scripts/upcp --force on my server. Before proceeding with this, I would like to know if any issues will arise due to upcp. Will the WHM/cPanel update to 11.25 ?? or Will the broken cPanel installation be corrected ?? Issues will arise after /scripts/upcp on my server??? Thanks in advance

Posted by minim, 03-09-2010, 07:48 AM
All the issues fixed by updating Cpanel/Whm to the latest stable version. Thanks guys

Posted by ksv2nash, 03-09-2010, 10:40 AM
Hello, If you have cpanel version +11. then need to check Make sure you're running Perl 5.8.8 for that check perl -v to make sure it says 5.8.8 and if you see 5.8.7 or something else then need to install perl



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read