Pb web avec serveur sous debian - Page 2
Résolu
Précédent
- 1
- 2
Bonjour,
aprés ce week end de réflexion j'hésite un peu à faire les commandes trouvée sur le wiki de la golzoneweb.
lami20j si tu as un peux de temps, peux tu me conseiller ??
Merci d'avance.
aprés ce week end de réflexion j'hésite un peu à faire les commandes trouvée sur le wiki de la golzoneweb.
lami20j si tu as un peux de temps, peux tu me conseiller ??
Merci d'avance.
Salut,
je te propose de faire comme ça
lami20j
je te propose de faire comme ça
aptitude reinstall apache2 libapache2-mod-php5 mysql-server-5.0 php5--
lami20j
Merci de continuer à m'aider,
alors je viens de faire aptitude reinstall comme tu m'as dit, tous se pas bien jusqu'a mysql qui me renvoie cette erreur.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Sinon si je fais un apache2 -M le module php5 est bien charger, je te copie le résultat de la commande :
www3:/home/fred# apache2 -M
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
negotiation_module (shared)
php5_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK
alors je viens de faire aptitude reinstall comme tu m'as dit, tous se pas bien jusqu'a mysql qui me renvoie cette erreur.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Sinon si je fais un apache2 -M le module php5 est bien charger, je te copie le résultat de la commande :
www3:/home/fred# apache2 -M
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
negotiation_module (shared)
php5_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK
tous se pas bien jusqu'a mysql qui me renvoie cette erreur.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Ce n'est pas un message d'erreur. C'est juste une vérification faite par mysql et il te presente un compte rendu de ses actions ;-)
maintenant essaie http://localhost et dit si ça marche
Checking for corrupt, not cleanly closed and upgrade needing tables..
Ce n'est pas un message d'erreur. C'est juste une vérification faite par mysql et il te presente un compte rendu de ses actions ;-)
maintenant essaie http://localhost et dit si ça marche
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Génialllllllllll
Merci merci, beaucoup Lami20j, maintenant ça marche j'ai pu installer mon site spip, il ne me reste plus qu'a le configuer.
Tous est bien passer.
il me reste juste un petit soucis mais rien de grave peut être as tu la solution, je n'ai pas encore vraiment chercher, mais si tu sais c'est encore mieux.
voilà j'ai installé dans la foulée phpmyadmin (je pensais qu'il se serais installé dans /var/www ??) mais quand je tape http://localhost/phpmyadmin
rien (404 Not found).
si tu as une idée je suis preneur en tous cas merci pour ton aide je pense qu'on peut m'être résolu pour le post
Merci merci, beaucoup Lami20j, maintenant ça marche j'ai pu installer mon site spip, il ne me reste plus qu'a le configuer.
Tous est bien passer.
il me reste juste un petit soucis mais rien de grave peut être as tu la solution, je n'ai pas encore vraiment chercher, mais si tu sais c'est encore mieux.
voilà j'ai installé dans la foulée phpmyadmin (je pensais qu'il se serais installé dans /var/www ??) mais quand je tape http://localhost/phpmyadmin
rien (404 Not found).
si tu as une idée je suis preneur en tous cas merci pour ton aide je pense qu'on peut m'être résolu pour le post
voilà,
www3:/var/www# whereis phpmyadmin
phpmyadmin: /etc/phpmyadmin /usr/share/phpmyadmin
www3:/var/www# ls -l /var/www/
total 8
lrwxrwxrwx 1 root root 24 2007-10-04 12:06 analog -> /usr/share/analog/images
drwxr-xr-x 2 root root 4096 2007-10-05 13:50 apache2-default
drwxrwxrwx 9 root root 4096 2007-10-08 10:27 spip
www3:/var/www# tail /var/l
lib/ lib64/ local/ lock/ log/ lost+found/
www3:/var/www# tail /var/log/apache2/error.log
[Mon Oct 08 10:26:41 2007] [error] [client 194.199.224.145] script '/var/www/apache2-default/index.php' not found or unable to stat, referer: http://www3.lyc-pagnol.ac-aix-marseille.fr/apache2-default/
[Mon Oct 08 10:26:41 2007] [error] [client 194.199.224.145] script '/var/www/apache2-default/index.php' not found or unable to stat, referer: http://www3.lyc-pagnol.ac-aix-marseille.fr/apache2-default/
[Mon Oct 08 10:26:41 2007] [error] [client 194.199.224.145] File does not exist: /var/www/favicon.ico
[Mon Oct 08 10:29:59 2007] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Mon Oct 08 10:34:49 2007] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Mon Oct 08 10:34:51 2007] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Mon Oct 08 10:41:26 2007] [error] [client 194.199.224.145] script '/var/www/apache2-default/index.php' not found or unable to stat, referer: http://www3.lyc-pagnol.ac-aix-marseille.fr/apache2-default/
[Mon Oct 08 10:41:27 2007] [error] [client 194.199.224.145] script '/var/www/apache2-default/index.php' not found or unable to stat, referer: http://www3.lyc-pagnol.ac-aix-marseille.fr/apache2-default/
[Mon Oct 08 10:43:49 2007] [error] [client 194.199.224.145] script '/var/www/apache2-default/index.php' not found or unable to stat, referer: http://www3.lyc-pagnol.ac-aix-marseille.fr/apache2-default/
[Mon Oct 08 10:43:50 2007] [error] [client 194.199.224.145] script '/var/www/apache2-default/index.php' not found or unable to stat, referer: http://www3.lyc-pagnol.ac-aix-marseille.fr/apache2-default/
www3:/var/www# whereis phpmyadmin
phpmyadmin: /etc/phpmyadmin /usr/share/phpmyadmin
www3:/var/www# ls -l /var/www/
total 8
lrwxrwxrwx 1 root root 24 2007-10-04 12:06 analog -> /usr/share/analog/images
drwxr-xr-x 2 root root 4096 2007-10-05 13:50 apache2-default
drwxrwxrwx 9 root root 4096 2007-10-08 10:27 spip
www3:/var/www# tail /var/l
lib/ lib64/ local/ lock/ log/ lost+found/
www3:/var/www# tail /var/log/apache2/error.log
[Mon Oct 08 10:26:41 2007] [error] [client 194.199.224.145] script '/var/www/apache2-default/index.php' not found or unable to stat, referer: http://www3.lyc-pagnol.ac-aix-marseille.fr/apache2-default/
[Mon Oct 08 10:26:41 2007] [error] [client 194.199.224.145] script '/var/www/apache2-default/index.php' not found or unable to stat, referer: http://www3.lyc-pagnol.ac-aix-marseille.fr/apache2-default/
[Mon Oct 08 10:26:41 2007] [error] [client 194.199.224.145] File does not exist: /var/www/favicon.ico
[Mon Oct 08 10:29:59 2007] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Mon Oct 08 10:34:49 2007] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Mon Oct 08 10:34:51 2007] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Mon Oct 08 10:41:26 2007] [error] [client 194.199.224.145] script '/var/www/apache2-default/index.php' not found or unable to stat, referer: http://www3.lyc-pagnol.ac-aix-marseille.fr/apache2-default/
[Mon Oct 08 10:41:27 2007] [error] [client 194.199.224.145] script '/var/www/apache2-default/index.php' not found or unable to stat, referer: http://www3.lyc-pagnol.ac-aix-marseille.fr/apache2-default/
[Mon Oct 08 10:43:49 2007] [error] [client 194.199.224.145] script '/var/www/apache2-default/index.php' not found or unable to stat, referer: http://www3.lyc-pagnol.ac-aix-marseille.fr/apache2-default/
[Mon Oct 08 10:43:50 2007] [error] [client 194.199.224.145] script '/var/www/apache2-default/index.php' not found or unable to stat, referer: http://www3.lyc-pagnol.ac-aix-marseille.fr/apache2-default/
voilà,
www3:/var/www# rgrep -i documentroot /etc/apache2/
/etc/apache2/sites-enabled/000-default: DocumentRoot /var/www/
/etc/apache2/sites-available/default: DocumentRoot /var/www/
www3:/var/www# rgrep -i documentroot /etc/apache2/
/etc/apache2/sites-enabled/000-default: DocumentRoot /var/www/
/etc/apache2/sites-available/default: DocumentRoot /var/www/
c la meme chose
www3:/var/www# ls -l /var/www/
total 8
lrwxrwxrwx 1 root root 24 2007-10-04 12:06 analog -> /usr/share/analog/images
drwxr-xr-x 2 root root 4096 2007-10-05 13:50 apache2-default
drwxrwxrwx 9 root root 4096 2007-10-08 10:27 spip
www3:/var/www# ls -l /var/www/
total 8
lrwxrwxrwx 1 root root 24 2007-10-04 12:06 analog -> /usr/share/analog/images
drwxr-xr-x 2 root root 4096 2007-10-05 13:50 apache2-default
drwxrwxrwx 9 root root 4096 2007-10-08 10:27 spip
Précédent
- 1
- 2