PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : apache 2 ist nicht mehr zu starten,...



teekillaxxx
29.06.05, 15:43
Hallo Leute,

ich bin zwar neu hier, hoffe aber, dass Ihr mir trotzdem helfen könnt.
Auf meinem Webserver läuft suse 9.2 mit apache 2. Nach einem Reboot ist der Apache nicht mehr hochgefahren. Auch ein manueller Start funktioniert nicht mehr. Folgende Fehlermeldung bekomme ich zu sehen:
-

goofy:/etc/apache2 # /etc/init.d/apache2 start
Starting httpd2 (prefork) Syntax error on line 163 of /etc/apache2/httpd.conf:
Invalid command 'Directory', perhaps mis-spelled or defined by a module not included in the server configuration

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
failed
--

Ich hoffe Ihr habt eine Idee. Danke und Grüße
Vossi

killerhorse
29.06.05, 15:59
Hallo,

Dann poste doch mal die entspr. Zeile die der Apache beanstandet hat. Bzw. ein paar Zeilen davor und danach...

MfG

Christian

teekillaxxx
29.06.05, 16:03
# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>

# List of resources to look for when the client requests a directory
Zeile 63 Directory index.htm index.html index.php

### 'Main' server configuration #############################################
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition. These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#
Include /etc/apache2/default-server.conf

------------------------------
Danke

coolpix
29.06.05, 16:13
# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>

# List of resources to look for when the client requests a directory
Zeile 63 Directory index.htm index.html index.php

### 'Main' server configuration #############################################
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition. These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#
Include /etc/apache2/default-server.conf

------------------------------
Danke

163, nicht 63!

phpmasta
29.06.05, 16:32
Directory wird beim fehler ausgegeben.
vl nur beim schreiben vertan :D

ersetze das Directory durch DirectoryIndex
dann sollte es gehn

teekillaxxx
29.06.05, 16:39
Klasse, das war der richtige Tip ..
:)

DANKE