Hi,
nach längerer Zeit wollte ich wieder mal ein bißchen mit html rumspielen. Nun startet aber der apache-server nicht:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
systemctl status apache2 -l
● apache2.service - The Apache HTTP Server
Loaded: loaded (/usr/lib64/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fr 2016-02-05 21:57:25 CET; 1min 28s ago
Process: 15250 ExecStop=/usr/sbin/apache2 $APACHE2_OPTS -k graceful-stop (code=exited, status=0/SUCCESS)
Process: 15248 ExecStart=/usr/sbin/apache2 $APACHE2_OPTS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 15248 (code=exited, status=1/FAILURE)
Feb 05 21:57:25 eg-server systemd[1]: Started The Apache HTTP Server.
Feb 05 21:57:25 eg-server apache2[15248]: (2)No such file or directory: apache2: could not open error log file /usr/lib64/apache2/logs/error_log.
Feb 05 21:57:25 eg-server apache2[15248]: Unable to open logs
Feb 05 21:57:25 eg-server systemd[1]: apache2.service: Main process exited, code=exited, status=1/FAILURE
Feb 05 21:57:25 eg-server apache2[15250]: httpd (no pid file) not running
Feb 05 21:57:25 eg-server systemd[1]: apache2.service: Unit entered failed state.
Feb 05 21:57:25 eg-server systemd[1]: apache2.service: Failed with result 'exit-code'.
|
wenn ich apache2 direkt aufrufe:
|
Quellcode
|
1
2
3
|
apache2
no listening sockets available, shutting down
Unable to open logs
|
Port 80 ist aber frei:
|
Quellcode
|
1
2
|
eg-server logs # netstat -ltnp | grep ':80'
eg-server logs #
|
Kennt sich jemand aus? Wie lange das schon so ist, keine Ahnung, habe ich schon länger nicht mehr benutzt...
Rüdiger