I had a server management company migrate my dedicated server's data to a new server.
Once the migration was complete, I opened WHM with user root and the password without trouble. But if I open cPanel as a user, with the user's user name and password, cPanel opens, but with several error messages on the page. [an error occurred while processing this directive]. If I click on the error, I get the error messge below.
Also, if I try to open any web pages that have database calls, I get an error [Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/xxxxx/public_html/zzzzz/include_database_selector.php4 on line 27 ] Where include_database_selector.php4 just opens the database with it's user name and password.
The management company doesn't seem to be able to find a fix.
Any idea what is going on here, or what I need to do to fix it?
Unable to understand response from admin bin: apache sent: LISTMULTIPARKED 0 received:[]: Illegal seek at /usr/local/cpanel/Cpanel/AdminBin.pm line 171.
Cpanel::AdminBin::adminfetch('apache', '/usr/local/apache/conf/httpd.conf', 'LISTMULTIPARKED', 'storable', 0) called at /usr/local/cpanel/Cpanel/DomainLookup.pm line 45
Cpanel::DomainLookup::getmultiparked() called at /usr/local/cpanel/Cpanel/Park.pm line 116
Cpanel::Park::_countaddons() called at (eval 96) line 1
eval '$rSTATS->{$key}{$item} = Cpanel::Park::_countaddons();' called at /usr/local/cpanel/Cpanel/StatsBar.pm line 241
Cpanel::StatsBar::api2_stat('infinitylang', 'true', 'rowcounter', 'mainstats', 'display', 'emailac_counts|subdomains|parkeddomains|addondomains|ftpaccounts...') called at (eval 90) line 1
eval '$dataref = [Cpanel::StatsBar::api2_stat(%CFG)];' called at cpanel.pl line 5011
main::api2_exec('StatsBar', 'stat', 'HASH(0x1759d0d0)', 'HASH(0x20e8390)') called at cpanel.pl line 1484
main::cpexectag('<?cp StatsBar::stat([tr class="row-%"][td width="40\{percent}"][...') called at cpanel.pl line 4808
main::dotag(undef) called at cpanel.pl line 4691
main::cpanel_parseblock('SCALAR(0x1758b380)') called at cpanel.pl line 4643
main::cpanel_parse('GLOB(0x16fefff0)') 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(0x17050580)') called at cpanel.pl line 1318
Unable to understand response from admin bin: apache sent: LISTMULTIPARKED 0 received:[]: Illegal seek at /usr/local/cpanel/Cpanel/AdminBin.pm line 171.
Cpanel::AdminBin::adminfetch('apache', '/usr/local/apache/conf/httpd.conf', 'LISTMULTIPARKED', 'storable', 0) called at /usr/local/cpanel/Cpanel/DomainLookup.pm line 45
Cpanel::DomainLookup::getmultiparked() called at /usr/local/cpanel/Cpanel/Park.pm line 116
Cpanel::Park::_countaddons() called at (eval 96) line 1
eval '$rSTATS->{$key}{$item} = Cpanel::Park::_countaddons();' called at /usr/local/cpanel/Cpanel/StatsBar.pm line 241
Cpanel::StatsBar::api2_stat('infinitylang', 'true', 'rowcounter', 'mainstats', 'display', 'emailac_counts|subdomains|parkeddomains|addondomains|ftpaccounts...') called at (eval 90) line 1
eval '$dataref = [Cpanel::StatsBar::api2_stat(%CFG)];' called at cpanel.pl line 5011
main::api2_exec('StatsBar', 'stat', 'HASH(0x1759d0d0)', 'HASH(0x20e8390)') called at cpanel.pl line 1484
main::cpexectag('<?cp StatsBar::stat([tr class="row-%"][td width="40\{percent}"][...') called at cpanel.pl line 4808
main::dotag(undef) called at cpanel.pl line 4691
main::cpanel_parseblock('SCALAR(0x1758b380)') called at cpanel.pl line 4643
main::cpanel_parse('GLOB(0x16fefff0)') 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(0x17050580)') called at cpanel.pl line 1318
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
Select allOpen in new window
by: keymalusPosted on 2009-08-25 at 14:25:51ID: 25182438
Hello,
Please try the following commands in SSH:
/scripts/cleanupmysqlprivs
touch /var/lib/mysql/mysql.sock
chown mysql:mysql /var/lib/mysql/mysql.sock
ln -s /var/lib/mysql/mysql.sock /tmp
/scripts/upcp --force
You will probably have to reset your mysql root password in WHM but it should fix it.
Let me know how you get on,
Trev