Apache2 funktioniertplötzlich nicht mehr

Debian macht sich hervorragend als Web- und Mailserver. Schau auch in den " Tipps und Tricks"-Bereich.
Antworten
filewalker3
Beiträge: 3
Registriert: 29.03.2016 00:40:17

Apache2 funktioniertplötzlich nicht mehr

Beitrag von filewalker3 » 29.03.2016 00:49:14

Hallo zusammen!

leider habe ich ein Probelm mir meinem Webserver. Lange zeit lief alles Problemlos (ein paar Websiten, Php, SQL,) doch heute abend war mein Server auf einmal nicht mehr erreichbar. Domain,... funktioniert alles noch, komme per SSH drauf,aber nicht mehr per Webbrowser. Das komische ist, das ich an dem System nichts gemacht habe!

Habe den Apache2 mehrfach neugestartet (sudo Service apache2 restart) leider ohne Erfolg - es gibt aber auch keine Fehlermeldung.Habe auch schon mit PS aux grep... nach hängengebliebenen Apache2 Fragmenten gesucht, leider nichts.

In dem Errorlog steht nicht viel drin:
[Mon Mar 28 07:35:06.494570 2016] [mpm_prefork:notice] [pid 964] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1k configured -- resuming normal operations
[Mon Mar 28 07:35:06.494586 2016] [core:notice] [pid 964] AH00094: Command line: '/usr/sbin/apache2'
[Mon Mar 28 21:41:42.728722 2016] [mpm_prefork:notice] [pid 964] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this mess$
[Mon Mar 28 21:41:42.834828 2016] [mpm_prefork:notice] [pid 964] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1k configured -- resuming normal operations
[Mon Mar 28 21:41:42.834847 2016] [core:notice] [pid 964] AH00094: Command line: '/usr/sbin/apache2'
[Mon Mar 28 23:18:54.746859 2016] [mpm_prefork:notice] [pid 964] AH00169: caught SIGTERM, shutting down
[Mon Mar 28 23:18:55.861398 2016] [mpm_prefork:notice] [pid 61335] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1k configured -- resuming normal operations
[Mon Mar 28 23:18:55.861437 2016] [core:notice] [pid 61335] AH00094: Command line: '/usr/sbin/apache2'
[Mon Mar 28 23:28:20.656483 2016] [mpm_prefork:notice] [pid 61335] AH00169: caught SIGTERM, shutting down
[Mon Mar 28 23:28:21.757651 2016] [mpm_prefork:notice] [pid 61991] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1k configured -- resuming normal operations
[Mon Mar 28 23:28:21.757690 2016] [core:notice] [pid 61991] AH00094: Command line: '/usr/sbin/apache2'
[Mon Mar 28 23:41:21.393487 2016] [mpm_prefork:notice] [pid 61991] AH00169: caught SIGTERM, shutting down
[Mon Mar 28 23:41:44.097817 2016] [mpm_prefork:notice] [pid 62364] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1k configured -- resuming normal operations
[Mon Mar 28 23:41:44.097854 2016] [core:notice] [pid 62364] AH00094: Command line: '/usr/sbin/apache2'
[Mon Mar 28 23:52:17.212805 2016] [mpm_prefork:notice] [pid 62364] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this mess$
[Mon Mar 28 23:52:17.250216 2016] [mpm_prefork:notice] [pid 62364] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1k configured -- resuming normal operations
[Mon Mar 28 23:52:17.250232 2016] [core:notice] [pid 62364] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 29 00:00:06.288264 2016] [mpm_prefork:notice] [pid 62364] AH00169: caught SIGTERM, shutting down
[Tue Mar 29 00:00:27.256150 2016] [mpm_prefork:notice] [pid 62797] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1k configured -- resuming normal operations
[Tue Mar 29 00:00:27.256188 2016] [core:notice] [pid 62797] AH00094: Command line: 'apache2'
[Tue Mar 29 00:24:50.316461 2016] [mpm_prefork:notice] [pid 62797] AH00169: caught SIGTERM, shutting down
[Tue Mar 29 00:33:46.880063 2016] [mpm_prefork:notice] [pid 63663] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1k configured -- resuming normal operations
[Tue Mar 29 00:33:46.880106 2016] [core:notice] [pid 63663] AH00094: Command line: '/usr/sbin/apache2'
Ich hoffe ihr habt Ideen, was ich noch machen kann.

Yvo
Beiträge: 74
Registriert: 08.07.2006 01:30:07

Re: Apache2 funktioniertplötzlich nicht mehr

Beitrag von Yvo » 29.03.2016 00:56:23

Hi!

Ist irgendein cronjob gelaufen, bei dem etwas schiefgegangen sein könnte?

Evtl. auch nur ein hilfloser Versuch, aber vielleicht erhältst du damit ja zumindest eine hilfreichere Fehlermeldung:

sudo Service apache2 stop
sudo Service apache2 start

Schau mal, ob sich im syslog ein Hinweis verbirgt (auch nach dem Ausführen obiger Befehle), was passiert sein kann oder ob noch etwas anderes passiert ist, was du noch nicht bemerkt hast... wurde neu gestartet?

LG
Yvonne

filewalker3
Beiträge: 3
Registriert: 29.03.2016 00:40:17

Re: Apache2 funktioniertplötzlich nicht mehr

Beitrag von filewalker3 » 29.03.2016 01:24:29

Danke für die schnelle Antwort!

CronJob ist ne gute Idee, habe aber selber keine Angelegt, bis auf die standart Jobs und Owncloud. Aber im SysLog konnte ich nichts finden was mit dem Apache2 zusammenhängt. Komischerweise zeigt er aber regelmäßig an Kernel: sdb unknow Partition table.Das selbe auch mit sdc. Dabei funktionieren die platten, sind aber als Raid eingebunden (vielleicht irritiert ihn das?)

Habe ich beides schon mehrfach versucht, da bekomme ich keine Ausgabe auf der Konsole, habe ich aber noch nie bekommen, nichtmal ein okay, es lief aber immer....

filewalker3
Beiträge: 3
Registriert: 29.03.2016 00:40:17

Re: Apache2 funktioniertplötzlich nicht mehr

Beitrag von filewalker3 » 29.03.2016 11:05:47

Kann gelöscht werden! Danke für die Hilfe zu so später Stunde.



Für alle, die es Interessiert: Problem ist gelöst: die Fehlermeldungen können ignoriert werden, kommen immer, wenn man apache2 direkt aufruft ohne über das init.d start Skript zu gehen. Das starten über Service apache2 start zeigt leider keine Ausgaben an, hier ist der Befehl /etc/init.d apache2 start besser, da bekommt man sofort eine Rückmeldung ob das starten erfolgreich war.
Nach einer langen Nacht stellte sich dann heraus, dass irgendwas/irgendwer die Firewallregeln verändert hat, der https port 443 war geblockt....

Antworten