Article ID: 6658, created on Dec 1, 2009, last review on Aug 12, 2014

  • Applies to:
  • Plesk 9.x for Linux/Unix
  • Plesk 8.x for Linux/Unix

Síntomas

En sistemas operativos RedHat:

~# /etc/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: Syntax error on line 171 of /etc/httpd/conf.d/zz010_psa_httpd.conf:
Could not open configuration file /var/www/vhosts/domain.com/conf/httpd.include: No such file or directory
                                                           [FAILED]
~#
~# /usr/local/psa/admin/sbin/websrvmng -a -v
websrvmng: Unable to open file /var/www/vhosts/domain.tld/conf/httpd.include.new for writing: No such file or directory

System error 2: No such file or directory
websrvmng: Unable to open file /var/www/vhosts/domain.tld/conf/httpd.include.new for writing: No such file or directory

System error 2: No such file or directory
~#


En sistemas operativos Debian:

~# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)... waiting apache2:
Syntax error on line 195 of /etc/apache2/apache2.conf: Syntax error on line 211 of /etc/apache2/conf.d/zz010_psa_httpd.conf:
Could not open configuration file /var/www/vhosts/domain.tld/conf/httpd.include: No such file or directory
 failed!
~#
~# /opt/psa/admin/sbin/websrvmng -a -v
websrvmng: Unable to open file /var/www/vhosts/domain1.tld/conf/httpd.include.new for writing: No such file or directory

System error 2: No such file or directory
websrvmng: Unable to open file /var/www/vhosts/domain1.tld/conf/httpd.include.new for writing: No such file or directory

System error 2: No such file or directory
~#


En Suse:

~# apache2ctl restart
Warning: DocumentRoot [/srv/www/vhosts/domain.tld/httpdocs] does not exist
httpd not running, trying to start
~#
~# /usr/local/psa/admin/bin/websrvmng -a -v
Warning: DocumentRoot [/srv/www/vhosts/domain.tld/httpdocs] does not exist
Syntax OK
Warning: DocumentRoot [/srv/www/vhosts/domain.tld/httpdocs] does not exist
startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1
..failed
websrvmng: Service /etc/init.d/apache2 failed to restart
websrvmng: Service /etc/init.d/apache2 failed to restart


Causa

El dominio domain.tld dispone de alojamiento físico pero el directorio del host virtual $PRODUCT_ROOT_D/domain.tld no existe. Por ejemplo:

~# /usr/local/psa/bin/domain --info domain.tld
...
Hosting
=============================
Hosting type:                           Physical hosting
IP Address:                             192.168.34.87
FTP Login:                              domain_ftp_user
FTP Password:                           ************
...
~# ls -ld /var/www/vhosts/test.com
ls: /var/www/vhosts/test.com: No such file or directory
~#


Resolución

Para resolver este problema, le recomendamos volver a crear el alojamiento físico para el dominio.

Para deshabilitar el alojamiento físico en el dominio, ejecute el siguiente comando:

~# /usr/local/psa/bin/domain --update domain.tld -hosting false
usermng: Close user 'domain_ftp_user' session failed
no crontab for domain_ftp_user
SUCCESS: Update of domain 'domain_ftp_user' complete.
~#


Ahora inicie sesión en Parallels Plesk Panel y vuelva a configurar el alojamiento:

Parallels Plesk Panel 8.x -> Dominios -> domain.tld -> Configuración

o

Parallels Plesk Panel 9.x -> Dominios -> domain.tld -> Configuración de Alojamiento Web

b8ef5052d936e902043e41759118114e a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 6ef0db7f1685482449634a455d77d3f4 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF