• 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

Unable to configure a web server on the host

AnupDubbewar

New Pleskian
Hello,

Yesterday I got one email from my plesk panel with the following error.
It is an Linux based Hosting panel with no. of live client.

Unable to generate the web server configuration file on the host <my_plesk_panel> because of the following errors:

[Sun Oct 14 19:22:10 2012] [warn] module ssl_module is already loaded, skipping
httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 340 of /usr/local/psa/admin/conf/vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/eLearning.alfalahit.net/conf/13502073050.13775400_httpd.include: No such file or directory

Please resolve the errors in web server configuration templates and generate the file again.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

I deleted the above subdomain and recreated it.
But I want to know that why this error occured ?
If you need any logs or something just ask I willl post them asap!
 
The error occured due to a missing vhost configuration file (13502073050.13775400_httpd.include). You could have resolved it without having to delete the domain name by running:

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
Thank you for reply.

Does above command affects to other domains which are live.
Is there any way to reconfigure only those domain which are having problem.
 
Yes there are otherways of configuring only the sick domain names. You just:

/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain [domain.com] for single domain or
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domains [domain.com,domain2.com] for multiple domains.
 
Back
Top