• 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

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