Apache Webserver Hab nen Apache-2-Webserver eingerichtet mit PHP4-Modul aber ich glaube das tut erstmal nichts zur Sache. Laut Config listened er auf Port 80. Eigentlich alles auf Standardeinstellungen gelassen. Trotzdem kann ich nicht zu ihm verbinden [COLOR=DeepSkyBlue]http://192.168.0.1/[/COLOR] im Browser gibt eine tolle "Server antwortet nicht"-Meldung. Ja, der Server läuft als Service und ist aktiviert. ;) |
AW: Apache Webserver SuSE Firewall an? Mach da mal testhalber den Port 80 auf. Gruese, kerri |
AW: Apache Webserver Auch sicher das die 192.168.... deine IP ist? Mal localhost oder 127.0.0.0 bzw 1 probiert? |
AW: Apache Webserver Bin mir nicht sicher welche Firewall an ist, "personalfirewall" oder "susefirewall2". Die Firewall macht auch das Masquerading (NAT-Service). Bei der Installation von Apache2 habe ich die Option "Firewall entsprechend anpassend" ausgewählt. Jo hab auch Localhost und 127.0.0.1 getestet. Aber 192.168.0.1 stimmt schon. Das ist der Server im LAN, wenn die Adresse nicht stimmen würde würden keinerlei DNS-Services, NAT-Services, Gateways, etc. funktionieren. ;) "Dienste die auf diesem Server erreichbar sein sollen" hab ich auch HTTP und HTTPS ausgewählt. Firewall testweise abschalten kann ich nicht, weil eben der NAT-Service dran hängt. Der darf nicht down gehen. |
AW: Apache Webserver Mal in Logdateien reingeschaut, was für Fehlermeldungen von der Apache Seite so kommen? |
AW: Apache Webserver 1. Was gibt "nmap localhost" aus? Wenn da Port 80 nicht dabei steht, dann läuft der Server definitiv nicht auf Port 80. 2. kannst du eine Verbindung mit "telnet localhost 80" herstellen? Wenn ja, dann gib mal "get" ein, dann sollte der Quelltext der index.html oder ähnliches angezeigt werden. Die Befehle natürlich direkt auf dem Server ausführen. |
AW: Apache Webserver @EoN >> Jo. Die Logs sagen mir garnix. [QUOTE="Zugriffsprotokoll"]linux - - [27/Feb/2005:10:07:51 +0100] "GET / HTTP/1.1" 403 1047 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8" linux - - [27/Feb/2005:10:07:52 +0100] "GET /favicon.ico HTTP/1.1" 404 1043 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8" linux - - [27/Feb/2005:10:08:23 +0100] "GET / HTTP/1.1" 403 1047 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8" linux - - [27/Feb/2005:10:08:32 +0100] "GET / HTTP/1.1" 403 1047 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8" linux - - [27/Feb/2005:10:08:35 +0100] "GET / HTTP/1.1" 403 1047 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8" linux - - [27/Feb/2005:15:56:28 +0100] "GET / HTTP/1.1" 403 1047 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)" linux - - [27/Feb/2005:15:56:30 +0100] "GET /favicon.ico HTTP/1.1" 404 1043 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)" linux - - [27/Feb/2005:15:56:36 +0100] "GET /index.php HTTP/1.1" 200 3326 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)" linux - - [27/Feb/2005:15:57:43 +0100] "GET / HTTP/1.1" 403 1047 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)" linux - - [27/Feb/2005:15:57:45 +0100] "GET / HTTP/1.1" 403 1047 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)" linux - - [27/Feb/2005:15:57:48 +0100] "GET /index.php4 HTTP/1.1" 200 3326 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)" linux - - [27/Feb/2005:15:57:56 +0100] "GET / HTTP/1.1" 403 1047 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)" linux - - [27/Feb/2005:15:58:06 +0100] "GET /index.php HTTP/1.1" 404 1043 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)" linux - - [27/Feb/2005:15:58:20 +0100] "GET /index.php HTTP/1.1" 200 3326 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)" linux - - [27/Feb/2005:15:58:26 +0100] "GET /index.php HTTP/1.1" 200 3326 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)" linux - - [27/Feb/2005:15:58:40 +0100] "GET /index.htm HTTP/1.1" 200 3326 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)" linux - - [27/Feb/2005:15:59:06 +0100] "GET /index.php HTTP/1.1" 200 3326 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)" linux - - [27/Feb/2005:16:02:32 +0100] "GET / HTTP/1.1" 403 1047 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)" ool-43539378.dyn.optonline.net - - [27/Feb/2005:17:45:52 +0100] "POST /_vti_bin/_vti_aut/fp30reg.dll HTTP/1.1" 404 1058 "-" "-" [B]... danach kommt viel Sonderzeichengewirr ...[/B] localhost - - [27/Feb/2005:19:29:21 +0100] "GET /susehelp/ HTTP/1.0" 404 1041 "-" "Wget/1.9.1" linux - - [27/Feb/2005:20:33:37 +0100] "GET / HTTP/1.1" 403 1047 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8" linux - - [27/Feb/2005:20:33:37 +0100] "GET /favicon.ico HTTP/1.1" 404 1043 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8" c-24-3-148-76.client.comcast.net - - [04/Mar/2005:21:13:55 +0100] "CONNECT irc.aussiechat.org:6667 HTTP/1.0" 405 980 "-" "-" localhost - - [04/Mar/2005:22:11:23 +0100] "GET /susehelp/ HTTP/1.0" 404 1041 "-" "Wget/1.9.1" c-24-3-148-76.client.comcast.net - - [05/Mar/2005:13:27:13 +0100] "CONNECT irc.aussiechat.org:6667 HTTP/1.0" 405 980 "-" "-" c-24-3-148-76.client.comcast.net - - [05/Mar/2005:13:31:27 +0100] "CONNECT irc.aussiechat.org:6667 HTTP/1.0" 405 980 "-" "-" lan-84-240-33-138.vln.skynet.lt - - [05/Mar/2005:14:31:53 +0100] [B]... wieder Zeichensalat ...[/B] [/QUOTE] Wenn ich das "Fehlerprotokoll" aufrufen möchte startet sich YAST, beendet Apache2 und startet es neu (?!?!). @mceck: [QUOTE="BASH-Ausgabe für root@linux"] linux:/home/andre # nmap localhost bash: nmap: command not found linux:/home/andre # telnet localhost 80 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused Trying ::1... telnet: connect to address ::1: Connection refused linux:/home/andre # [/QUOTE] ... der HTTPD "Daemon" läuft aber ordnungsgemäß. |
AW: Apache Webserver [QUOTE=Qndre][...]bash: nmap: command not found[/QUOTE] Vielleicht mal nmap nachinstallieren :roll: [QUOTE=Qndre][...] ... der HTTPD "Daemon" läuft aber ordnungsgemäß.[/QUOTE] Sicher? was sagt ps -Af | grep httpd ? Gruesse, kerri |
AW: Apache Webserver linux:/home/andre # ps -Af | grep httpd root 19418 19410 0 21:49 pts/98 00:00:00 grep httpd linux:/home/andre # |
AW: Apache Webserver Dein Webserver laeuft scheinbar nicht. Kein Wunder, das er nicht reagiert. Probier mal /usr/sbin/apache2ctl start Und dann nochmal ps -Af | grep httpd Gruesse, kerri |
AW: Apache Webserver [QUOTE] linux:/home/andre # /usr/sbin/apache2crl start bash: /usr/sbin/apache2crl: Datei oder Verzeichnis nicht gefunden linux:/home/andre # /usr/sbin/apache2ctl start httpd2: Could not determine the server's fully qualified domain name, using 192.168.0.1 for ServerName linux:/home/andre # ps -Af | grep httpd root 19523 1 1 21:55 ? 00:00:00 /usr/sbin/httpd2 -f /etc/apache2/httpd.conf -k start wwwrun 19524 19523 0 21:55 ? 00:00:00 /usr/sbin/httpd2 -f /etc/apache2/httpd.conf -k start wwwrun 19525 19523 0 21:55 ? 00:00:00 /usr/sbin/httpd2 -f /etc/apache2/httpd.conf -k start wwwrun 19526 19523 0 21:55 ? 00:00:00 /usr/sbin/httpd2 -f /etc/apache2/httpd.conf -k start wwwrun 19527 19523 0 21:55 ? 00:00:00 /usr/sbin/httpd2 -f /etc/apache2/httpd.conf -k start wwwrun 19528 19523 0 21:55 ? 00:00:00 /usr/sbin/httpd2 -f /etc/apache2/httpd.conf -k start root 19530 19510 0 21:55 pts/100 00:00:00 grep httpd linux:/home/andre # [/QUOTE] Läuft! THX, THX, THX. Muss ich das jetzt jedes Mal machen nach nem Systemneustart oder ist das jetzt einmal gestartet und rennt künftig als Service? |
AW: Apache Webserver Ueber YaST -> System -> Runlevel Editor solltest Du den apache2 beim Systemstart automatisch anschalten lassen koennen. Gruesse, kerri |
AW: Apache Webserver Okay, das war's auch schon. THX. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:32 Uhr. |
Powered by vBulletin® Version 3.8.10 (Deutsch)
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.5.2 ©2010, Crawlability, Inc.