Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[LAMP] Apache est lancé mais impossible d'accéder à localhos
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
natz
n00b
n00b


Joined: 17 Jan 2010
Posts: 13

PostPosted: Sun Jan 17, 2010 11:31 am    Post subject: [LAMP] Apache est lancé mais impossible d'accéder à localhos Reply with quote

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
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Sun Jan 17, 2010 1:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
natz
n00b
n00b


Joined: 17 Jan 2010
Posts: 13

PostPosted: Sun Jan 17, 2010 5:25 pm    Post subject: Reply with quote

Merci ;)
c'est fait !
Back to top
View user's profile Send private message
Solevis
n00b
n00b


Joined: 09 Jan 2010
Posts: 16
Location: Pau (64)

PostPosted: Sun Jan 17, 2010 5:58 pm    Post subject: Reply with quote

Est ce que tu as bien le loopback d'activer ?

Code:
ifconfig lo
Back to top
View user's profile Send private message
natz
n00b
n00b


Joined: 17 Jan 2010
Posts: 13

PostPosted: Sun Jan 17, 2010 6:16 pm    Post subject: Reply with quote

Yep au démarrage.. :?
Back to top
View user's profile Send private message
Solevis
n00b
n00b


Joined: 09 Jan 2010
Posts: 16
Location: Pau (64)

PostPosted: Sun Jan 17, 2010 6:20 pm    Post subject: Reply with quote

Essai au cas ou :
Code:
ping localhost
Back to top
View user's profile Send private message
natz
n00b
n00b


Joined: 17 Jan 2010
Posts: 13

PostPosted: Sun Jan 17, 2010 7:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum