> Le 14 août 2016 à 14:22, Ph. Gras <ph.gras@worldonline.fr> a écrit : > > 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 : Comme le « service mysql ……… » fonctionne, c’est qu’il y a au moins un script initd à la base, non ? Regarde dans /etc/init.d, il y a certainement un script mysql… > > # 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 > -- Pierre Malard « Je n'ai jamais séparé la République des idées de justice sociale, sans laquelle elle n'est qu'un mot » Jean Jaures - 1887 |\ _,,,---,,_ /,`.-'`' -. ;-;;,_ |,4- ) )-,_. ,\ ( `'-' '---''(_/--' `-'\_) πr perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-. ;-;;,_: |,A- ) )-,_. ,\ ( `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"' `-'"'"'\_): 24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print' - --> Ce message n’engage que son auteur <--
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail