PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Apache spinnt



GN911
16.07.05, 16:54
Hallo

ich habe folgendes Problem.
Ich will den Webserver neu starten aber es kommt diese Fehlermeldung.

# httpd restart service

Syntax error on line 21 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/mod_env.so into server: /etc/httpd/modules/mod_env.so: cannot open shared object file: No such file or directory

Woran kann es außerdem liegen, das er die URL nicht richtig auflöst.
Ich muss immer http://127.0.0.1/ angeben anstatt http://127.0.0.1

GN

LKH
16.07.05, 17:22
Hi,

zu 1: die fehlt das Modul. Entweder nachinstallieren oder in der Zeile 21 der httpd.conf eine Kommentarzeichen voranstellen (#). Ich gehe mal davon aus, dass du weisst, wofür das Modul ist; schliesslich betriebst du ja den Server.

zu 2: http://httpd.apache.org/docs/misc/FAQ-E.html#set-servername

Hoffe es hilft,

LKH

Tomek
16.07.05, 19:26
Ich gehe mal davon aus, dass du weisst, wofür das Modul ist; schliesslich betriebst du ja den Server.
Man bist du naiv...

GN911
16.07.05, 20:23
Hallo

Danke für die Antwort,

soweit ich
#LoadModule env_module modules/mod_env.so auskommentiere, will er das die nächste kommentiert wird.



#LoadModule mmap_static_module modules/mod_mmap_static.so
LoadModule env_module modules/mod_env.so
LoadModule config_log_module modules/mod_log_config.so
LoadModule agent_log_module modules/mod_log_agent.so
LoadModule referer_log_module modules/mod_log_referer.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule status_module modules/mod_status.so
LoadModule info_module modules/mod_info.so


So sieht sieht es in meiner httpd.conf aus.....!?
Mit dem Slash bin ich noch nicht schlauer

GN

Tomek
17.07.05, 09:15
Welche Distribution und Version hast du bitte? Und benutzt du die Apache-Pakete deiner Distribution?

Zu deinem Problem mit dem Slash: Du musst einen korrekten ServerName in der Apache-Konfiguration einsetzen. Hier nochmal etwas ausführlicher und in deutscher Sprache:
http://httpd.apache.org/docs-2.0/mod/core.html#servername

LKH
17.07.05, 14:11
Hi,


Man bist du naiv...


Ne ne, nicht naiv, nur provokant ... :D

Schönen Restsonntag noch,

LKH

GN911
17.07.05, 16:56
Hallo



Welche Distribution und Version hast du bitte? Und benutzt du die Apache-Pakete deiner Distribution?

Folgende Distribution benutze ich: Mandrake 10 mit dem Apache 1.3.29.

Server version: Apache-AdvancedExtranetServer/1.3.29 (Mandrake Linux/1mdk)
Server built: Nov 8 2003 14:34:42

mysql Ver 12.22 Distrib 4.0.18, for mandrake-linux-gnu (i586)

GN

Blackcollar
17.07.05, 21:15
Hallo

Danke für die Antwort,

soweit ich auskommentiere, will er das die nächste kommentiert wird.


GN


ma geschaut, wo die Module liegen , bzw. was in dem angegebenen Ordner liegt ??