您尚未登录。

#1 2016-06-04 22:33:38

weicaijiang
会员
注册时间: 2016-03-09
帖子: 6

systemctl status shadow.service error

● 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 Sat 2016-06-04 13:50:02 UTC; 32min ago
  Process: 328 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
Main PID: 328 (code=exited, status=2)

Jun 04 13:50:01 weicaijiang systemd[1]: Starting Verify integrity of password and group files...
Jun 04 13:50:02 weicaijiang pwck[328]: user 'lxdm': directory '/var/lib/lxdm' does not exist
Jun 04 13:50:02 weicaijiang pwck[328]: user 'xmms2': directory '/var/lib/xmms2' does not exist
Jun 04 13:50:02 weicaijiang pwck[328]: pwck: no changes
Jun 04 13:50:02 weicaijiang systemd[1]: shadow.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jun 04 13:50:02 weicaijiang systemd[1]: Failed to start Verify integrity of password and group files.
Jun 04 13:50:02 weicaijiang systemd[1]: shadow.service: Unit entered failed state.
Jun 04 13:50:02 weicaijiang systemd[1]: shadow.service: Failed with result 'exit-code'.

各位这是什么 错误了?

离线

#2 2016-06-05 09:44:03

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: systemctl status shadow.service error

Jun 04 13:50:02 weicaijiang pwck[328]: user 'lxdm': directory '/var/lib/lxdm' does not exist
Jun 04 13:50:02 weicaijiang pwck[328]: user 'xmms2': directory '/var/lib/xmms2' does not exist

有两个用户的用户目录没了而已。要么你给它们建回来,要么(如果你不需要了的话)把它们删掉。

离线

#3 2016-06-05 17:50:29

weicaijiang
会员
注册时间: 2016-03-09
帖子: 6

Re: systemctl status shadow.service error

依云 说:

Jun 04 13:50:02 weicaijiang pwck[328]: user 'lxdm': directory '/var/lib/lxdm' does not exist
Jun 04 13:50:02 weicaijiang pwck[328]: user 'xmms2': directory '/var/lib/xmms2' does not exist

有两个用户的用户目录没了而已。要么你给它们建回来,要么(如果你不需要了的话)把它们删掉。

谢谢了

离线

#4 2016-06-08 22:25:57

weicaijiang
会员
注册时间: 2016-03-09
帖子: 6

Re: systemctl status shadow.service error

weicaijiang 说:
依云 说:

Jun 04 13:50:02 weicaijiang pwck[328]: user 'lxdm': directory '/var/lib/lxdm' does not exist
Jun 04 13:50:02 weicaijiang pwck[328]: user 'xmms2': directory '/var/lib/xmms2' does not exist

有两个用户的用户目录没了而已。要么你给它们建回来,要么(如果你不需要了的话)把它们删掉。

userdel -r lxdm
userdel -r xmms2
systemctl start shadow.service

离线

页脚