• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

httpdmng --reconfigure-all failed

sebas

Basic Pleskian
I am having the problem that many of my sites are showing the content for the default virtual host

/var/www/vhosts/default/htdocs

While looking for a solution I ran a

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all

This is what I got back:

Error occured while sending feedback. HTTP code returned: 502
Error occured while sending feedback. HTTP code returned: 502
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-domains
[1] => albercas......
[2] => -no-restart
)

Details: Error occured while sending feedback. HTTP code returned: 502
Error occured while sending feedback. HTTP code returned: 502
SQLSTATE[HY000] [2002] No such file or directoryError occured while sending feedback. HTTP code returned: 502
2014-09-29T13:16:34-05:00 ERR (3) [panel]: Unable to destroy session:MySQL query failed: Query execution was interrupted

Releasing semaphore 4 in request cleanupPHP Warning: mysql_query() expects parameter 2 to be resource, boolean given; File: /usr/local/psa/admin/plib/db.php, Line: 97

Error occured while sending feedback. HTTP code returned: 502
PHP Warning: mysql_error() expects parameter 1 to be resource, boolean given; File: /usr/local/psa/admin/plib/db.php, Line: 101

Error occured while sending feedback. HTTP code returned: 502
Error occured while sending feedback. HTTP code returned: 502
PHP Warning: mysql_error() expects parameter 1 to be resource, boolean given; File: /usr/local/psa/admin/plib/db.php, Line: 104

Error occured while sending feedback. HTTP code returned: 502
PHP Warning: mysql_errno() expects parameter 1 to be resource, boolean given; File: /usr/local/psa/admin/plib/db.php, Line: 104

Error occured while sending feedback. HTTP code returned: 502
2014-09-29T13:16:38-05:00 ERR (3) [panel]: Unable to destroy session:MySQL query failed:


Do you know how can I solve this?

I'm running Plesk 11.5 on Centos 6.

Thanks for your help.
 
For a start, you might use the Plesk bootstrapper, which corrects quite a few of problems/issues:

/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair
 
Back
Top