staging.inyokaproject.org

apachw2 startet nich nach sever update auf 18.04 LTS

Status: Gelöst | Ubuntu-Version: Server 18.04 (Bionic Beaver)
Antworten |

mw2000

Anmeldungsdatum:
27. Dezember 2009

Beiträge: 90

Hallo zusammen,

nachdem ich einen Server auf 18.04LTS geupdated habe, startet mein Apache2 nicht mehr. Folgendes habe ich schon probiert:

1
2
3
4
.../etc/apache2$ sudo apache2ctl configtest 
[Sun Aug 05 19:02:02.090115 2018] [so:warn] [pid 31880] AH01574: module dav_module is already loaded, skipping
[Sun Aug 05 19:02:02.107413 2018] [alias:warn] [pid 31880] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
Syntax OK

Syntax scheint i.O.

1
2
3
.../etc/apache2$ sudo systemctl start apache2.service
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.

Start nicht erfolgreich

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
.../etc/apache2$ sudo systemctl status apache2.service
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: failed (Result: exit-code) since Sun 2018-08-05 19:03:15 CEST; 1min 4s ago
  Process: 26954 ExecStop=/usr/sbin/apachectl stop (code=exited, status=0/SUCCESS)
  Process: 31965 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
 Main PID: 1110 (code=exited, status=0/SUCCESS)

Aug 05 19:03:15 naxos apachectl[31965]: [Sun Aug 05 19:03:15.298859 2018] [alias:warn] [pid 31968] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will 
Aug 05 19:03:15 naxos apachectl[31965]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Aug 05 19:03:15 naxos apachectl[31965]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Aug 05 19:03:15 naxos apachectl[31965]: no listening sockets available, shutting down
Aug 05 19:03:15 naxos apachectl[31965]: AH00015: Unable to open logs
Aug 05 19:03:15 naxos apachectl[31965]: Action 'start' failed.
Aug 05 19:03:15 naxos apachectl[31965]: The Apache error log may have more information.
Aug 05 19:03:15 naxos systemd[1]: apache2.service: Control process exited, code=exited status=1
Aug 05 19:03:15 naxos systemd[1]: apache2.service: Failed with result 'exit-code'.
Aug 05 19:03:15 naxos systemd[1]: Failed to start The Apache HTTP Server.

Oh, Port 80 scheint schon gebunden...

1
2
.../etc/apache2$ sudo netstat -ltnp | grep '80'
tcp6       0      0 :::80                   :::*                    LISTEN      30450/httpd     

httpd scheint auf dem Port zu laufen (komisch ich kannte nur apache2/httpd in der Vergangenheit) also killen

1
2
3
.../etc/apache2$ sudo kill -9 30450
matthias@naxos:/etc/apache2$ sudo netstat -ltnp | grep '80'
tcp6       0      0 :::80                   :::*                    LISTEN      30451/httpd   

Dienst started gleich wieder... Nun bin ich etwas ratlos. Habt Ihr einen Tip?

Danke

Matthias

mw2000

(Themenstarter)

Anmeldungsdatum:
27. Dezember 2009

Beiträge: 90

Hi zusammen,

ich konnte mir gestern selber noch weiterhelfen.

Meine mit snap installierte nextcloud hat alles blockiert. Nachdem ich die deinstalliert hatte läuft apache2 wieder. Nun schaue ich separat noch nach dem Grund warum nach dem update auf php7 dieses nicht mehr läuft aber dies ist eine andere Geschichte...

Gruß

Matthias

Antworten |