• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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