Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cpanel stats showing not a reference error

Discussion in 'General Discussion' started by B12Org, Aug 31, 2010.

  1. B12Org

    B12Org Well-Known Member

    Joined:
    Jul 15, 2003
    Messages:
    692
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Seattle Washington
    cPanel Access Level:
    Root Administrator
    when I log into cpanel and click on "expand stats" I get this

    Code:
    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/x86_64-linux/Storable.pm line 76
    	Storable::logcroak('not a reference') called at /usr/lib/perl5/site_perl/5.6.2/x86_64-linux/Storable.pm line 244
    	Storable::_store('CODE(0x5b39950)', undef, '/home/newtest/.cpanel/datastore/all_iplist.db', 0) called at /usr/lib/perl5/site_perl/5.6.2/x86_64-linux/Storable.pm line 218
    	Storable::nstore(undef, '/home/newtest/.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(10.11.28.102) called at /usr/local/cpanel/Cpanel/ExpVar.pm line 398
    	Cpanel::ExpVar::hasdedicatedip() called at /usr/local/cpanel/Cpanel/StatsBar.pm line 66
    	Cpanel::StatsBar::api2_stat('rowcounter', 'mainstats', 'display', 'hostingpackage|shorthostname|cpanelversion|cpanelrevision|theme|...') called at (eval 85) line 1
    	eval '$dataref = [Cpanel::StatsBar::api2_stat(%{$rCFG})];' called at cpanel line 4218
    	main::api2_exec('StatsBar', 'stat', 'HASH(0x6197f80)', 'HASH(0x61877a0)') called at cpanel line 553
    	main::real_cpexectag('<?cp StatsBar::stat(^J[tr class="row-%"]^J    [td class="stats_lef...') called at cpanel line 4021
    	main::dotag_finished_headers('<?cp StatsBar::stat(^J[tr class="row-%"]^J    [td class="stats_lef...', 0) called at cpanel line 3867
    	main::cpanel_parseblock('<table width="100%" id="stats_extended" class="truncate-table" c...') called at cpanel line 3842
    	main::cpanel_parse('GLOB(0x61e8330)') called at cpanel line 2157
    	main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//extended_statsbar.h...', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 48
    	Cpanel::Branding::Branding_include('extended_statsbar.html') called at (eval 78) line 1
    	eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel line 949
    	main::real_exectag('<?cp StatsBar::stat(^J[tr class="row-%"]^J    [td class="stats_lef...') called at cpanel line 4015
    	main::dotag_finished_headers('<?cp StatsBar::stat(^J[tr class="row-%"]^J    [td class="stats_lef...', 0) called at cpanel line 3867
    	main::cpanel_parseblock('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "...') called at cpanel line 3842
    	main::cpanel_parse('GLOB(0x5d9b1c0)') called at cpanel line 2157
    	main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//index.html', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 48
    	Cpanel::Branding::Branding_include('index.html') called at (eval 5) line 1
    	eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel line 949
    	main::real_exectag('<?cp StatsBar::stat(^J[tr class="row-%"]^J    [td class="stats_lef...') called at cpanel line 4015
    	main::dotag_finished_headers('<?cp StatsBar::stat(^J[tr class="row-%"]^J    [td class="stats_lef...', 0) called at cpanel line 3898
    	main::cpanel_parseblock('<cpanel Branding="include(index.html)">^J') called at cpanel line 3842
    	main::cpanel_parse('GLOB(0x5bb8d90)') called at cpanel line 5331
    	main::run_standard_mode() called at cpanel line 387
    
    if I refresh the page the stats are still expanded but it says

    [a fatal error or timeout occurred while processing this directive]

    This is between the "Disk Space Usage" and "SQL Databases" nodes




    The cpanel error log contains this

    Code:
    [2010-08-31 13:36:03 -0700] warn [cpanel] Unable to retrieve disk usage information. at /usr/local/cpanel/Cpanel/Filesys.pm line 63
            Cpanel::Filesys::disk_space_check('/', 1) called at cpanel line 311
    [2010-08-31 13:36:03 -0700] die [Internal Death while parsing /usr/local/cpanel/base/frontend/x3/branding//extended_statsbar.html 21199] 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/x86_64-linux/Storable.pm line 76
            Storable::logcroak('not a reference') called at /usr/lib/perl5/site_perl/5.6.2/x86_64-linux/Storable.pm line 244
            Storable::_store('CODE(0x17802950)', undef, '/home/newtest/.cpanel/datastore/all_iplist.db', 0) called at /usr/lib/perl5/site_perl/5.6.2/x86_64-linux/Storable.pm line 218
            Storable::nstore(undef, '/home/newtest/.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(10.11.28.102) called at /usr/local/cpanel/Cpanel/ExpVar.pm line 398
            Cpanel::ExpVar::hasdedicatedip() called at /usr/local/cpanel/Cpanel/StatsBar.pm line 66
            Cpanel::StatsBar::api2_stat('rowcounter', 'mainstats', 'display', 'hostingpackage|shorthostname|cpanelversion|cpanelrevision|theme|...') called at (eval 85) line 1
            eval '$dataref = [Cpanel::StatsBar::api2_stat(%{$rCFG})];' called at cpanel line 4218
            main::api2_exec('StatsBar', 'stat', 'HASH(0x17e60f70)', 'HASH(0x17e50790)') called at cpanel line 553
            main::real_cpexectag('<?cp StatsBar::stat(^J[tr class="row-%"]^J    [td class="stats_lef...') called at cpanel line 4021
            main::dotag_finished_headers('<?cp StatsBar::stat(^J[tr class="row-%"]^J    [td class="stats_lef...', 0) called at cpanel line 3867
            main::cpanel_parseblock('<table width="100%" id="stats_extended" class="truncate-table" c...') called at cpanel line 3842
            main::cpanel_parse('GLOB(0x17eb1320)') called at cpanel line 2157
            main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//extended_statsbar.h...', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 48
            Cpanel::Branding::Branding_include('extended_statsbar.html') called at (eval 78) line 1
            eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel line 949
            main::real_exectag('<?cp StatsBar::stat(^J[tr class="row-%"]^J    [td class="stats_lef...') called at cpanel line 4015
            main::dotag_finished_headers('<?cp StatsBar::stat(^J[tr class="row-%"]^J    [td class="stats_lef...', 0) called at cpanel line 3867
            main::cpanel_parseblock('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "...') called at cpanel line 3842
            main::cpanel_parse('GLOB(0x17a641c0)') called at cpanel line 2157
            main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//index.html', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 48
            Cpanel::Branding::Branding_include('index.html') called at (eval 5) line 1
            eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel line 949
            main::real_exectag('<?cp StatsBar::stat(^J[tr class="row-%"]^J    [td class="stats_lef...') called at cpanel line 4015
            main::dotag_finished_headers('<?cp StatsBar::stat(^J[tr class="row-%"]^J    [td class="stats_lef...', 0) called at cpanel line 3898
            main::cpanel_parseblock('<cpanel Branding="include(index.html)">^J') called at cpanel line 3842
            main::cpanel_parse('GLOB(0x17881d90)') called at cpanel line 5331
            main::run_standard_mode() called at cpanel line 387
    
    
    [2010-08-31 13:36:03 -0700] warn [cpanel] Unable to run [Cpanel::StatsBar::api2_stat(2/8)]; No such file or directory at cpanel line 4224
            main::api2_exec('StatsBar', 'stat', HASH(0x17e60f70), HASH(0x17e50790)) called at cpanel line 553
            main::real_cpexectag('<?cp StatsBar::stat(\x0A[tr class="row-%"]\x0A    [td class="stats_left"]%[/td]\x0A    [td class="stats_right"]%[/td]\x0A[/tr]\x0A,rowtype,item,value) display=hostingpackage|shorthostname|cpanelversion|cpanelrevision|theme|apacheversion|phpversion|mysqlversion|machinetype|operatingsystem|sharedip|dedicatedip|sendmailpath|perlpath|kernelversion,rowcounter=$CPVAR{\'rowcounter\'} ?>') called at cpanel line 4021
            main::dotag_finished_headers('<?cp StatsBar::stat(\x0A[tr class="row-%"]\x0A    [td class="stats_left"]%[/td]\x0A    [td class="stats_right"]%[/td]\x0A[/tr]\x0A,rowtype,item,value) display=hostingpackage|shorthostname|cpanelversion|cpanelrevision|theme|apacheversion|phpversion|mysqlversion|machinetype|operatingsystem|sharedip|dedicatedip|sendmailpath|perlpath|kernelversion,rowcounter=$CPVAR{\'rowcounter\'} ?>', 0) called at cpanel line 3867
            main::cpanel_parseblock('<table width="100%" id="stats_extended" class="truncate-table" cellpadding="0" cellspacing="0">\x0A\x0A<cpanelif $FORM{\'rowcountervalue\'}>\x0A    <cpanel setvar="rowcountervalue=$FORM{\'rowcountervalue\'}">\x0A</cpanelif>\x0A<cpanelif $FORM{\'rowcounter\'}>\x0A    <cpanel setvar="rowcounter=$FORM{\'rowcounter\'}">\x0A</cpanelif>\x0A\x0A\x0A<?cp StatsBar::setrowcounter(,) rowcounter=$CPVAR{\'rowcounter\'},rowcountervalue=$CPVAR{\'rowcountervalue\'} ?> \x0A<cpanelif $CPVAR{\'mailonlytheme\'}>\x0A    <?cp StatsBar::stat(\x0A    [tr class="row-%"]\x0A        [td class="stats_left"]%[/td]\x0A        [td class="stats_right"]\x0A            % / %[br /]\x0A            [div class="stats_progress_bar"]\x0A                [div class="cpanel_widget_progress_bar_percent" style="display\\{colon}none"]%[/div]\x0A            [/div]\x0A        [/td]\x0A    [/tr]\x0A    ,rowtype,item,count,max,percent) display=emailac_counts|mailinglists|autoresponders|emailforwarders,infinitylang=true,rowcounter=$CPVAR{\'rowcounter\'} ?>\x0A</cpanelif>\x0A\x0A<cpanelif !$CPVAR{\'mailonlytheme\'}>\x0A    <?cp StatsBar::stat(\x0A    [tr class="row-%"]\x0A        [td class="stats_left"]%[/td]\x0A        [td class="stats_right"]\x0A            % / %[br /]\x0A            [div class="stats_progress_bar"]\x0A                [div class="cpanel_widget_progress_bar_percent" style="display\\{colon}none"]%[/div]\x0A            [/div]\x0A        [/td]\x0A    [/tr]\x0A    ,rowtype,item,count,max,percent) display=emailac_counts|subdomains|parkeddomains|addondomains|ftpaccounts|sqldatabases|mailinglists,infinitylang=true,rowcounter=$CPVAR{\'rowcounter\'} ?>\x0A</cpanelif>\x0A\x0A<cpanelif $CONF{\'disk_usage_include_sqldbs\'}>\x0A<?cp StatsBar::stat(\x0A[tr class="row-%"]\x0A    [td class="stats_left"]%[/td]\x0A    [td class="stats_right"]% MB[/td]\x0A[/tr]\x0A,rowtype,item,count) display=cachedmysqldiskusage|cachedpostgresdiskusage,rowcounter=$CPVAR{\'rowcounter\'} ?>\x0A</cpanelif>\x0A\x0A<?cp StatsBar::stat(\x0A[tr class="row-%"]\x0A    [td class="stats_left"]%[/td]\x0A    [td class="stats_right"]%[/td]\x0A[/tr]\x0A,rowtype,item,value) display=hostingpackage|shorthostname|cpanelversion|cpanelrevision|theme|apacheversion|phpversion|mysqlversion|machinetype|operatingsystem|sharedip|dedicatedip|sendmailpath|perlpath|kernelversion,rowcounter=$CPVAR{\'rowcounter\'} ?>\x0A\x0A<cpanelif $CPFLAGS{\'pro\'}>\x0A    <tr class="row-<?cp StatsBar::rowcounter(%,rowtype) rowcounter=$CPVAR{\'rowcounter\'} ?>">\x0A        <td class="stats_left"><cpanel langprint="cPanelPro"></td>\x0A        <td class="stats_right"><cpanel relrawinclude="cpanelpro/version">&nbsp;</td>\x0A    </tr>\x0A</cpanelif>\x0A\x0A<cpanelfeature serverstatus>\x0A    <tr class="row-<?cp StatsBar::rowcounter(%,rowtype) rowcounter=$CPVAR{\'rowcounter\'} ?>">\x0A        <td class="stats_left"><cpanel langprint="TServiceStatus"></td>\x0A        <td class="stats_right"><a href="status.html"><cpanel langprint="INDXPerlView"></a></td>\x0A    </tr>\x0A</cpanelfeature>\x0A\x0A</table>\x0A') called at cpanel line 3842
            main::cpanel_parse(GLOB(0x17eb1320)) called at cpanel line 2157
            main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//extended_statsbar.html', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 48
            Cpanel::Branding::Branding_include('extended_statsbar.html') called at (eval 78) line 1
            eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel line 949
            main::real_exectag('<?cp StatsBar::stat(\x0A[tr class="row-%"]\x0A    [td class="stats_left"]%[/td]\x0A    [td class="stats_right"]%[/td]\x0A[/tr]\x0A,rowtype,item,value) display=hostingpackage|shorthostname|cpanelversion|cpanelrevision|theme|apacheversion|phpversion|mysqlversion|machinetype|operatingsystem|sharedip|dedicatedip|sendmailpath|perlpath|kernelversion,rowcounter=$CPVAR{\'rowcounter\'} ?>') called at cpanel line 4015
            main::dotag_finished_headers('<?cp StatsBar::stat(\x0A[tr class="row-%"]\x0A    [td class="stats_left"]%[/td]\x0A    [td class="stats_right"]%[/td]\x0A[/tr]\x0A,rowtype,item,value) display=hostingpackage|shorthostname|cpanelversion|cpanelrevision|theme|apacheversion|phpversion|mysqlversion|machinetype|operatingsystem|sharedip|dedicatedip|sendmailpath|perlpath|kernelversion,rowcounter=$CPVAR{\'rowcounter\'} ?>', 0) called at cpanel line 3867
            main::cpanel_parseblock('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\x0A<cpanel setvar="indexpage=1">\x0A<html xmlns="http://www.w3.org/1999/xhtml" dir="<?cp Locale::get_html_dir_attr(%,dir) ?>">\x0A<head>\x0A<cpanel relinclude="charset.html">\x0A<!-- Start branding/index.html -->\x0A<title><cpanel langprint="cPanelX"></title>\x0A<link rel="shortcut icon" href="<cpanel Branding="file(favicon.ico)">" type="image/x-icon" />\x0A<link rel="stylesheet" type="text/css" href="<cpanel MagicRevision="uri("css/combined_optimized.css")">" />\x0A<style type="text/css">\x0A<?cp Branding::spritelist(.spriteicon_img{text-decoration:none;margin:0 auto;background:url\\{leftparenthesis}%\\{rightparenthesis};} %,spriteurl,images::#icon-${img}{background-position\\{colon}0 -${cssposition}px;width\\{colon}${width}px;height\\{colon}${height}px;}:) imgtype=icon,subtype=img,skipgroups=1 ?>\x0A<cpanel Branding="include(sprites_ui.html)">\x0A<cpanel Branding="include(sprites_yui.html)">\x0Adiv.index_box_header {\x0A\x09background: transparent url(\'<cpanel MagicRevision="uri("branding/ui_sprites_bg_snap_to_smallest_width.png")">\') repeat-x scroll center bottom;\x0A}\x0A/* css2 */\x0A<cpanel relrawinclude="css2-min/$basefile.css">\x0A<cpanel Branding="include(css2-min/$basefile.css,1,1)">\x0A/* end css2 */\x0A</style>\x0A<cpanel Branding="include(cpanel_parsed_css.html)">\x0A<cpanel Branding="include(cpanel_parsed_css_local.html)">\x0A<link href="<cpanel Branding="file(local.css,0,0,0,0,1)">" rel="stylesheet" type="text/css" />\x0A<!--[if gt IE 6]>\x0A<style><cpanel relrawinclude="css/ie7-min.css"></style>\x0A<![endif]-->\x0A<!--[if lt IE 7]>\x0A<link rel="stylesheet" type="text/css" href="<cpanel MagicRevision="uri("css/ie6-min.css")">" />\x0A<style type="text/css">\x0A.input-button{\x0A    background:url(<cpanel Branding="image(button-bg)">) repeat-x center;\x0A}\x0A</style>\x0A<![endif]-->\x0A<cpanelif $NVDATA{\'x3_hideicons\'}>\x0A<style type="text/css">#main .item {background: transparent;margin: 0px 3px 8px 3px;padding: 8px 3px 1px 5px;height: 100%;min-height: 40px;width: 65px;}\x0A#main .item .itemlink {display:none;}\x0A#main .item{height:63px;}\x0A.spriteicon_img {display: none;background: none;}</style>\x0A</cpanelif>\x0A\x0A<!-- Changes layout of index page for all non english languages -->\x0A<cpanelif !$locale==en>\x0A<style type="text/css"><cpanel relrawinclude="locale_css/$locale.css"></style>\x0A</cpanelif>\x0A\x0A\x0A<cpanel Branding="include(stdmheader.html)">\x0A<script type="text/javascript">\x0A//<![CDATA[\x0A    var thisTheme = \'<cpanel print="$CPDATA{\'RS\'}">\';\x0A    var default_box_order=\'<cpanel Branding="getapplistorder()">\';\x0A    var NVData={};\x0A    <?cp NVData::get(NVData.%=unescape\\{leftparenthesis}\'%\'\\{rightparenthesis};,name,^value) html_encoded=1,names=xmainrollstatus|x3_gettingstarted|xstatscollapsed|x3finder|icFAA ?>\x0A//]]>\x0A</script>\x0A\x0A<div id="switch">\x0A\x09<cpanelif $isreseller || $isresellerlogin>\x0A\x09    <table width="100%">\x0A\x09\x09<tr>\x0A\x09</cpanelif>\x0A\x0A\x09<cpanelif $isreseller>\x0A\x09    <td class="reseller-drop">\x0A\x09    <strong> <cpanel langprint="SwitchTheme"></strong><br />\x0A\x09    <form class="cellform" action="switchtheme.html" method="post" name="tform">\x0A\x09\x09<select name="theme" onchange="document.tform.submit();">\x0A\x09\x09    <cpanel Resellers="themelistopt()">\x0A\x09\x09</select>\x0A\x09\x09<input id="themego" type="submit" class="input-button" value="<cpanel langprint="go-BoxTrapper">" />\x0A\x09    </form>\x0A\x09    </td>\x0A\x09</cpanelif>\x0A\x0A\x09<cpanelif $isresellerlogin>\x0A\x09    <td class="reseller-drop">\x0A\x09    <strong><cpanel langprint="SwitchAcct"></strong> <br />\x0A\x09    <form class="cellform" action="switchaccount.html" method="post" name="mform">\x0A\x09\x09<select name="user" onchange="document.mform.submit();">\x0A\x09\x09    <cpanel Resellers="accountlistopt()">\x0A\x09\x09</select>\x0A\x09\x09<input id="acctgo" type="submit" class="input-button" value="<cpanel langprint="go-BoxTrapper">" />\x0A\x09    </form>  \x0A\x09    </td>\x0A\x09</cpanelif>\x0A\x0A\x09<cpanelif $isreseller || $isresellerlogin>\x0A\x09\x09</tr>\x09\x0A\x09    </table>\x0A\x09</cpanelif>\x0A</div><!-- end switch -->\x0A\x09\x09\x0A<div class="clearitmed">&nbsp;</div>\x0A\x09\x09\x09\x0A<div id="sub">\x0A    \x0A    <div id="notices" style="font">\x0A\x09<h3><cpanel langprint="Notices"></h3>\x0A\x09<div id="noticeboard" style="padding:0 5px;width:auto;">\x0A\x09    <cpanelif $ENV{\'CPRESELLER\'}>\x0A\x09\x09\x09<span class="warning"><strong><cpanel langprint="Warning"></strong> <cpanel langprint="TabsLoggedRootPsw"></span><br />\x0A\x09    </cpanelif>\x0A\x09\x09<?cp Email::listpopswithdisk([span class="warning"][strong]$LANG{\'QuotaWarn\'}[/strong] [a href="mail/editquota.html?email=%&amp;domain=%"]%[/a][/span][br /],user,domain,email) nearquotaonly=1,maxaccts=100,no_validate=1 ?>\x09\x09\x09\x09\x0A\x09    <p><cpanel News="displaynews()"></p>\x0A\x09</div>\x0A\x09<div class="clearit">&nbsp;</div>\x0A    </div><!-- end notices -->\x0A\x09\x09\x09\x0A    <div id="jump-search">\x0A\x09<h3 style="margin:0"><cpanel langprint="Jump"></h3>\x0A\x09<table style="padding-right:4px;" width="100%" cellpadding="0" cellspacing="0">\x0A\x09    <colgroup width="99%"></colgroup>\x0A\x09    <colgroup width="1%"></colgroup>\x0A\x09    <tr>\x0A\x09\x09<td colspan="2"><div id="finder" class="smalltext" style="" align="center"><cpanel langprint="Finderdesc"></div></td>\x0A\x09    </tr>\x0A\x09    <tr>\x0A\x09\x09<td align="center"><input type="text" name="find" id="quickjump" onkeyup="searchpage(this);" style="width:90%;margin:5px 0;" /></td>\x0A\x09\x09<td><b style="display:none;" id="clearlnk" class="smalltext"><a onclick="clearsearch();return false;" href="#">x</a></b></td>\x0A\x09    </tr>\x0A\x09    <tr>\x0A\x09\x09<td colspan="2"><div id="gosearch" class="smalltext" style="display:none; margin: 0 auto" align="center"><span class="caution"><cpanel langprint="JumpNoMatches"></span></div></td>\x0A\x09    </tr>\x0A\x09</table>\x0A    </div><!-- end jump-search -->\x0A\x0A    <div id="faa" style="display:none;">\x0A\x09<h3><cpanel langprint="FAA"></h3>\x0A\x09<div id="faaboard" style="padding:0 10px;width:auto;"></div>\x0A\x09<div class="clearit">&nbsp;</div>\x0A    </div><!-- end faa -->\x0A\x0A    <div id="content-stats" class="newContent">\x0A\x09<div id="stats-header" style="cursor: pointer; position: relative">\x0A\x09\x09<div class="box-expand-control" style="position: absolute; right: 0px; top: 0px" id="toggle_extended_stats_img">&nbsp;</div>\x0A\x09\x09<h3 style="padding: 0px; margin: 0px"><cpanel langprint="SLStats"></h3>\x0A\x09</div>\x0A\x09<table width="100%" id="stats" cellpadding="0" cellspacing="0">\x0A\x09\x09<tr class="row-<?cp StatsBar::rowcounter(%,rowtype) rowcounter=mainstats ?>">\x0A\x09\x09\x09<td class="stats_left"><cpanel langprint="frontend-maindomain"></td>\x0A\x09\x09\x09<td class="stats_right"><b><cpanel print="$CPDATA{\'DNS\'}"></b></td>\x0A\x09\x09</tr> \x0A\x09\x09<tr class="row-<?cp StatsBar::rowcounter(%,rowtype) rowcounter=mainstats ?>">\x0A\x09\x09\x09<td class="stats_left"><cpanel langprint="HomeDir"></td>\x0A\x09\x09\x09<td class="stats_right"><cpanel print="$homedir"></td>\x0A\x09\x09</tr>\x0A\x09\x09<cpanelif !$CPDATA{\'DEMO\'}>\x0A\x09\x09\x09<tr class="row-<?cp StatsBar::rowcounter(%,rowtype) rowcounter=mainstats ?>">\x0A\x09\x09\x09\x09<td class="stats_left"><cpanel langprint="frontend-lastlogin"></td>\x0A\x09\x09\x09\x09<td class="stats_right"><cpanel LastLogin="lastlogin(1)">&nbsp;</td>\x0A\x09\x09\x09</tr>\x0A\x09\x09</cpanelif>\x0A\x09\x09<?cp StatsBar::stat(\x0A\x09\x09\x09[tr class="row-%"]\x0A\x09\x09\x09\x09[td class="stats_left"]%[/td]\x0A\x09\x09\x09\x09[td class="stats_right"]\x0A\x09\x09\x09\x09\x09% / %[br /]\x0A\x09\x09\x09\x09\x09[div class="stats_progress_bar"]\x0A\x09\x09\x09\x09\x09\x09[div class="cpanel_widget_progress_bar_percent" style="display\\{colon}none"]%[/div]\x0A\x09\x09\x09\x09\x09[/div]\x0A\x09\x09\x09\x09[/td]\x0A\x09\x09\x09[/tr]\x0A\x09\x09,rowtype,item,count,max,percent) display=diskusage|bandwidthusage,infinitylang=true,rowcounter=mainstats ?>\x0A\x09</table>\x0A    <cpanelif $NVDATA{\'xstatscollapsed\'}==expanded>\x0A        <cpanel setvar="rowcounter=mainstats">\x0A\x09    <div id="extended_stats"><cpanel Branding="include(extended_statsbar.html)"></div>\x0A\x09    <div id="extended_stats_state" style="display: none">shown</div>\x0A        <div id="content-stats-end" style="width: 100%; padding-top: 5px">\x0A\x09\x09\x09<div id="extended_stats_loading_icon" style="display: none"></div>            \x0A\x09\x09\x09<a href="extended_stats_disable.html" id="toggle_extended_stats" class="action_link">collapse stats</a>\x0A        </div>\x0A\x09</cpanelif>\x0A    <cpanelif !$NVDATA{\'xstatscollapsed\'}==expanded>\x0A        <script type="text/javascript">var ROWCOUNTER = {}; <?cp StatsBar::getrowcounter(ROWCOUNTER.% = \'%\';,name,value) rowcounter=mainstats ?></script>\x0A        <div id="extended_stats" style="display: none"></div>\x0A\x09    <div id="extended_stats_state" style="display: none">hidden</div>\x0A        <div id="content-stats-end" style="width: 100%; padding-top: 5px">\x0A\x09\x09\x09<div id="extended_stats_loading_icon" style="display: none"></div>\x09\x09\x09\x0A            <a href="extended_stats_enable.html" id="toggle_extended_stats" class="action_link">expand stats</a>\x0A        </div>\x0A    </cpanelif>\x0A\x09</div><!-- end content-stats -->\x0A\x09\x09\x0A</div><!-- end sub -->\x0A\x0A<script type="text/javascript" src="<cpanel MagicRevision="uri("/yui/utilities_container/utilities_container.js")">"></script>\x0A<script type="text/javascript" src="<cpanel MagicRevision="uri("/cjt/cpanel-all-min.js")">"></script>\x0A<cpanel Branding="include(optionselect-script.html)">\x0A<script type="text/javascript" src="<cpanel MagicRevision="uri("js/x3main_optimized.js")">"></script>\x0A<script type="text/javascript">\x0A//<![CDATA[\x0ACPANEL.security_token = "<cpanel print="$ENV{\'cp_security_token\'}">";\x0Atruncate_on=1;\x0Atruncate_start_row=0;\x0Atruncate_wrap=1;\x0Atruncate_tooltips=0;\x0Atruncate_fontsize=10;\x0Aregister_truncate_table(\'stats\');\x0Amaxwidth=220;\x0A\x0A// initialize the extended stats bar\x0AYAHOO.util.Event.onDOMReady(init_extended_stats);\x0A//]]>\x0A</script>\x0A\x0A<div id="main">\x0A\x0A<div id="boxes">\x0A<?cp Branding::applist(\x0A[div id="%" class="itembox"]\x0A    [div id="%-bdrop" class="celldrop"]&nbsp;[/div]\x0A    [div class="cellbox"]\x0A\x09\x09[div style="position:relative"]\x0A\x09\x09\x09[h6 id="%-header" title="maketext(\'Double click to collapse/expand. Click to drag.\')" class="index_box_header" style="clear:none;" ondblclick="rollbox\\{leftparenthesis}this\\{rightparenthesis};"]%[/h6]\x0A\x09\x09\x09[div id="%-expander" class="box-collapse-control" style="position:absolute; top:0px; right:0px" onclick="rollbox\\{leftparenthesis}this\\{rightparenthesis};"]&nbsp;[/div]\x0A\x09\x09[/div]\x0A        [div id="%-body"]\x0A\x09\x09\x09%\x0A            [div class="clearit"]&nbsp;[/div]\x0A        [/div]\x0A    [/div]\x0A    [div id="%-adrop" class="celldrop"]&nbsp;[/div]\x0A[/div]\x0A\x0A,group,group,group,desc,group,group,items::\x0A                [div class="item"][span class="additional_search_text" style="display\\{colon}none"]${searchtext}[/span]\x0A                [span class="icon_wrap"][a onclick="icFAA[[\'${file}\']];${onclick};return 1;" ${acontent} class="icon spriteicon_img" id="icon-${file}" style="display\\{colon}block;" href="${url}"][/a][/span]\x0A\x09\x09\x09\x09[a id="item_${file}" class="link" onclick="icFAA[[\'${file}\']];${onclick};return 1;" ${acontent} href="${url}"]${itemdesc}[/a]\x0A                [/div]\x0A:,group,group) nvarglist=$NVDATA{\'xmaingroupsorder\'} ?>\x0A</div><!-- end boxes -->\x0A\x09\x0A<div class="clearit">&nbsp;</div>\x0A\x0A<script type="text/javascript">\x0A//<![CDATA[\x0A// javascript for ie6 hover effect\x0A    sfHover = function() {\x0A\x09var sfEls = document.getElementsByTagName("h6");\x0A\x09for (var i=0; i<sfEls.length; i++) {\x0A\x09    sfEls[i].onmouseover=function() {\x0A\x09\x09this.className+=" sfhover";\x0A\x09    }\x0A\x09    sfEls[i].onmouseout=function() {\x0A\x09\x09this.className=this.className.replace(new RegExp(" sfhover\\\\b"), "");\x0A\x09    }\x0A\x09}\x0A    }\x0A    if (window.attachEvent) window.attachEvent("onload", sfHover);\x0A//]]>\x0A</script>\x0A\x0A<div id="togglebox">\x0A    <cpanelif !$NVDATA{\'x3_litegraphics\'}><a href="hidegraphics.html" onclick="hidegraphics(); return false;"><cpanel langprint="liteGraphics"></a>&nbsp;|</cpanelif>\x0A    <cpanelif $NVDATA{\'x3_litegraphics\'}><a href="showgraphics.html" onclick="showgraphics(); return false;"><cpanel langprint="fullGraphics"></a>&nbsp;|</cpanelif>\x0A    <cpanelif !$NVDATA{\'x3_hideicons\'}>&nbsp;<a href="hideicons.html" onclick="hideicons(); return false;"><cpanel langprint="hideIcons"></a>&nbsp;|</cpanelif>\x0A    <cpanelif $NVDATA{\'x3_hideicons\'}>&nbsp;<a href="showicons.html" onclick="showicons(); return false;"><cpanel langprint="showIcons"></a>&nbsp;|</cpanelif>\x0A    &nbsp;<span class="fake_anchor" id="reset_interface_settings_link"><cpanel langprint="resetinterfacecfg"></span>&nbsp;|\x0A    &nbsp;<span class="fake_anchor" id="expandboxes"><cpanel langprint="revealboxes"></span>&nbsp;|\x0A    &nbsp;<span class="fake_anchor" id="defaultorder"><cpanel langprint="resetboxes"></span>\x0A</div><!-- end togglebox -->\x0A<script type="text/javascript">\x0Avar init_interface_settings = function() {\x0A\x09YAHOO.util.Event.on("reset_interface_settings_link", "click", reset_all_interface_settings);\x0A\x09YAHOO.util.Event.on("expandboxes", "click", expandallboxes);\x0A\x09YAHOO.util.Event.on("defaultorder", "click", defaultorder);\x0A};\x0AYAHOO.util.Event.onDOMReady(init_interface_settings);\x0A</script>\x0A    \x0A</div><!-- end main -->\x0A<div class="clearit">&nbsp;</div>\x0A<div id="divgen"></div>\x0A\x0A<!-- Start Getting Started -->\x0A<cpanelfeature !getstart>\x0A    <script type="text/javascript">\x0A    NVData[\'x3_gettingstarted\']=\'disable\';\x0A    </script>\x0A</cpanelfeature>\x0A<cpanel Branding="include(getstarted-pop.html)">\x0A<!-- End Getting Started -->\x09\x09\x0A\x0A<cpanel Branding="include(optionselect-pop.html)">\x0A\x0A<cpanelif !$NVDATA{\'xstatscollapsed\'}==expanded>\x0A    <script type="text/javascript">/* var ROWCOUNTER = {}; <?cp StatsBar::getrowcounter(ROWCOUNTER\\{leftbracket}\'%\'\\{rightbracket} = \'%\';,name,value) rowcounter=mainstats ?> */</script>\x0A</cpanelif>\x0A\x0A\x0A<cpanel Branding="include(stdfooter.html)">\x09\x0A\x0A<!-- END branding/index.html -->\x0A') called at cpanel line 3842
            main::cpanel_parse(GLOB(0x17a641c0)) called at cpanel line 2157
            main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//index.html', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 48
            Cpanel::Branding::Branding_include('index.html') called at (eval 5) line 1
            eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel line 949
            main::real_exectag('<?cp StatsBar::stat(\x0A[tr class="row-%"]\x0A    [td class="stats_left"]%[/td]\x0A    [td class="stats_right"]%[/td]\x0A[/tr]\x0A,rowtype,item,value) display=hostingpackage|shorthostname|cpanelversion|cpanelrevision|theme|apacheversion|phpversion|mysqlversion|machinetype|operatingsystem|sharedip|dedicatedip|sendmailpath|perlpath|kernelversion,rowcounter=$CPVAR{\'rowcounter\'} ?>') called at cpanel line 4015
            main::dotag_finished_headers('<?cp StatsBar::stat(\x0A[tr class="row-%"]\x0A    [td class="stats_left"]%[/td]\x0A    [td class="stats_right"]%[/td]\x0A[/tr]\x0A,rowtype,item,value) display=hostingpackage|shorthostname|cpanelversion|cpanelrevision|theme|apacheversion|phpversion|mysqlversion|machinetype|operatingsystem|sharedip|dedicatedip|sendmailpath|perlpath|kernelversion,rowcounter=$CPVAR{\'rowcounter\'} ?>', 0) called at cpanel line 3898
            main::cpanel_parseblock('<cpanel Branding="include(index.html)">\x0A') called at cpanel line 3842
            main::cpanel_parse(GLOB(0x17881d90)) called at cpanel line 5331
            main::run_standard_mode() called at cpanel line 387
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 B12Org, Aug 31, 2010
    Last edited by a moderator: Sep 2, 2010
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,554
    Likes Received:
    9
    Trophy Points:
    168
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Please submit a support request with "Attn: Don" in the title; I would like to take a closer look at the system and verify the circumstances involved. Upon correction I can relay pertinent resolution detail in the thread for the benefit of others. When available, please let me know your ticket ID number to ensure I can locate the ticket.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,554
    Likes Received:
    9
    Trophy Points:
    168
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Submitting a ticket may not be necessary. Please let us know the output from the following command(s) when entered via root SSH access:
    • RHEL/CentOS Linux:
      Code:
      # stat / /sbin/ /sbin/ifconfig | egrep -i "File:|(Access|Mode):.*id.*"
    • FreeBSD:
      Code:
      # stat -x / /sbin/ /sbin/ifconfig | egrep -i "File:|(Access|Mode):.*id.*"

    Specifically, I'm looking to see what the access permissions are set to for each path (at "/", at "/sbin/", and at "/sbin/ifconfig").
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. B12Org

    B12Org Well-Known Member

    Joined:
    Jul 15, 2003
    Messages:
    692
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Seattle Washington
    cPanel Access Level:
    Root Administrator
    Here ya go

    Code:
    # stat / /sbin/ /sbin/ifconfig | egrep -i "File:|(Access|Mode):.*id.*"
      File: `/'
    Access: (0711/drwx--x--x)  Uid: (    0/    root)   Gid: (    0/    root)
      File: `/sbin/'
    Access: (0711/drwx--x--x)  Uid: (    0/    root)   Gid: (    0/    root)
      File: `/sbin/ifconfig'
    Access: (0700/-rwx------)  Uid: (    0/    root)   Gid: (    0/    root)
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #5 B12Org, Sep 1, 2010
    Last edited by a moderator: Sep 1, 2010
  6. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,554
    Likes Received:
    9
    Trophy Points:
    168
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Please correct the access permissions of /sbin/ifconfig to a value of 0755:
    Code:
    # chmod -vv 0755 /sbin/ifconfig
    If a more restrictive value is preferred, I may suggest trying 0711, but I cannot guarantee if keeping it restricted will help alleviate the difficulty:
    Code:
    # chmod -vv 0711 /sbin/ifconfig
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. B12Org

    B12Org Well-Known Member

    Joined:
    Jul 15, 2003
    Messages:
    692
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Seattle Washington
    cPanel Access Level:
    Root Administrator
    Setting it to 0711 fixed it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice