Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Apache] Démarrage manuel OK automatique KO
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
Ruag
n00b
n00b


Joined: 23 Apr 2004
Posts: 10

PostPosted: Tue May 04, 2004 10:51 pm    Post subject: [Apache] Démarrage manuel OK automatique KO Reply with quote

Bonjour,

Si je lance "apache2 -k start", tout se passe bien et même Php fonctionne.

Mais si je fais, "rc-update add apache2 default", je reçois, au démarrage, le message d'erreur suivant : "Protocol not available: make_sock: for address [::]:80, apr_socket_opt_set: (IPV6_V6ONLY)". Ce qui voudrait dire que je dois changer la ligne "Listen 80" en "Listen 0.0.0.0:80" dans "apache2.conf".

Seulement voilà, cette modification est déjà faite...

Donc, là je ne comprends plus rien..
Back to top
View user's profile Send private message
fafounet
l33t
l33t


Joined: 03 Apr 2004
Posts: 703
Location: Meuves, France

PostPosted: Wed May 05, 2004 9:12 am    Post subject: Reply with quote

Tiens ca me rappele l´erreur que j´ai chez moi :lol: . Ca m´a fait ca qd je suis passe a la derniere version d´apache.
Back to top
View user's profile Send private message
TheAl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2004
Posts: 134

PostPosted: Wed May 05, 2004 9:28 am    Post subject: IPv6 Reply with quote

hum,

C'est le problème IPv6, qui change le format d'une adresse IP de 192.168.1.20 en une adresse hexa sur 128 bits (je crois).

Deux choses,
1: La machine supporte IPv6 (dans le kernel)
Alors, il faut activer le module IPv6 dans les protocoles dans /etc/rc.conf
Code:
PROTOCOLS="1 2 10"


2: La machine ne supporte PAS IPv6 :
Code:
USE="-ipv6" emerge apache

Attention ! Je crois que ce n'est plus valable pour la version 2.0.49. A vérifier.
Back to top
View user's profile Send private message
Ruag
n00b
n00b


Joined: 23 Apr 2004
Posts: 10

PostPosted: Wed May 05, 2004 3:12 pm    Post subject: Reply with quote

pas mieux...

Et je n'arrive pas à m'expliquer la différence de comportement.
Back to top
View user's profile Send private message
TheAl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2004
Posts: 134

PostPosted: Fri May 07, 2004 11:48 am    Post subject: Reply with quote

Et tout ca avec quelles versions de apache ?

Ne pas oublier le
Code:
/etc-update


Et pour assurer le tout, quel est le contenu des fichiers suivants :
    /etc/init.d/apache2
    /etc/conf.d/apache2
?

Je soupsonne une ancienne option de Apache qui spécifie l'utilisation de IPv6.
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