[service] échec pour la vérification d'intégrité du fichier (résolu)
Publié : sam. 09 janv. 2016, 09:57
J'ai un message d'erreur au démarrage. Grâce à la commande donnée par benjarobin là, je me penche dessus aujourd'hui.
Que puis-je faire pour résoudre ce problème ? Faut-il installer mysql ?
Code : Tout sélectionner
$ systemctl --all --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● shadow.service loaded failed failed Verify integrity of password and group files
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed.
To show all installed unit files use 'systemctl list-unit-files'.
Code : Tout sélectionner
$ systemctl status shadow.service
● shadow.service - Verify integrity of password and group files
Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since sam. 2016-01-09 09:05:19 CET; 50min ago
Process: 27439 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
Main PID: 27439 (code=exited, status=2)
janv. 09 09:05:19 sharu systemd[1]: Starting Verify integrity of password and group files...
janv. 09 09:05:19 sharu systemd[1]: shadow.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
janv. 09 09:05:19 sharu systemd[1]: Failed to start Verify integrity of password and group files.
janv. 09 09:05:19 sharu systemd[1]: shadow.service: Unit entered failed state.
janv. 09 09:05:19 sharu systemd[1]: shadow.service: Failed with result 'exit-code'.
janv. 09 09:05:19 sharu pwck[27439]: utilisateur mysql : le répertoire « /var/lib/mysql » n'existe pas
janv. 09 09:05:19 sharu pwck[27439]: pwck : aucun changement