• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Aborted Migration Resulted in Apache Configuration Error

Angler

New Pleskian
OS CentOS 6.5
Panel version 11.5.30 Update #50

Tried migrating a site from a much older server. The migration never completed, so it was aborted and all the migration files deleted. Now, I'm getting the following error on the Plesk Home page:

=================
New configuration files for the Apache web server were not created due to the errors in configuration templates: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 319 of /etc/httpd/conf/plesk.conf.d/roundcube.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/webmails/roundcube/xxxxxxxxxxx.com_webmail.conf: No such file or directory . The error message containing the detailed error descriptions was sent to you by e-mail. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
=================

Clicking either of the 2 available options (links) does not resolve the issue.

Any advise on how to clear this error?

Thank you.
 
Hi Angler,

first you could try to run bootstrapper repair, because your aborted migration could have resulted with misconfigurations in Plesk, or in the Plesk database.

For Plesk 11.5.30 use the command:

/usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair

Afterwards ( if not already done ), please use the httpdmng - utility to reconfigure your webserver - configurations files:

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

If your webserver didn't restart automatically, please use then the command ( for CentOS - based - systems ):

/etc/init.d/httpd stop
/etc/init.d/httpd start

Please repeat again with a feedback, or if you still experience issues, with new entries from your logs.
 
Thanks for your detailed reply!

I have no clue what happened, but the error is gone now...

When I logged in to the box this morning for the first time, there was an onscreen message saying Plesk had recently updated, and the error message was gone???

I did not take any additional action after posting this thread.
 
Back
Top