Problème installation mysql-server

Résolu/Fermé
Signaler
-
Messages postés
8158
Date d'inscription
samedi 7 août 2004
Statut
Membre
Dernière intervention
1 septembre 2014
-
Bonjour,

Je suis en train d'installer nginx, php5-fpm, mysql (server et client) ainsi que phpmyadmin sur debian 6 mais le start de mysql-server ne fonctionne pas... Sauriez vous pourquoi ?

Voici ce que j'ai :


20:40 root@web ~ # apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient16
libnet-daemon-perl libplrpc-perl mysql-client-5.1 mysql-common
mysql-server-5.1 mysql-server-core-5.1 psmisc
Suggested packages:
libipc-sharedcache-perl libterm-readkey-perl tinyca
The following NEW packages will be installed:
libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient16
libnet-daemon-perl libplrpc-perl mysql-client-5.1 mysql-common mysql-server
mysql-server-5.1 mysql-server-core-5.1 psmisc
0 upgraded, 12 newly installed, 0 to remove and 21 not upgraded.
Need to get 23.4MB of archives.
After this operation, 55.1MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://packages.dotdeb.org squeeze/all mysql-common 5.1.56-0.dotdeb.1 [69.5kB]
Get:2 http://packages.dotdeb.org squeeze/all libmysqlclient16 5.1.56-0.dotdeb.1 [1926kB]
Get:3 http://packages.dotdeb.org squeeze/all mysql-client-5.1 5.1.56-0.dotdeb.1 [9604kB]
Get:4 http://ftp.debian.org squeeze/main libnet-daemon-perl 0.43-1 [46.6kB]
Get:5 http://ftp.debian.org squeeze/main libplrpc-perl 0.2020-2 [36.0kB]
Get:6 http://packages.dotdeb.org squeeze/all mysql-server-core-5.1 5.1.56-0.dotdeb.1 [3941kB]
Get:7 http://ftp.debian.org squeeze/main libdbi-perl 1.612-1 [879kB]
Get:8 http://packages.dotdeb.org squeeze/all mysql-server-5.1 5.1.56-0.dotdeb.1 [6522kB]
Get:9 http://packages.dotdeb.org squeeze/all mysql-server 5.1.56-0.dotdeb.1 [62.8kB]
Get:10 http://ftp.debian.org squeeze/main libdbd-mysql-perl 4.016-1 [138kB]
Get:11 http://ftp.debian.org squeeze/main psmisc 22.11-1 [122kB]
Get:12 http://ftp.debian.org squeeze/main libhtml-template-perl 2.9-2 [65.9kB]
Fetched 23.4MB in 2s (11.3MB/s)
Preconfiguring packages ...
Selecting previously deselected package mysql-common.
(Reading database ... 20011 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.1.56-0.dotdeb.1_all.deb) ...
Selecting previously deselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.43-1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.612-1_i386.deb) ...
Selecting previously deselected package libmysqlclient16.
Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.56-0.dotdeb.1_i386.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.016-1_i386.deb) ...
Selecting previously deselected package mysql-client-5.1.
Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.56-0.dotdeb.1_i386.deb) ...
Selecting previously deselected package psmisc.
Unpacking psmisc (from .../psmisc_22.11-1_i386.deb) ...
Selecting previously deselected package mysql-server-core-5.1.
Unpacking mysql-server-core-5.1 (from .../mysql-server-core-5.1_5.1.56-0.dotdeb.1_i386.deb) ...
Processing triggers for man-db ...
Setting up mysql-common (5.1.56-0.dotdeb.1) ...
Selecting previously deselected package mysql-server-5.1.
(Reading database ... 20428 files and directories currently installed.)
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.56-0.dotdeb.1_i386.deb) ...
Selecting previously deselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.9-2_all.deb) ...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.1.56-0.dotdeb.1_all.deb) ...
Processing triggers for man-db ...
Setting up libnet-daemon-perl (0.43-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.612-1) ...
Setting up libmysqlclient16 (5.1.56-0.dotdeb.1) ...
Setting up libdbd-mysql-perl (4.016-1) ...
Setting up mysql-client-5.1 (5.1.56-0.dotdeb.1) ...
Setting up psmisc (22.11-1) ...
Setting up mysql-server-core-5.1 (5.1.56-0.dotdeb.1) ...
Setting up mysql-server-5.1 (5.1.56-0.dotdeb.1) ...
Stopping MySQL database server: mysqld.
110406 20:41:26 [Note] Plugin 'FEDERATED' is disabled.
110406 20:41:26 InnoDB: Initializing buffer pool, size = 8.0M
110406 20:41:26 InnoDB: Completed initialization of buffer pool
110406 20:41:26 InnoDB: Started; log sequence number 0 44233
110406 20:41:26 InnoDB: Starting shutdown...
110406 20:41:32 InnoDB: Shutdown completed; log sequence number 0 44233
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up libhtml-template-perl (2.9-2) ...
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.1; however:
Package mysql-server-5.1 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.1
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
zsh: exit 100 apt-get install mysql-server

Merci pour votre aide :)

3 réponses

Regarde le point 4 de la doc d'ubuntu, il proposent quelques solutions : http://doc.ubuntu-fr.org/probleme_apt#erreur_n_1
Bon, c'est bon j'ai trouvé pourquoi ^^
Il n'y avait pas la loopback :)
Messages postés
8158
Date d'inscription
samedi 7 août 2004
Statut
Membre
Dernière intervention
1 septembre 2014
472
merci pour le retour !