• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Resolved error when delete a domain

fferraro87

Basic Pleskian
Hi,

everytime that i delete a domain i've this error on my plesk panel :
Code:
New configuration files for the Apache web server were not created due to the errors in configuration templates: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/vhosts/test.it.conf: No such file or directory . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. See the details in Configuration Troubleshooter

i've try to follow this tutorial : Apache configuration is corrupted: New files of configuration for Apache web server were not built due to errors in configuration templates

but everytime i always same error and didn't works this solution for me.
The workaround is create again the hosting.

How can i fix?
 
When this error occurs, could you please check these two things:
1) Open Configuration Trouble Shooter and look for error lines. Are there any besides the error message that will probably still be display on top? Or are all configuraton lines green (=free of errors)
2) When you run
# apachectl -t
on the Linux console, does the utility return any errors or does it return a "Syntax OK"?
 
When this error occurs, could you please check these two things:
1) Open Configuration Trouble Shooter and look for error lines. Are there any besides the error message that will probably still be display on top? Or are all configuraton lines green (=free of errors)
2) When you run
# apachectl -t
on the Linux console, does the utility return any errors or does it return a "Syntax OK"?

On the configuration Troubleshooter i've many errors about missing .conf for every vhost that i've deleted before like you can see on screenshot attached.

apachectl -t return nothing on console.

Thanks for your help.
 

Attachments

  • screen.png
    screen.png
    104.4 KB · Views: 4
I think one possible approach to this issue is to (in this order)
1) First repair all database issues by running
# plesk repair db -y
2) Repair possible virtual host permission issues by running
# /usr/local/psa/bin/repair --restore-vhosts-permissions
3) Third run configuration trouble shooter and repair the broken entries. There is a menu entry for that (Rebuild > Broken).

I am not sure what is causing the problem. Where the domains in question migrated from another server? In that case it could be New configuration files were not created: Could not open configuration file : No such file or directory .
 
yeah thanks, it was because this domains are migrated from another plesk server. So i fix this problem with this last link .
Thanks again
 
Back
Top