Apache 2.2 startet nicht auf Server 2012 R2

Apache 2.2 startet nicht auf Server 2012 R2

Dies ist die Fehlermeldung, die ich erhalte, aber netstateine Untersuchung ergibt, dass der Port 4343nicht genutzt wird.

[Fri Apr 06 11:44:21 2018] [warn] module ssl_module is already loaded, skipping
[Fri Apr 06 11:44:21 2018] [warn] _default_ VirtualHost overlap on port 4343, the first has precedence
(OS 10048) Only one usage of each socket address (protocol/network address/port) is normally permitted.  
: make_sock: could not bind to address 0.0.0.0:4343
no listening sockets available, shutting down
Unable to open logs

Irgendwelche Vorschläge?

Antwort1

Wie @patrick-mevzek sagt, möchten Sie vielleicht sicherstellen, dass Sie eineNameVirtualHostDirektive am Anfang Ihrer namenbasierten virtuellen Hostdeklarationen, zB:

NameVirtualHost *:80

<VirtualHost *:80>
ServerName www.domain.tld
ServerAlias domain.tld *.domain.tld
DocumentRoot /www/domain
</VirtualHost>

<VirtualHost *:80>
ServerName www.otherdomain.tld
DocumentRoot /www/otherdomain
</VirtualHost>

Diese Deklaration wurde aus aktuellen Versionen von Apache entfernt, war jedoch in Apache 2.2 und früher erforderlich.

verwandte Informationen