View previous topic :: View next topic |
Author |
Message |
natz n00b
Joined: 17 Jan 2010 Posts: 13
|
Posted: Sun Jan 17, 2010 11:31 am Post subject: [LAMP] Apache est lancé mais impossible d'accéder à localhos |
|
|
Bonjour !
J'ai installer lamp (apache2 php mysql phpmyadmin), mis le service au démarrage, edité le fichier /etc/apache2/httpd.conf, pour ajouter la ligne ServerName localhost
mais je n'arrive pas à acceder à localhost :
Code: | jean-baptiste@pc-jb ~ $ sudo /etc/init.d/apache2 restart
Mot de passe :
* Stopping apache2 ...
httpd (no pid file) not running [ ok ]
* Starting apache2 ... [ ok ]
|
Code: | [b]La connexion a échoué[/b]
Firefox ne peut établir de connexion avec le serveur à l'adresse localhost. |
si quelqu'un a une petite idée
merci
Last edited by natz on Sun Jan 17, 2010 5:25 pm; edited 1 time in total |
|
Back to top |
|
|
geekounet Bodhisattva
Joined: 11 Oct 2004 Posts: 3772 Location: Wellington, Aotearoa
|
Posted: Sun Jan 17, 2010 1:06 pm Post subject: |
|
|
Bonjour et bienvenue ! Peux-tu mettre ton titre du topic en conformité avec les conventions de notre forum s'il te plait ? Et le rendre plus explicite sur ton problème ? Et ne traiter qu'un problème à la fois dans des topics séparés ? (et pas tous en même temps, c'est le meilleur moyen pour ne pas s'en sortir) (tout ça c'est dans les règles) Merci |
|
Back to top |
|
|
natz n00b
Joined: 17 Jan 2010 Posts: 13
|
Posted: Sun Jan 17, 2010 5:25 pm Post subject: |
|
|
Merci
c'est fait ! |
|
Back to top |
|
|
Solevis n00b
Joined: 09 Jan 2010 Posts: 16 Location: Pau (64)
|
Posted: Sun Jan 17, 2010 5:58 pm Post subject: |
|
|
Est ce que tu as bien le loopback d'activer ?
|
|
Back to top |
|
|
natz n00b
Joined: 17 Jan 2010 Posts: 13
|
Posted: Sun Jan 17, 2010 6:16 pm Post subject: |
|
|
Yep au démarrage.. |
|
Back to top |
|
|
Solevis n00b
Joined: 09 Jan 2010 Posts: 16 Location: Pau (64)
|
Posted: Sun Jan 17, 2010 6:20 pm Post subject: |
|
|
Essai au cas ou :
|
|
Back to top |
|
|
natz n00b
Joined: 17 Jan 2010 Posts: 13
|
Posted: Sun Jan 17, 2010 7:36 pm Post subject: |
|
|
Code: | jean-baptiste@pc-jb ~ $ ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.078 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.037 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.072 ms
^C
--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.037/0.062/0.078/0.019 ms
|
|
|
Back to top |
|
|
|