Die Webseite kann nicht angezeigt werden

Michak

New Member
Hallo,

ich habe seit mehreren Jahren einen Rootserver bei Server4you. Es sind mehrere Web´s eingerichtet, verschiedene programme installiert und alles lief recht gut.
Gestern abend war auch noch alles OK, aber seit heute kommt nur noch die Fehlermeldung "Die Webseite kann nicht angezeigt werden".

Nun habe ich den Support angeschrieben, um zu klären ob es an der Hardware oder an der Software liegt. Die meinten an der Hardware liegt es nicht, es muss an der Software liegen.

Alles was ich über Server weiss, habe ich mir selbst angelesen oder über Foren gelernt. Nun möchte ich gerne das Problem lösen und brauche dazu eure Hilfe.

Wie gehe ich da am besten vor, um herauszufinden woran es liegt, bzw. um den Server wieder zum laufen zu bringen. Natürlich wäre es auch sinnvoll, den Grund dafür zu wissen um so etwas für die Zukunft zu verhindern.

Einen Software-Reboot habe ich schon gemacht, dieser hat aber nichts gebracht.

Vielen Dank im voraus


Michak
 
Erste anlaufstelle sind hier immer Logfiles!

In deinem Fall die error Logs von Apache in /var/log.

Poste die uns doch mal, vllt. können wir dir dann helfen!
 
ich habe unter var/log/apache2 folgende error logs:
einmal error.log mit 0 byte von heute morgen
und einmal error.log.1 mit vielen einträgen.
Hier mal ein Auszug der letzten Einträge:
Code:
 [Sun Aug 02 03:33:33 2009] [error] [client 87.79.70.207] File does not exist: /var/www/web0/html/favicon.ico
[Sun Aug 02 03:35:09 2009] [error] [client 66.249.67.200] File does not exist: /var/www/web16/html/witzze/robots.txt
[Sun Aug 02 03:49:01 2009] [error] [client 66.249.67.109] File does not exist: /var/www/web0/html/robots.txt
[Sun Aug 02 03:52:26 2009] [error] [client 72.30.81.176] File does not exist: /var/www/web3/html/netklee/robots.txt
[Sun Aug 02 04:07:12 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 04:07:13 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 04:07:22 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 04:16:42 2009] [error] [client 66.249.68.133] File does not exist: /var/www/web3/html/netklee/robots.txt
[Sun Aug 02 04:27:05 2009] [error] [client 80.93.210.194] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Sun Aug 02 04:29:31 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 04:29:32 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 04:29:33 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 04:29:34 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 04:29:35 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 04:29:36 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 04:29:37 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 04:44:24 2009] [error] [client 66.249.68.118] File does not exist: /var/www/web1/html/robots.txt
[Sun Aug 02 04:49:15 2009] [error] [client 80.187.105.101] File does not exist: /var/www/web11/html/9000Seiten/favicon.ico
[Sun Aug 02 05:06:43 2009] [error] [client 76.73.62.242] File does not exist: /var/www/web13/html/cash-club/\\""
[Sun Aug 02 05:08:59 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 05:09:00 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 05:09:01 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 05:09:02 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 05:09:03 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 05:09:04 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 05:09:06 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 05:09:07 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 05:09:14 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 05:09:26 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 05:17:33 2009] [error] [client 67.218.116.165] File does not exist: /var/www/web0/html/robots.txt
[Sun Aug 02 05:33:11 2009] [error] [client 72.30.142.178] File does not exist: /var/www/web4/html/Spieleportal/robots.txt
[Sun Aug 02 05:36:50 2009] [error] [client 216.129.119.11] File does not exist: /var/www/web3/html/netklee/robots.txt
[Sun Aug 02 05:36:54 2009] [error] [client 84.156.7.200] File does not exist: /var/www/web9/html/Adsenseparking/favicon.ico
[Sun Aug 02 05:36:54 2009] [error] [client 66.249.67.168] File does not exist: /var/www/web9/html/Adsenseparking/robots.txt
[Sun Aug 02 05:36:56 2009] [error] [client 84.156.7.200] File does not exist: /var/www/web9/html/Adsenseparking/favicon.ico
[Sun Aug 02 06:11:12 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 06:11:13 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 06:11:14 2009] [error] [client ::1] File does not exist: /htdocs
[Sun Aug 02 06:15:39 2009] [error] [client 80.93.210.194] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Sun Aug 02 06:15:59 2009] [error] [client 77.88.44.121] File does not exist: /var/www/web16/html/witzze/robots.txt
[Sun Aug 02 06:20:04 2009] [error] [client 85.197.79.37] File does not exist: /var/www/web1/html/robots.txt, referer: [URL]http://www.backlink-check.de/bot.html[/URL]
[Sun Aug 02 06:23:47 2009] [error] [client 93.158.149.31] File does not exist: /var/www/web10/html/wiwii/robots.txt
[Sun Aug 02 06:25:05 2009] [notice] caught SIGTERM, shutting down
Das war jetzt mal die unterste Seite davon

MOD: Bitte Code Tags verwenden. Danke!
 
Last edited by a moderator:
Hast du um 6:25 den Server neugestartet?

Was passiert mit einem

Code:
/etc/init.d/apache2 start
?
 
ich war gestern abend bis ca. 01:30 am PC und dann erst wieder heute morgen so gegen 10 Uhr.
Als ich gestern aufhörte waren alle Seiten noch erreichbar.

Ich probiere jetzt mal

/etc/init.d/apache2 start
 
so, habe den Befehl eingegeben und folgende Meldung erschien:
Code:
apache2: Syntax error on line 668 of /etc/apache2/apache2.conf: Syntax error on line 182 of /etc/apache2/sites-enabled/999-confixx: Syntax error on line 34 of /etc/apache2/confixx_vhost.conf: Syntax error on line 56 of /etc/apache2/confixx_vhosts/web4.conf: Expected </Directory"/var/www/web4/html"> but saw </Directory>
Starting web server (apache2)... failed!
MOD: siehe oben
 
Last edited by a moderator:
Die Lösung für das Problem wirst du wohl in der Config deines Apaches (Zeile 56 in /etc/apache2/confixx_vhosts/web4.conf) finden. ;)

Ich vermute mal du hast die "httpd Spezial" Funktion von Confixx genutzt und dich verschrieben.
Deaktivier den Cronjob für das Confixx Counter/Update Script, lösch den entsprechenden Bereich aus der Config und starte den Apache neu.
Danach im Confixx in der "httpd Spezial" Funktion die Config richtig stellen und den Cronjob wieder aktivieren.
 
ich habe einen Cronjob für web0 und 3 für web14.

web4 habe ich keinen cronjob eingerichtet. Eventuell hat das Programm einen integriert. Das war generell eine schwere Geburt, es ging um ein Speileportal für Flashgames, welches ich lange nicht zum laufen brachte. Dort wird die htaccess verwendet. Ich machte dann folgenden Eintrag
Directory "/srv/www/webX/html">
AllowOverride ALL
Options +FollowSymLinks +SymLinksIfOwnerMatch
</Directory>
natürlich mit den richtigen Pfaden.
Danach lief das Programm dann auch.

Also lagst du mit deiner Vermutung genau richtig.

Da ich aber nicht so scharf auf diese Seite bin, würde ich nun den web4 einfach löschen.

Wie kann ich das tun, da ich momentan ja gar nicht confixx starten kann?

Übrigens wurde eine backup Datei unter /etc/apache2/confixx_vhosts/web4.conf angelegt, alos muss irgendwie das Programm heute morgen gestartet worden sein.

Egal, ich möchte gerne den web4 komplett entfernen. Was wäre dann zu tun?


Ach übrigens,

DANKE erst mal für die schnellen Antworten
 
Egal, ich möchte gerne den web4 komplett entfernen. Was wäre dann zu tun?

Die Antwort von Firewire2002 nochmal richtig lesen ;)

Stopp den crond, editiere die Datei /etc/apache2/confixx_vhosts/web4.conf (besonders Zeile 56), starte den Apache neu, werf Dein web4 weg, starte den crond wieder.

Es kann passieren, dass durch den Fehler noch Folgefehler entstanden sind. Dies wird Dir der Apache beim Startversuch mitteilen. Dann musst Du da noch entsprechend weiter korrigieren.
 
So,

hab jetzt die /etc/apache2/confixx_vhosts/web4.conf (besonders Zeile 56), komplett geleert und den apache neu gestartet.

Siehe da.... alles läuft wieder :-)

Ich schmeiss jetzt den web4 komplett raus, und dann läuft das alles wieder wie geplant.

Vielen Dank an alle und vor allem für die schnellen und kompetenten Antworten.


Herzliche Grüße und einen schönen Abend noch


Michak
 
Back
Top