[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [WHEEZY] [JESSIE] Je n'arrive pas à redémarrer mysql



Hello !
> 
>> J'aimerais juste redémarrer mysql avant ce soir pour le moment.
> 
> Lance mysqld directement, et vois ce que ça donne. man mysqld et lire le
> fichier de démarrage de mysqld /etc/init.d/mysql 

# service mysql restart
[ ok ] Stopping MySQL database server: mysqld.
[....] Starting MySQL database server: mysqldPas de répertoire, connexion avec HOME=/
[FAIL. . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!

> /lib/systemd/system/mysql.service si tu es sous systemd, si tu veux
> répliquer les options de démarrage du système.
J'ai bien systemd, mais mysql n'est pas dedans :

# ls -al /lib/systemd/system
total 100
drwxr-xr-x 6 root root 4096 août  13 23:19 .
drwxr-xr-x 4 root root 4096 août  13 23:09 ..
-rw-r--r-- 1 root root  155 avril 15  2013 acpid.service
-rw-r--r-- 1 root root  115 avril 15  2013 acpid.socket
drwxr-xr-x 2 root root 4096 mai    3  2013 basic.target.wants
-rw-r--r-- 1 root root  251 juin  11  2015 cron.service
-rw-r--r-- 1 root root  353 févr.  9  2015 dbus.service
-rw-r--r-- 1 root root  106 févr.  9  2015 dbus.socket
drwxr-xr-x 2 root root 4096 août  22  2015 dbus.target.wants
-rw-r--r-- 1 root root  481 déc.  28  2015 mdadm-grow-continue@.service
-rw-r--r-- 1 root root  141 déc.  28  2015 mdadm-last-resort@.service
-rw-r--r-- 1 root root  176 déc.  28  2015 mdadm-last-resort@.timer
lrwxrwxrwx 1 root root    9 déc.  28  2015 mdadm.service -> /dev/null
lrwxrwxrwx 1 root root    9 déc.  28  2015 mdadm-waitidle.service -> /dev/null
-rw-r--r-- 1 root root  388 déc.  28  2015 mdmonitor.service
-rw-r--r-- 1 root root 1034 déc.  28  2015 mdmon@.service
drwxr-xr-x 2 root root 4096 août  22  2015 multi-user.target.wants
-rw-r--r-- 1 root root  418 sept. 19  2014 nginx.service
-rw-r--r-- 1 root root  329 juil. 26 10:09 php5-fpm.service
-rw-r--r-- 1 root root  188 févr. 24  2014 rsync.service
-rw-r--r-- 1 root root  190 oct.   7  2014 rsyslog.service
lrwxrwxrwx 1 root root    9 sept.  3  2015 screen-cleanup.service -> /dev/null
drwxr-xr-x 2 root root 4096 août  22  2015 sockets.target.wants
-rw-r--r-- 1 root root  164 avril 29  2013 udev-control.socket
-rw-r--r-- 1 root root  177 avril 29  2013 udev-kernel.socket
-rw-r--r-- 1 root root  384 avril 29  2013 udev.service
-rw-r--r-- 1 root root  752 avril 29  2013 udev-settle.service
-rw-r--r-- 1 root root  291 avril 29  2013 udev-trigger.service

> 
> Perso, je mettrais d'abord à jour correctement ma distribution avant de
> me polariser sur mysql, qui fait peut-être partie du tout.

C'est certainement exact, mais il faut néanmoins que je fasse tourner mes sites
en attendant de remettre les choses à plat.

J'ai loué un autre serveur sur lequel je vais mettre ma base de données pour le
moment, mais le problème reste entier. Je ne peux plus mettre ma distro à jour.

Merci pour ton aide,

Ph. Gras


Reply to: