Da es um den httpd geht, wären dessen Logs ein guter Anfang ….Ich liefere gerne Logs dazu, nur welche soll ich hier posten?
WebServer sperrt mich aus - warum? [erledigt]
Re: WebServer sperrt mich aus - warum?
-
- Beiträge: 17
- Registriert: 20.03.2017 21:24:27
Re: WebServer sperrt mich aus - warum?
Vielen Dank, dass du die Flinte noch nicht ins Korn geworfen hast!!
Ich habe folgende Log-Dateien:
Die sieht so aus:
Gruß
doktorknow
Ich habe folgende Log-Dateien:
und in apache2:ls
alternatives.log debug.1 lastlog mysql.log.7.gz
alternatives.log.1 debug.2.gz lpr.log news
alternatives.log.2.gz debug.3.gz mail.err ntpstats
apache2 debug.4.gz mail.info php
apt dmesg mail.log proftpd
auth.log dpkg.log mail.warn syslog
auth.log.1 dpkg.log.1 messages syslog.1
auth.log.2.gz dpkg.log.2.gz messages.1 syslog.2.gz
auth.log.3.gz fail2ban.log messages.2.gz syslog.3.gz
auth.log.4.gz fail2ban.log.1 messages.3.gz syslog.4.gz
boot fail2ban.log.2.gz messages.4.gz syslog.5.gz
bootstrap.log fail2ban.log.3.gz mod_evasive syslog.6.gz
btmp faillog mysql syslog.7.gz
btmp.1 fontconfig.log mysql.err sysstat
daemon.log fsck mysql.log user.log
daemon.log.1 iconnect-install.log mysql.log.1.gz vsftpd.log
daemon.log.2.gz kern.log mysql.log.2.gz vsftpd.log.1
daemon.log.3.gz kern.log.1 mysql.log.3.gz warn
daemon.log.4.gz kern.log.2.gz mysql.log.4.gz watchdog
dbconfig-common kern.log.3.gz mysql.log.5.gz wtmp
debug kern.log.4.gz mysql.log.6.gz wtmp.1
Eine ausgewiesene httpd.log finde ich nicht - vermutlich ist das aber in der error.log von apache2, richtig?access.log access.log.12.gz access.log.5.gz access.log.9.gz error.log.11.gz error.log.3.gz error.log.7.gz
access.log.1 access.log.2.gz access.log.6.gz error.log error.log.12.gz error.log.4.gz error.log.8.gz
access.log.10.gz access.log.3.gz access.log.7.gz error.log.1 error.log.13.gz error.log.5.gz error.log.9.gz
access.log.11.gz access.log.4.gz access.log.8.gz error.log.10.gz error.log.2.gz error.log.6.gz other_vhosts_access.log
Die sieht so aus:
Das error.log.1 sieht so aus:[Tue Apr 25 06:25:11.651701 2017] [mpm_prefork:notice] [pid 1959] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Apr 25 06:25:11.651920 2017] [core:notice] [pid 1959] AH00094: Command line: '/usr/sbin/apache2'
Hilft das weiter?[Sun Apr 23 06:25:11.180222 2017] [mpm_prefork:notice] [pid 1952] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Sun Apr 23 06:25:11.180433 2017] [core:notice] [pid 1952] AH00094: Command line: '/usr/sbin/apache2'
[Mon Apr 24 17:20:10.534464 2017] [mpm_prefork:notice] [pid 1959] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Mon Apr 24 17:20:10.535943 2017] [core:notice] [pid 1959] AH00094: Command line: '/usr/sbin/apache2'
[Tue Apr 25 06:25:09.835143 2017] [mpm_prefork:notice] [pid 1959] AH00171: Graceful restart requested, doing restart
[Tue Apr 25 06:25:11.149570 2017] [alias:warn] [pid 1959] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never m$
[Tue Apr 25 06:25:11.150081 2017] [alias:warn] [pid 1959] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never m$
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to $
Gruß
doktorknow
Re: WebServer sperrt mich aus - warum?
Du solltest den ServerName setzen. Zum Posten von Logs am besten via cat ausgeben lassen, dann fehlen die wichtigen Teile auch nicht. Außerdem könntest du statt quote code in das Tag schreiben, dann geht auch die Formatierung nicht kaputt.
-
- Beiträge: 17
- Registriert: 20.03.2017 21:24:27
Re: WebServer sperrt mich aus - warum?
So, hier nun ein neuer Versuch....
Dies ist die 000-default.conf aus /sites-available
Und hier das error.log mit cat -A
und hier das error.log.1:
Für mich deutet hier aber nichts auf die angeschlossene Festplatte als Übeltäter hin. Ich habe aber zugegebenermaßen keine Ahnung .
Gruß
doktorknow
Dies ist die 000-default.conf aus /sites-available
Code: Alles auswählen
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ServerName doktorknow.dyndns2.net
<Directory /var/www/html/oktonauten>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
Code: Alles auswählen
root@iconnect:/var/log/apache2# cat -A error.log
[Tue May 02 06:25:11.788447 2017] [mpm_prefork:notice] [pid 1976] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations$
[Tue May 02 06:25:11.788631 2017] [core:notice] [pid 1976] AH00094: Command line: '/usr/sbin/apache2'$
[Tue May 02 15:54:21.939224 2017] [mpm_prefork:notice] [pid 1959] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations$
[Tue May 02 15:54:21.940862 2017] [core:notice] [pid 1959] AH00094: Command line: '/usr/sbin/apache2'$
Code: Alles auswählen
root@iconnect:/var/log/apache2# cat -A error.log.1
[Mon May 01 06:25:11.147765 2017] [mpm_prefork:notice] [pid 2003] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations$
[Mon May 01 06:25:11.148007 2017] [core:notice] [pid 2003] AH00094: Command line: '/usr/sbin/apache2'$
[Mon May 01 13:23:01.700468 2017] [mpm_prefork:notice] [pid 1976] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations$
[Mon May 01 13:23:01.708008 2017] [core:notice] [pid 1976] AH00094: Command line: '/usr/sbin/apache2'$
[Tue May 02 06:25:10.074740 2017] [mpm_prefork:notice] [pid 1976] AH00171: Graceful restart requested, doing restart$
[Tue May 02 06:25:11.271146 2017] [alias:warn] [pid 1976] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.$
[Tue May 02 06:25:11.271655 2017] [alias:warn] [pid 1976] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.$
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message$
Gruß
doktorknow
-
- Beiträge: 17
- Registriert: 20.03.2017 21:24:27
Re: WebServer sperrt mich aus - warum?
Okay, ich muss bei der Fehlersuche doch noch einmal ganz von vorne anfangen.
Jetzt hatte ich die Festplatte gestern nicht angeklemmt und heute komme ich mit ssh nicht mehr auf den Server - Homepage ist auch nicht mehr erreichbar...
Scheint also doch nicht nur an der Festplatte zu liegen.
Vielleicht muss ich mir doch mal einen aktuellen Raspberry zulegen... die Iconnect ist schon etwas in die Jahre gekommen...
Kann ich diesen Beitrag irgendwo schließen?
Gruß
doktorknow
Jetzt hatte ich die Festplatte gestern nicht angeklemmt und heute komme ich mit ssh nicht mehr auf den Server - Homepage ist auch nicht mehr erreichbar...
Scheint also doch nicht nur an der Festplatte zu liegen.
Vielleicht muss ich mir doch mal einen aktuellen Raspberry zulegen... die Iconnect ist schon etwas in die Jahre gekommen...
Kann ich diesen Beitrag irgendwo schließen?
Gruß
doktorknow
Re: WebServer sperrt mich aus - warum? [erledigt]
Nein, musst du auch nicht - [gelöst] im Titel reicht. Grabschänder werden gevierteilt.doktorknow hat geschrieben:Kann ich diesen Beitrag irgendwo schließen?
Jesus saves. Buddha does incremental backups.
Windows ist doof, Linux funktioniert nicht • Don't break debian! • Wie man widerspricht
Windows ist doof, Linux funktioniert nicht • Don't break debian! • Wie man widerspricht