• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Apache doesn't start

  • Thread starter Deleted member 188409
  • Start date
D

Deleted member 188409

Guest
Hello together,

since today I have a problem with my server and Plesk Onyx. (I am not quit sure that is a realy a problem of Plesk... but anyway...)

I have to resart my Plesk and after that I see, webserver (Apache) doesn't start. I have try to start the server via Plesk manually without an solution. I have check the error Message via SSH.

Code:
root@XXX:/etc/apache2# apache2ctl configtest
AH00112: Warning: DocumentRoot [/var/www/vhosts/XXXXX.de/httpdocs] does not exist
AH00526: Syntax error on line 36 of /etc/apache2/plesk.conf.d/ip_default/XXXXX.de.conf:
SSLCertificateFile: file '/opt/psa/var/certificates/cert5YIRy' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.

Moreover my Plesk says me the same error Message in a red error-message if I am logged in Backend.

Is anybody able to help me?

FYI: XXXXX is and old domain/folder, maybe I have installed the domain/folder as I am starting with my server. But today I dont use it anymore and it is (server are right) allready deleted (not in the last 3 days form my site - I have only checked is the folder realy unavailable).

PS: Sorry for my mad english. :( Hopefully you understand me and my problem.
 
Go to
/opt/psa/var/certificates
and copy any of the existing certificates to cert5YIRy. Then restart again.
It will be a wrong certificate, but Apache will start with it.
 
Thanks for your fast help.
I have create the folder and copy all certificates from
/opt/psa/var/certificates/
into
/opt/psa/var/certificates/cert5YIRy
but nothing changes.

Code:
root@XXX:/opt/psa/var/certificates/cert5YIRy# apache2ctl configtest
AH00112: Warning: DocumentRoot [/var/www/vhosts/XXXXX.de/httpdocs] does not exist
AH00526: Syntax error on line 36 of /etc/apache2/plesk.conf.d/ip_default/XXXXX.de.conf:
SSLCertificateFile: file '/opt/psa/var/certificates/cert5YIRy' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.

Any Idea?
Maybe I understand you wrong: Server was restart, did you mean another restart like apache?
 
Last edited by a moderator:
"copy any" meant "copy any single certificate of your choice", it did not mean "copy all". It means copying a single existing certificate file into the file cert5YIRy. If you have created a new subdirectory named cert5YIRy, that is not what it meant. When you copy an existing certificate into the filename given in the error message, the error "does not exist" can no longer occur.
 
Ahh, okay. Sorry.
I get a new error message regarding an other certificate and I have duplicate the file like the way before.
I have start the apache Service with
root@XXX:~# sudo service apache2 start
and get no error message.
Code:
root@XXX:~# apache2ctl configtest
AH00112: Warning: DocumentRoot [/var/www/vhosts/XXX.de/httpdocs] does not exist
AH00112: Warning: DocumentRoot [/var/www/vhosts/XXX.de/httpdocs] does not exist
AH00112: Warning: DocumentRoot [/var/www/vhosts/example.tld/httpdocs] does not exist
AH00112: Warning: DocumentRoot [/var/www/vhosts/example.tld/httpdocs] does not exist
Syntax OK
 
The new error messages mean that the document root directories of the respective domains do not exist. You can either create these directories or maybe you want to remove the domains.

You can try to run
# plesk repair web -sslcerts
# plesk repair web
to repair remaining issues. Or you can use the GUI extension "web server configuration trouble shooter" to check and repair configuration files.
 
I have do and get no error messages again.
Thanks a lot
 
Back
Top