Apache starten

Dimon27

New Member
Hallo

hab mir Apache installiert ( hab immo alle denkbaren Versionen ausprobiert )
bekomm aber nicht zum laufen.
cd /usr/local/sbin
./httpd

-> schluckt und sagt nichts, soweit ok

lynx http://localhost -> passiert nichts, bzw Seite nicht da.

apachectl status -> dito
apachectl start -> http could not be startet

hmm, seltsam

Hardware: läuft :) ( P1 -133 / 32MB / 2,1 GB ist ein altes Laptop )

hat jemand 'ne Idee was das sein könnte?!?

mfg

PS freeBSD 4.10 läuft hier, genau dasselbes Problem mit dem 5.3, installiert habe ich Apache über /stand/sysinstall (unter 4.10 und unter 5.3)
 
Last edited:
Hi!
Was sagt less /var/log/httpd-error? Evntl. auch ne Info in /var/log/messages

mfg
 
Morgen,

hast du den apache in /etc/rc.conf aktiviert?

Da gehört sowas hier rein:

apache2_enable="YES"
apache2ssl_enable="NO"
apache2limits_enable="NO"
apache2_flags=""
apache2limits_args="-e -C daemon"

Danach:

/usr/local/etc/rc.d/apache.sh start

oder den Rechner neu starten ;-)

CU

Martin
 
Vielleicht spuckt

apachectl configtest

was Sinnvolles aus.

--> configtest Run a configuration file syntax test. It parses the configuration files and either reports Syntax Ok or detailed information about the particular syntax error.

Und auch hier mal wieder:

Welche Version? Welches FreeBSD?

Mit php, mysql oder ....?

gruss vom pelz
 
Hallo
hab die beiden Zeilen in http.conf
auskommentiert:
#LoadModule unique_id_module libexec/mod_unique_id.so
#AddModule mod_unique_id.c

nun rennt Apache.

Und DAS verstehe ich nicht, denn:
127.0.0.1 localhost localhost.my.domain
... in der /etc/hosts eingetragen ist?

mfg
 
Back
Top