Bonjour a tous.
J'ai utilisé le tutoriel suivant pour installer apache sous ma gentoo
(noyeau 2.6.11 gentoo) :
Code :
- INSTALLATION
- Pour bien commencer :
- emerge sync
- USE="mysql innodb apache2" emerge mysql apache mod_php
- Une fois que linstall est finie, pensez à faire un etc-update
- CONFIGURATION
- Mettre à jour /etc/conf.d/apache2 en ajoutant :
- APACHE2_OPTS="-D PHP4"
- Ensuite, dans /etc/apache2/conf/commonapache2.conf, ajoutez :
- AddType application/x-httpd-php .php
- AddType application/x-httpd-php .phtml
- AddType application/x-httpd-php .php3
- AddType application/x-httpd-php .php4
- AddType application/x-httpd-php-source .phps
- Jai modifié la ligne DirectoryIndex pour avoir la chose suivante :
- DirectoryIndex index.html index.php index.php3 index.shtml index.cgi index.pl index.htm Default.htm default.htm index.html.var
- Dans /etc/apache2/conf/mime.types, ajoutez :
- application/x-httpd-php php
- application/x-httpd-php phtml
- application/x-httpd-php php3
- application/x-httpd-php php4
- application/x-httpd-php-source phps
- Dans /etc/apache2/conf/apache2.conf, précisez :
- ServerName "localhost"
- et jai commenté :
- # LoadModule unique_id_module modules/mod_unique_id.so
- Relancer apache /etc/init.d/apache2 restart et le tour est joué
- FIN
|
Seulement, quand j'essaie de lancer ou relancer apache, voici ce que me répond mon shell :
Code :
- bash-2.05b# /etc/init.d/apache2 start
- * Bringing eth0 up...
- adsl: Unknown host
- ifconfig: `--help' gives usage information. [ !! ]
- * Bringing eth0 up...
- adsl: Unknown host
- ifconfig: `--help' gives usage information. [ !! ]
- * ERROR: Problem starting needed services.
- * "netmount" was not started.
- * ERROR: Problem starting needed services.
- * "apache2" was not started.
|
Je ne comprends pas bien les problemes qui sont posés...
Dans le doute j'ai fait un ifconfig :
Code :
- eth0 Link encap:Ethernet HWaddr 00:50:BA:A7:AA:83
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
- Interrupt:11 Base address:0xc000
- eth1 Link encap:Ethernet HWaddr 00:50:8D:E5:1A:60
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:3699614 errors:0 dropped:0 overruns:0 frame:0
- TX packets:3698795 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:2065076381 (1969.4 Mb) TX bytes:1558830842 (1486.6 Mb)
- Interrupt:10
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:3942 errors:0 dropped:0 overruns:0 frame:0
- TX packets:3942 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:164767 (160.9 Kb) TX bytes:164767 (160.9 Kb)
- ppp0 Link encap:Point-to-Point Protocol
- inet addr:81.248.84.176 P-t-P:81.248.84.1 Mask:255.255.255.255
- UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
- RX packets:1184565 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1297052 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:3
- RX bytes:348153412 (332.0 Mb) TX bytes:673392610 (642.1 Mb)
- vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
- inet addr:192.168.130.1 Bcast:192.168.130.255 Mask:255.255.255.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:484 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
Et je ne comprends toujours pas pourquoi ce probleme.
Aurriez vous une idée a ce sujet?
Merci d'avance!
---------------
http://www.core-tx.com