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 19/07/2015, à 10:46

Ziki

[RESOLU] Impossible de démarrer MySQL

Suite à un apt-get upgrade qui a échoué, un soucis de dépendances, j'ai plus ou moins réussi à avancer...
Il n'en reste pas moins que je n'arrive pas à installer le paquet mysql-server-5.6 sad

Je vous joint donc les informations de ma dernière tentative de démarrage MySQL. Car je voulais tenté un backup à froid mais je n'y arrive pas non plus sad

root@ns361590:~# service mysql start

Job for mysql.service failed. See "systemctl status mysql.service" and "journalctl -xe" for details.
root@ns361590:~# systemctl status mysql.service -l

● mysql.service - LSB: Start and stop the mysql database server daemon
   Loaded: loaded (/etc/init.d/mysql)
   Active: failed (Result: exit-code) since dim. 2015-07-19 10:29:56 CEST; 30s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 12003 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)

juil. 19 10:29:25 ns361590.ip-91-121-169.eu systemd[1]: Starting LSB: Start and stop the mysql database server daemon...
juil. 19 10:29:25 ns361590.ip-91-121-169.eu mysql[12003]: * Starting MariaDB database server mysqld
juil. 19 10:29:25 ns361590.ip-91-121-169.eu /etc/init.d/mysql[12028]: /usr/bin/my_print_defaults: unknown option '--mysqld'
juil. 19 10:29:25 ns361590.ip-91-121-169.eu /etc/init.d/mysql[12028]: 150719 10:29:25 mysqld_safe Can't log to error log and syslog at the same time.  Remove all --log-error configuration options for --syslog to take effect.
juil. 19 10:29:56 ns361590.ip-91-121-169.eu mysql[12003]: ...fail!
juil. 19 10:29:56 ns361590.ip-91-121-169.eu systemd[1]: mysql.service: control process exited, code=exited status=1
juil. 19 10:29:56 ns361590.ip-91-121-169.eu systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
juil. 19 10:29:56 ns361590.ip-91-121-169.eu systemd[1]: Unit mysql.service entered failed state.
juil. 19 10:29:56 ns361590.ip-91-121-169.eu systemd[1]: mysql.service failed.
root@ns361590:~# journalctl -xe

juil. 19 10:29:56 ns361590.ip-91-121-169.eu /etc/init.d/mysql[12418]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping'
juil. 19 10:29:56 ns361590.ip-91-121-169.eu /etc/init.d/mysql[12418]: [61B blob data]
juil. 19 10:29:56 ns361590.ip-91-121-169.eu /etc/init.d/mysql[12418]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock
juil. 19 10:29:56 ns361590.ip-91-121-169.eu /etc/init.d/mysql[12418]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
juil. 19 10:29:56 ns361590.ip-91-121-169.eu /etc/init.d/mysql[12418]:
juil. 19 10:29:56 ns361590.ip-91-121-169.eu mysql[12003]: ...fail!
juil. 19 10:29:56 ns361590.ip-91-121-169.eu systemd[1]: mysql.service: control process exited, code=exited status=1
juil. 19 10:29:56 ns361590.ip-91-121-169.eu systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
-- Subject: L'unité (unit) mysql.service a échoué
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) mysql.service a échoué, avec le résultat failed.
juil. 19 10:29:56 ns361590.ip-91-121-169.eu systemd[1]: Unit mysql.service entered failed state.
juil. 19 10:29:56 ns361590.ip-91-121-169.eu systemd[1]: mysql.service failed.
root@ns361590:~# cat /var/log/mysql/mysql_error.log

150719 10:29:25 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2015-07-19 10:29:26 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2015-07-19 10:29:26 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-07-19 10:29:26 0 [Note] /usr/sbin/mysqld (mysqld 5.6.24-0ubuntu3-log) starting as process 12110 ...
2015-07-19 10:29:26 12110 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
2015-07-19 10:29:26 12110 [Note] Plugin 'FEDERATED' is disabled.
2015-07-19 10:29:26 12110 [ERROR] Can't find symbol '_mysql_plugin_interface_version_' in library
2015-07-19 10:29:26 12110 [Warning] Couldn't load plugin named 'unix_socket' with soname 'auth_socket.so'.
2015-07-19 10:29:26 12110 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-07-19 10:29:26 12110 [Note] InnoDB: The InnoDB memory heap is disabled
2015-07-19 10:29:26 12110 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-07-19 10:29:26 12110 [Note] InnoDB: Memory barrier is not used
2015-07-19 10:29:26 12110 [Note] InnoDB: Compressed tables use zlib 1.2.8
2015-07-19 10:29:26 12110 [Note] InnoDB: Using Linux native AIO
2015-07-19 10:29:26 12110 [Note] InnoDB: Using CPU crc32 instructions
2015-07-19 10:29:26 12110 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-07-19 10:29:26 12110 [Note] InnoDB: Completed initialization of buffer pool
2015-07-19 10:29:26 12110 [Note] InnoDB: Highest supported file format is Barracuda.
2015-07-19 10:29:26 12110 [Note] InnoDB: 128 rollback segment(s) are active.
2015-07-19 10:29:26 12110 [Note] InnoDB: Waiting for purge to start
2015-07-19 10:29:26 12110 [Note] InnoDB: 5.6.24 started; log sequence number 703174166
2015-07-19 10:29:26 12110 [ERROR] /usr/sbin/mysqld: unknown variable 'bind-adress=localhost'
2015-07-19 10:29:26 12110 [ERROR] Aborting

2015-07-19 10:29:26 12110 [Note] Binlog end
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'partition'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'ARCHIVE'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_METRICS'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_CMPMEM'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_CMP'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_LOCKS'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'INNODB_TRX'
2015-07-19 10:29:26 12110 [Note] Shutting down plugin 'InnoDB'
2015-07-19 10:29:26 12110 [Note] InnoDB: FTS optimize thread exiting.
2015-07-19 10:29:26 12110 [Note] InnoDB: Starting shutdown...
2015-07-19 10:29:28 12110 [Note] InnoDB: Shutdown completed; log sequence number 703174176
2015-07-19 10:29:28 12110 [Note] Shutting down plugin 'BLACKHOLE'
2015-07-19 10:29:28 12110 [Note] Shutting down plugin 'CSV'
2015-07-19 10:29:28 12110 [Note] Shutting down plugin 'MEMORY'
2015-07-19 10:29:28 12110 [Note] Shutting down plugin 'MRG_MYISAM'
2015-07-19 10:29:28 12110 [Note] Shutting down plugin 'MyISAM'
2015-07-19 10:29:28 12110 [Note] Shutting down plugin 'sha256_password'
2015-07-19 10:29:28 12110 [Note] Shutting down plugin 'mysql_old_password'
2015-07-19 10:29:28 12110 [Note] Shutting down plugin 'mysql_native_password'
2015-07-19 10:29:28 12110 [Note] Shutting down plugin 'binlog'
2015-07-19 10:29:28 12110 [Note] /usr/sbin/mysqld: Shutdown complete

150719 10:29:28 mysqld_safe mysqld from pid file /var/lib/mysql/ns361590.ip-91-121-169.eu.pid ended

Une idée?? Mon but étant de pouvoir au moins faire une sauvegarde de ma base de données grâce à un dump... hmm

Dernière modification par Ziki (Le 19/07/2015, à 14:29)

Hors ligne

#2 Le 19/07/2015, à 14:05

tiramiseb

Re : [RESOLU] Impossible de démarrer MySQL

2015-07-19 10:29:26 12110 [ERROR] /usr/sbin/mysqld: unknown variable 'bind-adress=localhost'

Ça m'a l'air assez clair, non ?

Tu as une ligne "bind-adress=localhost" dans la config de MySQL et c'est une erreur.

En anglais, on écrit "address", pas "adress".
La variable est "bind-address".
Pourtant, cette ligne est déjà présente et bien orthographiée dans la config par défaut : pourquoi l'ajouter en faisant une faute ?

Dernière modification par tiramiseb (Le 19/07/2015, à 14:06)

Hors ligne

#3 Le 19/07/2015, à 14:29

Ziki

Re : [RESOLU] Impossible de démarrer MySQL

J'avoue.. Ca m'a échappé! ... Juste MERCI! Je vais de ce pas voir pour faire tous les dump de mes bases!! ^^

Pour ce qui est du pourquoi de cette ligne... Une fausse manipulation.. En effet j'avais déjà eu un soucis il y a environ 1 mois pour lequel j'ai du tester pas mal de changement, voir mon post ici : https://forum.ubuntu-fr.org/viewtopic.php?id=1853201

Mais là où ça parait dingue, c'est que le serveur fonctionnait toujours jusqu'à avant hier, où après une mise à jour, qui apparemment avait échouée, tout à commencer à partir en live (problème d'installation dû à des dépendances qui ont disparues etc.) De toutes façons maintenant, je vais voir pour tout migrer de serveur, et faire des dump automatiques... Erreur que je n'avais pas faite ici...


ENCORE MERCI !

Hors ligne