cPanel 11.25.0-S46156 - Error Urgent Pls Help!!!

nicefrid

Member
Aug 18, 2010
10
0
51
Unable to locate httpd.conf at /usr/local/cpanel/Cpanel/ConfigFiles.pm line 27.
Cpanel::ConfigFiles::find_httpconf() called at /usr/local/cpanel/Cpanel/DomainLookup.pm line 56
Cpanel::DomainLookup::listsubdomains() called at /usr/local/cpanel/Cpanel/SubDomain.pm line 174
Cpanel::SubDomain::countsubdomains() called at /usr/local/cpanel/Cpanel/StatsBar.pm line 61
Cpanel::StatsBar::api2_stat('rowcounter', 'mainstats', 'infinitylang', 'true', 'display', 'emailac_counts|subdomains|parkeddomains|addondomains|ftpaccounts...') called at (eval 10) line 1
eval '$dataref = [Cpanel::StatsBar::api2_stat(%{$rCFG})];' called at cpanel line 4218
main::api2_exec('StatsBar', 'stat', 'HASH(0x9b50cf0)', 'HASH(0x1a57ef0)') called at cpanel line 553
main::real_cpexectag('<?cp StatsBar::stat(^J [tr class="row-%"]^J [td class="s...') called at cpanel line 4021
main::dotag_finished_headers('<?cp StatsBar::stat(^J [tr class="row-%"]^J [td class="s...', 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(0x9b55300)') 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 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="s...') called at cpanel line 4015
main::dotag_finished_headers('<?cp StatsBar::stat(^J [tr class="row-%"]^J [td class="s...', 0) called at cpanel line 3898
main::cpanel_parseblock('<cpanel Branding="include(extended_statsbar.html)">^J') called at cpanel line 3842
main::cpanel_parse('GLOB(0x9973a50)') called at cpanel line 5331
main::run_standard_mode() called at cpanel line 387
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
24
143
Houston, TX
cPanel Access Level
Root Administrator
No httpd.conf

What is triggering this error? What steps are you taking that cause the error?

The first line suggests the problem:

Code:
Unable to locate httpd.conf at /usr/local/cpanel/Cpanel/ConfigFiles.pm line 27.
Try backing up and creating a new httpdconf file with these commands:

Code:
# cp /usr/local/apache/conf/httpd.conf /root/httpd.conf.bak
# /scripts/rebuildhttpdconf
If this does not help, please submit a ticket and include a detailed description of the steps that lead to the problem, and root access credentials to the server. We can resolve the problem much more quickly if we have direct access to the server.
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
24
143
Houston, TX
cPanel Access Level
Root Administrator
Incorrect permissions on /usr/local/apache

The cause of this problem was that the permissions on /usr/local/apache were 700 instead of 755. The File Manager, like most cPanel functions, runs as the account user, so these permissions are too restrictive. Changing the permissions to 755 fixed the problem.
 

nicefrid

Member
Aug 18, 2010
10
0
51
Ya now its working Perfect and one issue another i have saw in cpanel expand view the php version is unknown, i have installed PHP Version 5.2.14. and i have submitted ticket also.