Article ID: 121478, created on Oct 28, 2014, last review on May 11, 2015

  • Applies to:
  • Plesk Automation 11.5
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 10.4 for Linux/Unix
  • Plesk 10.3 for Linux/Unix

Síntomas

Tras reconfigurar el servidor web de forma completa, en el interfaz de Plesk puede verse el siguiente error:

Unable to configure the web server: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-all ) Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-domains [1] => domain.tld, domain2.tld ) Details: 2014-03-17T13:39:25-04:00 ERR (3) [util_exec]: proc_close() failed 2014-03-17T13:39:28-04:00 ERR (3) [panel]: Apache config (13950779620.20291800) generation failed: Template_Exception: Can not restart web server: Service /etc/init.d/httpd failed to start Service /etc/init.d/httpd failed to start file: /usr/local/psa/admin/plib/Service/Driver/Web/Server/Apache.php line: 100 code: 0 Can not restart web server: Service /etc/init.d/httpd failed to start Service /etc/init.d/httpd failed to start

En el archivo de registro '/var/log/httpd/error_log' se observa el siguiente error:

(2)No such file or directory: httpd: could not open error log file /var/www/vhosts/system/domain.tld/logs/error_log.
Unable to open logs

A veces, puede que el servicio 'httpd' no pueda iniciarse:

# /etc/init.d/httpd start
Starting httpd:                                            [FAILED]

Causa

Durante la actualización de Plesk, el siguiente comando no se finalizó correctamente:

# /usr/local/psa/bin/repair --update-vhosts-structure

Resolución

Para corregir el problema, repare la estructura de vhost usando lo siguiente:

# /usr/local/psa/bin/repair --update-vhosts-structure
The structure of the home directory was successfully updated on virtual hosts.

A continuación, el servicio 'httpd' debería iniciarse correctamente y en Plesk no debería mostrarse ningún error.

e8756e9388aeca36710ac39e739b2b37 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 dd0611b6086474193d9bf78e2b293040 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f f4ce8084cb23619ef5fe9428ecc388ea 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079 742559b1631652fadd74764ae8be475e aea4cd7bfd353ad7a1341a257ad4724a

Email subscription for changes to this article
Save as PDF