• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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"
 
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"
I got the same, but when I click on rebuild, it refreshes the page in a few seconds, but still that warning is in red , I'm not sure if this service related "
Reverse Proxy Server (nginx)
1752913984040.png
 
Back
Top