Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 08/12/2010, à 19:19

nirannor

[Résolu] Erreur à l'ouverture de phpmyadmin

Bonsoir,

J'ai commençé par télécharger les paquets pour Apache2, mysql-server, php5, php5-mysql et phpmyadmin. Puis j'ai "lançé" phpmyadmin par http://localhost/phpmyadmin.
Comme je n'avais pas mis de mot de passe à l'installation, j'ai du en mettre un par la console pour pouvoir accéder à phpmyadmin.

J'ai ensuite par l'intermédiaire de l'onglet SQL, créer une base avec des tables. (un copier/coller d'une base créée sous windows xp). Tout a bien fonctionné. J'ai refermé phpmyadmin et j'ai mis sous /var/www/ le répertoire que j'avais sous xp contenant tout mes php.

Puis, j'ai voulu le rouvrir et là il met l'erreur suivante :

Erreur lors du démarrage de la session, veuillez vérifier les erreurs indiquées par PHP ou dans le fichier témoin du serveur web, et configurer PHP correctement.

J'ai essayé de "relancer" apache avec cette fonction

sudo /etc/init.d/apache2 restart

Mais rien n'y fait sad

Que dois-je faire ?

Dernière modification par nirannor (Le 08/12/2010, à 20:14)

Hors ligne

#2 Le 08/12/2010, à 19:53

poupougnac

Re : [Résolu] Erreur à l'ouverture de phpmyadmin

Pourrais-tu poster les erreurs contenues dans /var/log/apache2/error.log qui semblent correspondre à ce problème?

Hors ligne

#3 Le 08/12/2010, à 19:55

nirannor

Re : [Résolu] Erreur à l'ouverture de phpmyadmin

poupougnac a écrit :

Pourrais-tu poster les erreurs contenues dans /var/log/apache2/error.log qui semblent correspondre à ce problème?

Les voilà :

[Sun Dec 05 20:20:39 2010] [notice] Apache/2.2.16 (Ubuntu) configured -- resuming normal operations
[Sun Dec 05 20:23:29 2010] [notice] caught SIGTERM, shutting down
[Mon Dec 06 05:56:26 2010] [notice] Apache/2.2.16 (Ubuntu) configured -- resuming normal operations
[Mon Dec 06 07:02:04 2010] [notice] caught SIGTERM, shutting down
[Mon Dec 06 17:10:34 2010] [notice] Apache/2.2.16 (Ubuntu) configured -- resuming normal operations
[Mon Dec 06 17:54:13 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Mon Dec 06 17:54:16 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Mon Dec 06 17:54:18 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Mon Dec 06 17:54:21 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Mon Dec 06 17:59:46 2010] [notice] caught SIGTERM, shutting down
[Mon Dec 06 17:59:51 2010] [notice] Apache/2.2.16 (Ubuntu) configured -- resuming normal operations
[Mon Dec 06 17:59:56 2010] [notice] Graceful restart requested, doing restart
[Mon Dec 06 17:59:56 2010] [notice] Apache/2.2.16 (Ubuntu) configured -- resuming normal operations
[Mon Dec 06 18:00:08 2010] [notice] Graceful restart requested, doing restart
[Mon Dec 06 18:00:08 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Dec 06 18:07:08 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Mon Dec 06 18:07:11 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Mon Dec 06 18:13:16 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Mon Dec 06 18:18:13 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Mon Dec 06 18:42:34 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Mon Dec 06 19:47:31 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Mon Dec 06 19:54:58 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Mon Dec 06 19:55:01 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Mon Dec 06 20:02:32 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin, referer: http://doc.ubuntu-fr.org/phpmyadmin
[Mon Dec 06 20:02:52 2010] [notice] Graceful restart requested, doing restart
[Mon Dec 06 20:02:52 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Dec 06 20:02:55 2010] [notice] caught SIGTERM, shutting down
[Mon Dec 06 20:02:56 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Dec 06 20:03:09 2010] [notice] Graceful restart requested, doing restart
[Mon Dec 06 20:03:09 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Dec 06 20:12:36 2010] [notice] Graceful restart requested, doing restart
[Mon Dec 06 20:12:36 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Dec 06 20:15:24 2010] [notice] Graceful restart requested, doing restart
[Mon Dec 06 20:15:24 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Dec 06 20:17:09 2010] [notice] Graceful restart requested, doing restart
[Mon Dec 06 20:17:10 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Dec 06 20:23:56 2010] [notice] caught SIGTERM, shutting down
[Mon Dec 06 20:24:52 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Dec 06 20:28:23 2010] [notice] Graceful restart requested, doing restart
[Mon Dec 06 20:28:23 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Dec 06 20:29:01 2010] [notice] Graceful restart requested, doing restart
[Mon Dec 06 20:29:01 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Dec 06 20:29:39 2010] [notice] Graceful restart requested, doing restart
[Mon Dec 06 20:29:39 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Dec 06 20:30:22 2010] [notice] Graceful restart requested, doing restart
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Mon Dec 06 20:30:22 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Dec 06 20:30:43 2010] [notice] caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Mon Dec 06 20:30:44 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Dec 06 20:31:55 2010] [notice] Graceful restart requested, doing restart
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mcrypt.so' - /usr/lib/php5/20090626+lfs/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Mon Dec 06 20:31:55 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Dec 06 20:33:34 2010] [notice] caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mcrypt.so' - /usr/lib/php5/20090626+lfs/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Tue Dec 07 05:52:57 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Tue Dec 07 06:59:41 2010] [notice] Graceful restart requested, doing restart
[Tue Dec 07 06:59:41 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Tue Dec 07 06:59:48 2010] [notice] Graceful restart requested, doing restart
[Tue Dec 07 06:59:48 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Tue Dec 07 07:01:55 2010] [notice] Graceful restart requested, doing restart
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mcrypt.so' - /usr/lib/php5/20090626+lfs/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Tue Dec 07 07:01:55 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Tue Dec 07 07:06:44 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Tue Dec 07 07:06:47 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Tue Dec 07 07:06:54 2010] [notice] caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mcrypt.so' - /usr/lib/php5/20090626+lfs/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Tue Dec 07 09:59:25 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mcrypt.so' - /usr/lib/php5/20090626+lfs/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Dec 08 05:49:24 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Wed Dec 08 07:04:47 2010] [notice] caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mcrypt.so' - /usr/lib/php5/20090626+lfs/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Dec 08 12:37:49 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Wed Dec 08 12:38:46 2010] [notice] Graceful restart requested, doing restart
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Dec 08 12:38:46 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Wed Dec 08 12:40:58 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Wed Dec 08 12:53:55 2010] [notice] caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Dec 08 17:09:43 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Wed Dec 08 17:59:46 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Wed Dec 08 18:04:40 2010] [notice] caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Dec 08 18:04:41 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Wed Dec 08 18:08:41 2010] [notice] Graceful restart requested, doing restart
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Dec 08 18:08:41 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations
[Wed Dec 08 18:22:23 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Wed Dec 08 18:26:05 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Wed Dec 08 18:26:08 2010] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Wed Dec 08 18:38:11 2010] [notice] caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Dec 08 18:39:14 2010] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.1 with Suhosin-Patch configured -- resuming normal operations

Si je regarde bien, il manquerait le fichier favicon.ico ???

Dernière modification par nirannor (Le 08/12/2010, à 19:57)

Hors ligne

#4 Le 08/12/2010, à 20:07

poupougnac

Re : [Résolu] Erreur à l'ouverture de phpmyadmin

Le favicon ne pose aucun problème.
Tapes dans un terminal:

sudo apt-get install php5-mcrypt php5-gd

Edit: ces deux paquets sont dans les dépendances de phpmyadmin. Comment exactement as-tu fais ton installation? Passes-tu par le gestionnaire de paquets synaptic?

Dernière modification par poupougnac (Le 08/12/2010, à 20:09)

Hors ligne

#5 Le 08/12/2010, à 20:13

nirannor

Re : [Résolu] Erreur à l'ouverture de phpmyadmin

poupougnac a écrit :

Le favicon ne pose aucun problème.
Tapes dans un terminal:

sudo apt-get install php5-mcrypt php5-gd

Edit: ces deux paquets sont dans les dépendances de phpmyadmin. Comment exactement as-tu fais ton installation? Passes-tu par le gestionnaire de paquets synaptic?

Avec l'installation des nouveaux paquets le phpmyadmin refonctionne

Quant à mes installations de paquets, je suis passé par le lien du site Ubuntu.ici

Merci pour tes réponses.
wink

Hors ligne