Apache does not restart

Alles, was den Apache betrifft, kann hier besprochen werden.

Apache does not restart

Postby seomiotico » 25. October 2022 08:42

Howdy

here it is the result from apachectl configtest:

    1)
    Code: Select all
    AH00526: Syntax error on line 83 of /etc/apache2/sites-enabled/mydomain.com.conf:

    2)
    Code: Select all
    SSLCertificateKeyFile: file '/etc/ssl/virtualmin/1*************4/ssl.key' does not exist or is empty

I did not find any solution on the forum (or did I miss something?) for the point 1).

For the point 2) I used the command
Code: Select all
systemctl restart apache2.service
but I received the following:

Code: Select all
Job for apache2.service failed because the control process exited with error code.

Moreover, please note the current Apache Error Log:

Code: Select all
[Sat Oct 22 09:30:05.605775 2022] [ssl:warn] [pid 64189:tid 140476901833792] AH01906: lemigliorioccasioni.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Oct 22 09:33:22.811980 2022] [ssl:warn] [pid 64189:tid 140476901833792] AH01906: lemigliorioccasioni.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Oct 22 09:33:33.626364 2022] [ssl:warn] [pid 64189:tid 140476901833792] AH01906: lemigliorioccasioni.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Oct 22 10:01:35.879085 2022] [ssl:warn] [pid 834:tid 140324024147008] AH01906: lemigliorioccasioni.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Oct 22 10:01:35.962860 2022] [ssl:warn] [pid 876:tid 140324024147008] AH01906: lemigliorioccasioni.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Oct 22 10:55:39.639760 2022] [ssl:warn] [pid 876:tid 140324024147008] AH01906: lemigliorioccasioni.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Oct 22 12:56:36.339621 2022] [authz_core:error] [pid 6676:tid 140323586025216] [client 172.70.114.167:19480] AH01630: client denied by server configuration: /home/lemigliorioccasioni/public_html/server-status
[Sat Oct 22 12:56:37.579970 2022] [authz_core:error] [pid 6676:tid 140323451741952] [client 162.158.62.13:25768] AH01630: client denied by server configuration: /home/lemigliorioccasioni/public_html/server-status
[Sat Oct 22 12:56:37.789378 2022] [authz_core:error] [pid 6675:tid 140323468527360] [client 172.70.143.32:60214] AH01630: client denied by server configuration: /home/lemigliorioccasioni/public_html/server-status
[Sat Oct 22 13:45:43.093353 2022] [ssl:warn] [pid 876:tid 140324024147008] AH01906: lemigliorioccasioni.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Oct 22 13:50:12.620359 2022] [ssl:warn] [pid 876:tid 140324024147008] AH01906: lemigliorioccasioni.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Oct 22 13:50:23.770057 2022] [ssl:warn] [pid 876:tid 140324024147008] AH01906: lemigliorioccasioni.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Oct 23 15:33:42.420852 2022] [ssl:warn] [pid 876:tid 140324024147008] AH01906: lemigliorioccasioni.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Oct 23 15:37:57.940110 2022] [ssl:warn] [pid 876:tid 140324024147008] AH01906: lemigliorioccasioni.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Oct 23 15:39:03.286733 2022] [ssl:warn] [pid 876:tid 140324024147008] AH01906: lemigliorioccasioni.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Oct 23 15:40:06.088085 2022] [ssl:warn] [pid 876:tid 140324024147008] AH01906: lemigliorioccasioni.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Oct 24 05:21:59.283348 2022] [autoindex:error] [pid 84029:tid 140323796358912] [client 172.70.242.194:14856] AH01276: Cannot serve directory /home/lemigliorioccasioni/public_html/wp-includes/blocks/verse/: No matching DirectoryIndex (index.php,index.php4,index.php5,index.htm,index.html) found, and server-generated directory index forbidden by Options directive, referer: lemigliorioccasioni.com
[Mon Oct 24 05:31:23.031888 2022] [autoindex:error] [pid 84029:tid 140323779557120] [client 162.158.91.125:36970] AH01276: Cannot serve directory /home/lemigliorioccasioni/public_html/wp-content/languages/plugins/: No matching DirectoryIndex (index.php,index.php4,index.php5,index.htm,index.html) found, and server-generated directory index forbidden by Options directive, referer: lemigliorioccasioni.com


Could someone assist with the restart of Apache server?

Help is very appreciated in advance, thank you.

My best regards.
seomiotico
 
Posts: 1
Joined: 25. October 2022 08:27
XAMPP version: 7.4.3
Operating System: Ubuntu Linux 20.04.5

Re: Apache does not restart

Postby Nobbie » 26. October 2022 19:21

If you REALLY wants us to help you, you MUST tell us about ALL your changes you did to your Apache configuration. Due to the error messages, you changed a lot. Why dont you tell us??

And, actually this is not an Ubuntu Linux Forum and ALL your issues are related to Ubuntu Linux, NOT to Xampp Apache (this is the Xampp Apache forum). I will try to help you, but this cannot happen as long as you hide everything you changed to your configuration.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04


Return to Apache

Who is online

Users browsing this forum: No registered users and 48 guests