Abdelmajid
New Pleskian
After i added a client httpd wont start. I went to the troubleshoot extension and when i try to recreate i get the following error:
The file that has the error is:
/var/www/vhosts/system/ecoursely.nl/conf/httpd.conf
Does someone know what i do wrong?
Code:
Fout: Kan instellingen van webserver niet opnieuw configureren: Unable to execute httpdmng: [2014-11-23 02:06:25] ERR [util_exec] proc_close() failed
[2014-11-23 02:06:26] ERR [panel] Apache config (14167047840.09274800) 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: 104
code: 0
Can not restart web server: Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start
The file that has the error is:
/var/www/vhosts/system/ecoursely.nl/conf/httpd.conf
Code:
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
#IF YOU REQUIRE TO APPLY CUSTOM MODIFICATIONS, PERFORM THEM IN THE FOLLOWING FILES:
#/var/www/vhosts/system/ecoursely.nl/conf/vhost.conf
#/var/www/vhosts/system/ecoursely.nl/conf/vhost_ssl.conf
<IfModule mod_ssl.c>
<VirtualHost 85.214.205.163:7081 >
ServerName "ecoursely.nl:443"
ServerAlias "www.ecoursely.nl"
ServerAlias "ipv4.ecoursely.nl"
ServerAdmin "[email protected]"
UseCanonicalName Off
DocumentRoot "/var/www/vhosts/ecoursely.nl/httpdocs"
CustomLog /var/www/vhosts/system/ecoursely.nl/logs/access_ssl_log plesklog
ErrorLog "/var/www/vhosts/system/ecoursely.nl/logs/error_log"
<IfModule mod_suexec.c>
SuexecUserGroup "ecourselyadmin" "psacln"
</IfModule>
<IfModule mod_userdir.c>
UserDir "/var/www/vhosts/ecoursely.nl/web_users"
</IfModule>
<IfModule mod_sysenv.c>
SetSysEnv PP_VHOST_ID "6209ae05-ac55-4ba3-adc2-54d361771dac"
</IfModule>
ScriptAlias "/cgi-bin/" "/var/www/vhosts/ecoursely.nl/httpdocs/cgi-bin/"
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /usr/local/psa/var/certificates/cert15zdpXf
SetEnv PP_CUSTOM_PHP_INI /var/www/vhosts/system/ecoursely.nl/etc/php.ini
SetEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi
<IfModule mod_fcgid.c>
FcgidInitialEnv PP_CUSTOM_PHP_INI /var/www/vhosts/system/ecoursely.nl/etc/php.ini
FcgidInitialEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi
FcgidMaxRequestLen 134217728
</IfModule>
<Directory /var/www/vhosts/ecoursely.nl/httpdocs>
<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options +ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule mod_python.c>
<Files ~ (\.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (\.fcgi$)>
SetHandler fcgid-script
Options +ExecCGI
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (\.php$)>
SetHandler fcgid-script
FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php
Options +ExecCGI
</Files>
</IfModule>
SSLRequireSSL
Options -Includes +ExecCGI
</Directory>
<Directory "/var/www/vhosts/system/ecoursely.nl/statistics">
AuthType Basic
AuthName "Domeinstatistieken"
AuthUserFile "/var/www/vhosts/system/ecoursely.nl/pd/d..httpdocs@plesk-stat"
require valid-user
</Directory>
Alias /error_docs /var/www/vhosts/ecoursely.nl/error_docs
ErrorDocument 400 /error_docs/bad_request.html
ErrorDocument 401 /error_docs/unauthorized.html
ErrorDocument 403 /error_docs/forbidden.html
ErrorDocument 404 /error_docs/not_found.html
ErrorDocument 500 /error_docs/internal_server_error.html
ErrorDocument 405 /error_docs/method_not_allowed.html
ErrorDocument 406 /error_docs/not_acceptable.html
ErrorDocument 407 /error_docs/proxy_authentication_required.html
ErrorDocument 412 /error_docs/precondition_failed.html
ErrorDocument 414 /error_docs/request_uri_too_long.html
ErrorDocument 415 /error_docs/unsupported_media_type.html
ErrorDocument 501 /error_docs/not_implemented.html
ErrorDocument 502 /error_docs/bad_gateway.html
ErrorDocument 503 /error_docs/maintenance.html
<IfModule mod_security2.c>
</IfModule>
</VirtualHost>
</IfModule>
<VirtualHost 85.214.205.163:7080 >
ServerName "ecoursely.nl:80"
ServerAlias "www.ecoursely.nl"
ServerAlias "ipv4.ecoursely.nl"
ServerAdmin "[email protected]"
UseCanonicalName Off
DocumentRoot "/var/www/vhosts/ecoursely.nl/httpdocs"
CustomLog /var/www/vhosts/system/ecoursely.nl/logs/access_log plesklog
ErrorLog "/var/www/vhosts/system/ecoursely.nl/logs/error_log"
<IfModule mod_suexec.c>
SuexecUserGroup "ecourselyadmin" "psacln"
</IfModule>
<IfModule mod_userdir.c>
UserDir "/var/www/vhosts/ecoursely.nl/web_users"
</IfModule>
<IfModule mod_sysenv.c>
SetSysEnv PP_VHOST_ID "6209ae05-ac55-4ba3-adc2-54d361771dac"
</IfModule>
ScriptAlias "/cgi-bin/" "/var/www/vhosts/ecoursely.nl/httpdocs/cgi-bin/"
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
SetEnv PP_CUSTOM_PHP_INI /var/www/vhosts/system/ecoursely.nl/etc/php.ini
SetEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi
<IfModule mod_fcgid.c>
FcgidInitialEnv PP_CUSTOM_PHP_INI /var/www/vhosts/system/ecoursely.nl/etc/php.ini
FcgidInitialEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi
FcgidMaxRequestLen 134217728
</IfModule>
<Directory /var/www/vhosts/ecoursely.nl/httpdocs>
<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options +ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule mod_python.c>
<Files ~ (\.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (\.fcgi$)>
SetHandler fcgid-script
Options +ExecCGI
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (\.php$)>
SetHandler fcgid-script
FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php
Options +ExecCGI
</Files>
</IfModule>
Options -Includes +ExecCGI
</Directory>
<Directory "/var/www/vhosts/system/ecoursely.nl/statistics">
AuthType Basic
AuthName "Domeinstatistieken"
AuthUserFile "/var/www/vhosts/system/ecoursely.nl/pd/d..httpdocs@plesk-stat"
require valid-user
</Directory>
Alias /error_docs /var/www/vhosts/ecoursely.nl/error_docs
ErrorDocument 400 /error_docs/bad_request.html
ErrorDocument 401 /error_docs/unauthorized.html
ErrorDocument 403 /error_docs/forbidden.html
ErrorDocument 404 /error_docs/not_found.html
ErrorDocument 500 /error_docs/internal_server_error.html
ErrorDocument 405 /error_docs/method_not_allowed.html
ErrorDocument 406 /error_docs/not_acceptable.html
ErrorDocument 407 /error_docs/proxy_authentication_required.html
ErrorDocument 412 /error_docs/precondition_failed.html
ErrorDocument 414 /error_docs/request_uri_too_long.html
ErrorDocument 415 /error_docs/unsupported_media_type.html
ErrorDocument 501 /error_docs/not_implemented.html
ErrorDocument 502 /error_docs/bad_gateway.html
ErrorDocument 503 /error_docs/maintenance.html
<IfModule mod_security2.c>
</IfModule>
</VirtualHost>
Does someone know what i do wrong?