Apache startet nicht

Alles, was den Apache betrifft, kann hier besprochen werden.

Apache startet nicht

Postby grafie » 04. February 2007 13:36

Hallo, habe den Apache 1.3.37 installiert aber bei eingabe von
Code: Select all
apache ctl start
bekomme ich Fehler: command not found

Wo liegt hier der Fehler :(
grafie
 
Posts: 3
Joined: 04. February 2007 13:28

Postby Wiedmann » 04. February 2007 17:02

Daran das es dieses Kommando nicht gibt.

Meinst du zufälllig dieses?
http://httpd.apache.org/docs/2.2/progra ... hectl.html
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

re

Postby grafie » 04. February 2007 18:48

ich probiere folgendes:

linux-ewts:/usr/local/apache/bin # apachectl start
bash: apachectl: command not found
linux-ewts:/usr/local/apache/bin # apachectl -k
bash: apachectl: command not found
linux-ewts:/usr/local/apache/bin # apachectl -k start
bash: apachectl: command not found

laut apache:

Overview for the impatient
--------------------------

$ ./configure --prefix=PREFIX
$ make
$ make install
$ PREFIX/bin/apachectl start

also scheint es bei nicht zu funktionieren.

Nach install bekomme ich die Meldung:
Apache install i.o.

Weiss leider nicht weiter.
grafie
 
Posts: 3
Joined: 04. February 2007 13:28

Postby Wiedmann » 04. February 2007 21:25

$ ./configure --prefix=PREFIX

Warum steht hier kein Pfad? Ansonsten lass den Parameter weg, und er wird in die Defaultlocation installiert.

inux-ewts:/usr/local/apache/bin # apachectl start
bash: apachectl: command not found

Wie ruft man ein Programm im aktuellen Verzeichnis auf?
--> man sh / man bash (oder welche Shell du auch immer hast)

Abgesehen von diesem Fehler, solltest du natürlich auch mal schauen, ob angesichts deines PREFIX, sich diese Datei überhaupt dort befindet (ls / locate / find).
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

re

Postby grafie » 05. February 2007 10:03

Habe jetzt OS neu augespielt inclusive apache2 server
Wenn ich den Server starten will bekomme ich folgende Meldung:

[code]grafie:/usr/sbin # apache2ctl -k start
httpd2: Syntax error on line 188 of /etc/apache2/httpd.conf: Could not open configuration file /etc/apache2/sysconfig.d/include.conf: No such file or directory[/code

Wie muss ich vorgehen um den Server zu starten?
grafie
 
Posts: 3
Joined: 04. February 2007 13:28

Postby Wiedmann » 05. February 2007 10:11

Ich würde den Fehler in 188 beheben. Da scheint eine Include-Directive fehlerhaft zu sein und zeigt auf eine falsche Datei.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to Apache

Who is online

Users browsing this forum: No registered users and 12 guests