nachdem ich Probleme mit meinem LAMP Server hatte, habe ich den Apache2 Server gelöscht und neu installiert.
Problem an der Sache: Apache2 läuft PHP bekomme ich nicht zum laufen bzw. wenn ich eine PHP info Datei aufrufe wird diese Date heruntergeladen und nicht als PHP Datei angezeigt.
Ich habe jetzt einmal gestest lokaleIP/iredwas...
404 Not Found
nginx/1.6.2
Ist das mit nginx/ 1.6.2 ok ? Habe den apache installiert.
Die Neuinstallation lief so:
Code: Alles auswählen
apt-get remove --purge apache2
apt-get autoremove
Code: Alles auswählen
Installiere Apache2
apt-get install apache2
Code: Alles auswählen
[ ok ] Restarting apache2 (via systemctl): apache2.service.
root@debianserver:/home/lockslay#
Ich habe versucht alle wichtigen Dateien / Dokumente herausszusuchen.
Wenn weiter Informationen benötigt werden, bitte melden!
systemctl status apache2.service
Code: Alles auswählen
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Drop-In: /lib/systemd/system/apache2.service.d
└─forking.conf
Active: inactive (dead) since Fr 2017-02-10 11:56:09 CET; 1min 28s ago
Process: 3909 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 3881 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
Feb 10 11:56:09 debianserver apache2[3881]: Starting web server: apache2(98)...0
Feb 10 11:56:09 debianserver apache2[3881]: (98)Address already in use: AH00...0
Feb 10 11:56:09 debianserver apache2[3881]: no listening sockets available, ...n
Feb 10 11:56:09 debianserver apache2[3881]: AH00015: Unable to open logs
Feb 10 11:56:09 debianserver apache2[3881]: Action 'start' failed.
Feb 10 11:56:09 debianserver apache2[3881]: The Apache error log may have mo....
Feb 10 11:56:09 debianserver apache2[3881]: .
Feb 10 11:56:09 debianserver apache2[3909]: Stopping web server: apache2.
Feb 10 11:56:09 debianserver systemd[1]: Started LSB: Apache2 web server.
Hint: Some lines were ellipsized, use -l to show in full.
Code: Alles auswählen
[Fri Feb 10 11:58:34.421711 2017] [core:warn] [pid 6179] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined
[Fri Feb 10 11:58:34.421947 2017] [core:warn] [pid 6179] AH00111: Config variable ${APACHE_PID_FILE} is not defined
[Fri Feb 10 11:58:34.422049 2017] [core:warn] [pid 6179] AH00111: Config variable ${APACHE_RUN_USER} is not defined
[Fri Feb 10 11:58:34.422129 2017] [core:warn] [pid 6179] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined
[Fri Feb 10 11:58:34.422267 2017] [core:warn] [pid 6179] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Fri Feb 10 11:58:34.525201 2017] [core:warn] [pid 6179] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Fri Feb 10 11:58:34.526058 2017] [core:warn] [pid 6179] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Fri Feb 10 11:58:34.526169 2017] [core:warn] [pid 6179] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf:
Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}
Code: Alles auswählen
-- Logs begin at Do 2017-02-09 10:56:39 CET, end at Fr 2017-02-10 11:59:31 CET.
Feb 09 14:20:43 debianserver systemd[1]: Starting LSB: Apache2 web server...
Feb 09 14:20:44 debianserver apache2[11467]: Starting web server: apache2(98)Add
Feb 09 14:20:44 debianserver apache2[11467]: (98)Address already in use: AH00072
Feb 09 14:20:44 debianserver apache2[11467]: no listening sockets available, shu
Feb 09 14:20:44 debianserver apache2[11467]: AH00015: Unable to open logs
Feb 09 14:20:44 debianserver apache2[11467]: Action 'start' failed.
Feb 09 14:20:44 debianserver apache2[11467]: The Apache error log may have more
Feb 09 14:20:44 debianserver apache2[11467]: .
Feb 09 14:20:44 debianserver apache2[11494]: Stopping web server: apache2.
Feb 09 14:20:44 debianserver systemd[1]: Started LSB: Apache2 web server.
Feb 09 14:34:17 debianserver systemd[1]: Starting LSB: Apache2 web server...
Feb 09 14:34:17 debianserver apache2[27223]: Starting web server: apache2(98)Add
Feb 09 14:34:17 debianserver apache2[27223]: (98)Address already in use: AH00072
Feb 09 14:34:17 debianserver apache2[27223]: no listening sockets available, shu
Feb 09 14:34:17 debianserver apache2[27223]: AH00015: Unable to open logs
Feb 09 14:34:17 debianserver apache2[27223]: Action 'start' failed.
Feb 09 14:34:17 debianserver apache2[27223]: The Apache error log may have more
Feb 09 14:34:17 debianserver apache2[27223]: .
Feb 09 14:34:17 debianserver apache2[27243]: Stopping web server: apache2.
Feb 09 14:34:17 debianserver systemd[1]: Started LSB: Apache2 web server.
Feb 10 11:56:08 debianserver systemd[1]: Starting LSB: Apache2 web server...
Feb 10 11:56:09 debianserver apache2[3881]: Starting web server: apache2(98)Addr
lines 1-23...skipping...
-- Logs begin at Do 2017-02-09 10:56:39 CET, end at Fr 2017-02-10 11:59:31 CET. --
Feb 09 14:20:43 debianserver systemd[1]: Starting LSB: Apache2 web server...
Feb 09 14:20:44 debianserver apache2[11467]: Starting web server: apache2(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Feb 09 14:20:44 debianserver apache2[11467]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Feb 09 14:20:44 debianserver apache2[11467]: no listening sockets available, shutting down
Feb 09 14:20:44 debianserver apache2[11467]: AH00015: Unable to open logs
Feb 09 14:20:44 debianserver apache2[11467]: Action 'start' failed.
Feb 09 14:20:44 debianserver apache2[11467]: The Apache error log may have more information.
Feb 09 14:20:44 debianserver apache2[11467]: .
Feb 09 14:20:44 debianserver apache2[11494]: Stopping web server: apache2.
Feb 09 14:20:44 debianserver systemd[1]: Started LSB: Apache2 web server.
Feb 09 14:34:17 debianserver systemd[1]: Starting LSB: Apache2 web server...
Feb 09 14:34:17 debianserver apache2[27223]: Starting web server: apache2(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Feb 09 14:34:17 debianserver apache2[27223]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Feb 09 14:34:17 debianserver apache2[27223]: no listening sockets available, shutting down
Feb 09 14:34:17 debianserver apache2[27223]: AH00015: Unable to open logs
Feb 09 14:34:17 debianserver apache2[27223]: Action 'start' failed.
Feb 09 14:34:17 debianserver apache2[27223]: The Apache error log may have more information.
Feb 09 14:34:17 debianserver apache2[27223]: .
Feb 09 14:34:17 debianserver apache2[27243]: Stopping web server: apache2.
Feb 09 14:34:17 debianserver systemd[1]: Started LSB: Apache2 web server.
Feb 10 11:56:08 debianserver systemd[1]: Starting LSB: Apache2 web server...
Feb 10 11:56:09 debianserver apache2[3881]: Starting web server: apache2(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Feb 10 11:56:09 debianserver apache2[3881]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Feb 10 11:56:09 debianserver apache2[3881]: no listening sockets available, shutting down
Feb 10 11:56:09 debianserver apache2[3881]: AH00015: Unable to open logs
Feb 10 11:56:09 debianserver apache2[3881]: Action 'start' failed.
Feb 10 11:56:09 debianserver apache2[3881]: The Apache error log may have more information.
Feb 10 11:56:09 debianserver apache2[3881]: .
Feb 10 11:56:09 debianserver apache2[3909]: Stopping web server: apache2.
Feb 10 11:56:09 debianserver systemd[1]: Started LSB: Apache2 web server.
apache2ctl configtest
Code: Alles auswählen
Syntax OK
cat apache2.conf | pastebinit
http://paste.debian.net/913662/
cat ports.conf | pastebinit
http://paste.debian.net/913663/
Kann mir eine helfen eine neue Apache2 Installation aufzusetzen ?
Gruß
Lockslay