• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Resolved Unable to configure the web server error

charlieclewer

New Pleskian
Server operating system version
Ubuntu 20.04.6 LTS
Plesk version and microupdate number
Plesk Obsidian Version 18.0.51
I'm having this issue in my plesk since a few days ago:

Unable to configure the web server: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-all [1] => -skip-removing ) Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-server [1] => -no-restart ) Details: [2023-05-09 23:19:39.010] 690353:645ab8eb0247c ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/nginx-config' '-t'] with exit code [1] [2023-05-09 23:19:39.168] 690353:645ab8eb0247c ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/nginx-config' '-t'] with exit code [1] [2023-05-09 23:19:39.179] 690353:645ab8eb0247c ERR [panel] Apache config (16836671780.77680700) generation failed: Template_Exception: nginx: [emerg] open() "/etc/nginx/plesk.conf.d/vhosts/demo2.clewerit.com.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/zz010_psa_nginx.conf:7 nginx: configuration file /etc/nginx/nginx.conf test failed file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 75 code: 0 nginx: [emerg] open() "/etc/nginx/plesk.conf.d/vhosts/demo2.clewerit.com.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/zz010_psa_nginx.conf:7 nginx: configuration file /etc/nginx/nginx.conf test failed

I've tried to reread Ip in IP Addressess but it did not work (saw this suggestion in the forum)

Any idea what could it be?
 
1) On the console as root: rm /etc/nginx/plesk.conf.d/vhosts/demo2.clewerit.com.conf
2) Login to Plesk GUI
3) Tools & Settings > Assistance & Troubleshooting > Webserver Configurations Troubleshooter
4) Button "Rebuild", select "Broken"
 
Back
Top