Toon posts:

[BC3] apachectl kent ie kennelijk niet, wat doe ik fout

Pagina: 1
Acties:

Verwijderd

Topicstarter
root@www:/usr/local/apache/bin# ls
total 660
drwxr-xr-x 2 root root 4096 Apr 14 21:06 .
drwxr-xr-x 13 root root 4096 Apr 14 21:06 ..
-rwxr-xr-x 1 root root 24792 Apr 14 21:06 ab
-rwxr-xr-x 1 root root 7407 Apr 14 21:06 apachectl
-rwxr-xr-x 1 root root 20800 Apr 14 21:06 apxs
-rwxr-xr-x 1 root root 10933 Apr 14 21:06 dbmmanage
-rwxr-xr-x 1 root root 14472 Apr 14 21:06 htdigest
-rwxr-xr-x 1 root root 36716 Apr 14 21:06 htpasswd
-rwxr-xr-x 1 root root 504899 Apr 14 21:06 httpd
-rwxr-xr-x 1 root root 7540 Apr 14 21:06 logresolve
-rwxr-xr-x 1 root root 5592 Apr 14 21:06 rotatelogs
-rws--x--x 1 root root 10408 Apr 14 21:06 suexec
root@www:/usr/local/apache/bin# apachectl start
bash: apachectl: command not found
root@www:/usr/local/apache/bin#

  • RemcoX
  • Registratie: Mei 2000
  • Laatst online: 14-02 20:05
type eens:

./apachectl start

Verwijderd

hehehe, jij hebt nog heel wat documentatie te lezen...das echt basic linux.

Als de apache bin niet in je $PATH staat kande die exe niet vinden. ook al sta je in die dir. Dan moet je of het hele pad aangeven of in die dir gaan staan en er ./ voorzetten.

Verwijderd

Topicstarter
thx,
simpel als je het weet :)
in welke dir staat die standaard site eigenlijk?

Verwijderd

Topicstarter
klopt, documentatie lezen -> dinsdag meteen naar de bieb..

Verwijderd

Dan moet je even in je httpd.conf kijken, daar staat de root dir in ingesteld (net als de rest van je instellingen trouwens)

  • RemcoX
  • Registratie: Mei 2000
  • Laatst online: 14-02 20:05
Euh standaard site? Je bedoelt dat ''It worked'' geval? Die staat in je htdocs, bijvoorbeeld in /usr/local/apache/htdocs

Lokatie kan je instellen in /usr/local/apache/conf/httpd.conf
Pagina: 1