
Hallo, ich bin neu bei Linux und habe gerade Centos 7.2 auf meinem PC zum Laufen gebracht. Ich bin den Anweisungen von „The Perfect Server“ gefolgt und bin bis zur Installation von Apache gekommen. Jetzt hänge ich bei der Konfiguration von ispconfig fest, weil mein Computer einen Fehler zurückgibt, wenn ich den Befehl ausführe. Darin systemctl restart httpd.service.
heißt es, dass der Job für den httpd-Dienst fehlgeschlagen ist, weil der Steuerungsprozess mit dem Fehlercode AH00526 beendet wurde.
Oct 25 05:37:49 server01.tcforwarding.com httpd[14691]: [Tue Oct 25 05:37:49.091640 2016] [alias:warn] [pid 14691] AH00671: The ScriptAlias directive in /etc/httpd/conf.d/mailman.conf at line 6 will probably never match because it overlaps an earlier ScriptAlias.
Oct 25 05:37:49 server01.tcforwarding.com httpd[14691]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf/httpd.conf:356
Oct 25 05:37:49 server01.tcforwarding.com httpd[14691]: AH00526: Syntax error on line 6 of /etc/httpd/conf/sites-enabled/000-ispconfig.vhost:
Oct 25 05:37:49 server01.tcforwarding.com httpd[14691]: Port must be specified
Oct 25 05:37:49 server01.tcforwarding.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Oct 25 05:37:49 server01.tcforwarding.com kill[14699]: kill: cannot find process ""
Oct 25 05:37:49 server01.tcforwarding.com systemd[1]: httpd.service: control process exited, code=exited status=1
Oct 25 05:37:49 server01.tcforwarding.com systemd[1]: Failed to start The Apache HTTP Server.
Oct 25 05:37:49 server01.tcforwarding.com systemd[1]: Unit httpd.service entered failed state.
Oct 25 05:37:49 server01.tcforwarding.com systemd[1]: httpd.service failed.
Hier ist ein Teil der Vhost-Datei selbst.
_
__Listen root
NameVirtualHost *:root
_
VirtualHost default:root *:80
_ServerAdmin [email protected]
_
__Directory /var/www/ispconfig/
____FilesMatch ".ph(p3?|tml)$"
Sagen Sie mir Bescheid, wenn Sie noch etwas brauchen!
Antwort1
root
ist keine gültige TCP-Portnummer. Sie möchten vielleicht etwas wie:
Listen 80
NameVirtualHost *:80