• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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