• 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 doesn't work

Schokkie

New Pleskian
Hi,

Plesk panel: 11.0.9, Update #31
OS: CentOS 6.3

At some point today something went wrong with the apache configuration files. I think someone was doing a migration inbound and someone else was removing subscriptions at the same time. The result was that the just migrated website was served for every domain on the server. This happens every so often and usually running this command fixes everything: /usr/local/psa/admin/bin/httpdmng --reconfigure-all

Now though, that command gives me an error message:
PHP Fatal error: Class name must be a valid object or a string in /usr/local/psa/admin/plib/Template/Scheme/Webserver.php on line 62

The php-file seems to be fine (same size and date as another server) but is unreadable.
I am able to reconfigure all domains separately with --reconfigure-domain <domain> but the error in Plesk about broken config files remains.

I cannot debug this issue as the Webserver.php file is encoded. Hope someone can help me out here.
 
Solved

My issue has been solved. I found domains in Plesk that had been removed but weren't completely removed in Plesk.
After removing those domains completely the reconfigure-all option worked and all websites are running again.

I think this issue should be addressed by Parallels because this happens when two administrators change domains at the same time. Also, the error message can hardly be debugged because no log file shows this issue. It was just luck that got me the answer this time.
 
Back
Top