• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

vhost.conf error each time I login

Bob9876543210

New Pleskian
I get this error everytime I login to plesk.

New files of configuration for Apache web server were not built due to errors in configuration templates: Syntax error on line 4 of /var/www/vhosts/example.com/conf/vhost.conf: Wrapper /var/www/vhosts/example.com/bin/php-cgi cannot be accessed: (2)No such file or directory . The detailed error message was e-mailed to you, so please check the e-mail, fix the errors, and click here to retry generating broken configuration or click here to retry generating of all configurations.

The thing vhost.conf no longer exists and inside the "13475217060.04632600_httpd.include" it no longer references it. I had to fix an issue where some sites were using FastCGI before I migrated the sites to a newer plesk 11.0.9 and had to fix them manually to work without fastcgi after I got some errors on the sites after 2 weeks of working just fine. I've rebooted the server and I'm not sure why that error keeps coming up.
 
Have you tried to reconfigure this vhost with httpdmng utility at least? Also try to use search engine in KB - there are bunch of articles related to similar errors.
 
What does httpdmng do? I'm hesistant to run it, because I fear it would recreate the vhost.conf file when it is no longer needed.
 
# /usr/local/psa/admin/bin/httpdmng --help

Usage: httpdmng <command>
Available commands:
--reconfigure-all Reconfigures web server(s) for all domains
--reconfigure-server Reconfigures server-wide configuration parameters for web server(s)
--reconfigure-domain <domain_name> Reconfigures web server(s) for the specified domain
 
Back
Top