Précédent   Forum des professionnels en informatique > Systèmes > Linux > Distributions > Ubuntu
Ubuntu Vos questions sur les distributions Ubuntu et dérivées (Kubuntu, Xubuntu... )
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 26/05/2006, 08h55   #1
Provisoirement toléré
 
Homme
Administrateur systèmes et réseaux
Inscription : juin 2004
Messages : 493
Détails du profil
Informations personnelles :
Sexe : Homme
Âge : 88
Localisation : Etats-Unis

Informations professionnelles :
Activité : Administrateur systèmes et réseaux

Informations forums :
Inscription : juin 2004
Messages : 493
Points : 256
Points : 256
Par défaut [UBUNTU] Apache ne fonctionne toujours pas après un redémarrage

Bonjour,
J'ai installé, Ubuntu 5.10 "Breezy Badger" , sans problème et immédiatement, j'ai installé le trio: apache2, php5 et mysql-server,sans soucis ......aussitôt aprés, j'ai commencé à faire les vérifications d'usage(qui se passent trés bien):
Code :
cheikhbouchihda$sudo  /etc/init.d/apache2 start
# lancement d'apache2
Code :
cheikhbouchihda$sudo lynx http://localhost
ici, j'obtiens la page d'acceuil d'apache2.......tant mieux

je fais aussi,

Code :
cheikhbouchihda$sudo lynx http://localhost/test.php
j'obtiens le phpinfo
bien sur :
Citation:
//test.php
<?php
phpinfo();
?>
J'etteind mon ordinateur, et au prochain demarrage de celui-ci, et exactement, (c'est ça mon problème), quand je fais:
Code :
cheikhbouchihda$sudo  /etc/init.d/apache2 start
# lancement d'apache2(sans problème)

mais:

Code :
cheikhbouchihda$sudo lynx http://localhost
j'obtiens:
Citation:
Making HTTP connection to localhost
puis rien.....puis ça plante....puis rien....
En faisant, http://localhost, dans la barre d'adresse de mozilla et aprés une tentative longue et anormale de connexion, sans succes, j'obtiens le message:
Citation:
The operation time out when attempting to contact localhost.
Sans obtenir ce que je veux, c-à-d, comme avant, la page d'acceuil d'apache2.
Ma question:
Qu'est-ce qui gène ou bloque la page d'acceuil apache2, pour s'afficher et comment faire pour palier à ce problème?
Merci d'avance pour l'aide.
devt11 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 27/05/2006, 01h17   #2
Membre confirmé
 
Avatar de vosaray
 
Inscription : mai 2004
Messages : 208
Détails du profil
Informations forums :
Inscription : mai 2004
Messages : 208
Points : 211
Points : 211
Que disent les logs d'apache dans /var/log/apache ?
Normallement il y en a 2 error et access.
vosaray est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 27/05/2006, 09h16   #3
Provisoirement toléré
 
Homme
Administrateur systèmes et réseaux
Inscription : juin 2004
Messages : 493
Détails du profil
Informations personnelles :
Sexe : Homme
Âge : 88
Localisation : Etats-Unis

Informations professionnelles :
Activité : Administrateur systèmes et réseaux

Informations forums :
Inscription : juin 2004
Messages : 493
Points : 256
Points : 256
Bonjour,

Code :
$cat /var/log/apache2/error.log
donne:


Citation:
[Sat May 27 07:37:02 2006] [notice] Apache/2.0.54 (Ubuntu) configured -- resumin g normal operations
[Sat May 27 07:39:58 2006] [notice] caught SIGTERM, shutting down
[Sat May 27 07:40:02 2006] [notice] Apache/2.0.54 (Ubuntu) configured -- resumin g normal operations
[Sat May 27 07:40:02 2006] [notice] caught SIGTERM, shutting down
[Sat May 27 07:40:04 2006] [notice] Apache/2.0.54 (Ubuntu) PHP/5.0.5-2ubuntu1.2 configured -- resuming normal operations
[Sat May 27 07:41:53 2006] [error] [client 127.0.0.1] File does not exist: /var/ www/favicon.ico
[Sat May 27 07:44:16 2006] [error] [client 127.0.0.1] File does not exist: /var/ www/favicon.ico
[Sat May 27 07:44:43 2006] [notice] caught SIGTERM, shutting down
[Sat May 27 07:44:44 2006] [notice] Apache/2.0.54 (Ubuntu) PHP/5.0.5-2ubuntu1.2 configured -- resuming normal operations
[Sat May 27 07:44:52 2006] [error] [client 127.0.0.1] File does not exist: /var/ www/favicon.ico
[Sat May 27 07:47:22 2006] [error] [client 127.0.0.1] File does not exist: /var/ www/favicon.ico
[Sat May 27 07:59:26 2006] [error] [client 127.0.0.1] File does not exist: /var/ www/favicon.ico
[Sat May 27 07:59:29 2006] [error] [client 127.0.0.1] File does not exist: /var/ www/favicon.ico
[Sat May 27 08:18:38 2006] [error] [client 127.0.0.1] File does not exist: /var/ www/favicon.ico
[Sat May 27 08:18:42 2006] [error] [client 127.0.0.1] File does not exist: /var/ www/favicon.ico
[Sat May 27 08:19:12 2006] [notice] caught SIGTERM, shutting down
[Sat May 27 09:05:34 2006] [notice] Apache/2.0.54 (Ubuntu) PHP/5.0.5-2ubuntu1.2 configured -- resuming normal operations
[Sat May 27 09:07:21 2006] [notice] caught SIGTERM, shutting down
[Sat May 27 09:07:22 2006] [notice] Apache/2.0.54 (Ubuntu) PHP/5.0.5-2ubuntu1.2 configured -- resuming normal operations
et,
Code :
$cat /var/log/apache2/access.log
aboutit à:
Citation:
127.0.0.1 - - [27/May/2006:07:38:05 +0200] "GET / HTTP/1.0" 200 557 "-" "Lynx/2.8.5rel.1 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/1.0.16"
127.0.0.1 - - [27/May/2006:07:41:53 +0200] "GET /test.php HTTP/1.1" 200 37289 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:41:53 +0200] "GET /test.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 4644 "http://localhost/test.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:41:53 +0200] "GET /test.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2146 "http://localhost/test.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:41:53 +0200] "GET /favicon.ico HTTP/1.1" 404 305 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:44:16 +0200] "GET /test.php HTTP/1.1" 200 37289 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:44:16 +0200] "GET /test.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 4644 "http://localhost/test.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:44:16 +0200] "GET /test.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2146 "http://localhost/test.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:44:16 +0200] "GET /favicon.ico HTTP/1.1" 404 305 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:44:52 +0200] "GET /test.php HTTP/1.1" 200 38197 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:44:52 +0200] "GET /test.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 4644 "http://localhost/test.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:44:52 +0200] "GET /test.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2146 "http://localhost/test.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:44:52 +0200] "GET /favicon.ico HTTP/1.1" 404 305 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:47:21 +0200] "GET /gd.php HTTP/1.1" 200 364 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:47:22 +0200] "GET /favicon.ico HTTP/1.1" 404 305 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:59:26 +0200] "GET /gd.php HTTP/1.1" 200 364 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:59:26 +0200] "GET /favicon.ico HTTP/1.1" 404 305 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:59:28 +0200] "GET /test.php HTTP/1.1" 200 38201 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:59:28 +0200] "GET /test.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 4644 "http://localhost/test.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:59:28 +0200] "GET /test.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2146 "http://localhost/test.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:07:59:29 +0200] "GET /favicon.ico HTTP/1.1" 404 305 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:08:18:38 +0200] "GET /gd.php HTTP/1.1" 200 364 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:08:18:38 +0200] "GET /favicon.ico HTTP/1.1" 404 305 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:08:18:42 +0200] "GET /test.php HTTP/1.1" 200 38201 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:08:18:42 +0200] "GET /test.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 4644 "http://localhost/test.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:08:18:42 +0200] "GET /test.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2146 "http://localhost/test.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
127.0.0.1 - - [27/May/2006:08:18:42 +0200] "GET /favicon.ico HTTP/1.1" 404 305 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"
Voilà, encore une fois, merci.
devt11 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 28/05/2006, 08h30   #4
Provisoirement toléré
 
Homme
Administrateur systèmes et réseaux
Inscription : juin 2004
Messages : 493
Détails du profil
Informations personnelles :
Sexe : Homme
Âge : 88
Localisation : Etats-Unis

Informations professionnelles :
Activité : Administrateur systèmes et réseaux

Informations forums :
Inscription : juin 2004
Messages : 493
Points : 256
Points : 256
Bonjour,
Juste une petite précision; aprés redemarrage du pc et quand je fais:
Code :
~$ ps aux |grep apache2
alors j'obtiens:
Citation:
root 9375 0.0 1.1 15960 5740 ? Ss 09:07 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 9378 0.0 1.1 16096 5760 ? S 09:07 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 9379 0.0 1.1 16096 5760 ? S 09:07 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 9380 0.0 1.1 16096 5760 ? S 09:07 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 9381 0.0 1.1 16096 5760 ? S 09:07 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 9382 0.0 1.1 16096 5760 ? S 09:07 0:00 /usr/sbin/apache2 -k start -DSSL
cheikhbouchihda 9456 0.0 0.1 2936 616 pts/0 R+ 09:34 0:00 grep apache2
et, en faisant:
Code :
sudo tail /var/log/apache2/error.log
j'ai eu:
Citation:
[Sat May 27 07:44:52 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sat May 27 07:47:22 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sat May 27 07:59:26 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sat May 27 07:59:29 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sat May 27 08:18:38 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sat May 27 08:18:42 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sat May 27 08:19:12 2006] [notice] caught SIGTERM, shutting down
[Sat May 27 09:05:34 2006] [notice] Apache/2.0.54 (Ubuntu) PHP/5.0.5-2ubuntu1.2 configured -- resuming normal operations
[Sat May 27 09:07:21 2006] [notice] caught SIGTERM, shutting down
[Sat May 27 09:07:22 2006] [notice] Apache/2.0.54 (Ubuntu) PHP/5.0.5-2ubuntu1.2 configured -- resuming normal operations
preuve qu'apache fonctionne bien.
devt11 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 29/05/2006, 05h48   #5
Provisoirement toléré
 
Homme
Administrateur systèmes et réseaux
Inscription : juin 2004
Messages : 493
Détails du profil
Informations personnelles :
Sexe : Homme
Âge : 88
Localisation : Etats-Unis

Informations professionnelles :
Activité : Administrateur systèmes et réseaux

Informations forums :
Inscription : juin 2004
Messages : 493
Points : 256
Points : 256
bonjour,
ça marche , il a fallut faire ifconfig -a et voir ce qui ne va pas.
devt11 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 12h26.


 
 
 
 
Partenaires

Hébergement Web