You are not logged in.
Pages: 1
Hi I'm newbie, Shadow.service failed, context being I recursively uninstalled everything on my system and could only get to GRUB, then I fixed my system by doing what I did to install in the first place, probably did things that didn't need to get done and created duplicates of something? Like in this post.
Results of systemctl restart shadow.service and systemctl status shadow.service
~$ systemctl restart shadow.service
Job for shadow.service failed because the control process exited with error code.
See "systemctl status shadow.service" and "journalctl -xe" for details.
[~]$ systemctl status shadow.service
● shadow.service - Verify integrity of password and group files
Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset
Active: failed (Result: exit-code) since Fri 2016-10-21 23:40:19 EDT; 26s ago
Process: 2511 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
Main PID: 2511 (code=exited, status=2)
Oct 21 23:40:19 systemd[1]: Starting Verify integrity of password and g
Oct 21 23:40:19 pwck[2511]: user 'couchdb': directory '/var/lib/couchdb
Oct 21 23:40:19 pwck[2511]: user 'ceph': directory '/run/ceph' does not
Oct 21 23:40:19 pwck[2511]: pwck: no changes
Oct 21 23:40:19 systemd[1]: shadow.service: Main process exited, code=e
Oct 21 23:40:19 systemd[1]: Failed to start Verify integrity of passwor
Oct 21 23:40:19 systemd[1]: shadow.service: Unit entered failed state.
Oct 21 23:40:19 systemd[1]: shadow.service: Failed with result 'exit-coresults of journalctl -xe
[aaron@BeSilent ~]$ journalctl -xe
--
-- Unit shadow.service has failed.
--
-- The result is failed.
Oct 22 00:08:45 BeSilent systemd[1]: shadow.service: Unit entered failed state.
Oct 22 00:08:45 BeSilent systemd[1]: shadow.service: Failed with result 'exit-co
Oct 22 00:08:45 BeSilent polkitd[332]: Unregistered Authentication Agent for uni
Oct 22 00:09:46 BeSilent dbus-daemon[501]: Activating via systemd: service name=
Oct 22 00:09:46 BeSilent systemd[486]: Starting GNOME Terminal Server...
-- Subject: Unit UNIT has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has begun starting up.
Oct 22 00:09:47 BeSilent dbus-daemon[501]: Successfully activated service 'org.g
Oct 22 00:09:47 BeSilent systemd[486]: Started GNOME Terminal Server.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
lines 1914-1936/1936 (END)
--
-- Unit shadow.service has failed.
--
-- The result is failed.
Oct 22 00:08:45 BeSilent systemd[1]: shadow.service: Unit entered failed state.
Oct 22 00:08:45 BeSilent systemd[1]: shadow.service: Failed with result 'exit-code'.
Oct 22 00:08:45 BeSilent polkitd[332]: Unregistered Authentication Agent for unix-process:1488:6249 (system bus name :1.75, object path /org/freedesktop/Pol
Oct 22 00:09:46 BeSilent dbus-daemon[501]: Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service'
Oct 22 00:09:46 BeSilent systemd[486]: Starting GNOME Terminal Server...
-- Subject: Unit UNIT has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has begun starting up.
Oct 22 00:09:47 BeSilent dbus-daemon[501]: Successfully activated service 'org.gnome.Terminal'
Oct 22 00:09:47 BeSilent systemd[486]: Started GNOME Terminal Server.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.The post I linked earlier mentioned deleting a uuid in passwd...not really sure what that means I did or how to fix that...or maybe thats not my problem at all, thanks!
Offline
In the thread you linked to, their problem was they had conflicting entries in their passwd and were told to remove the extra entry (user named "uuidd"). You do not have the same errors so that does not apply to you.
Give us the journal entry for shadow.service. These truncated lines look to be related to your issue:
Oct 21 23:40:19 pwck[2511]: user 'couchdb': directory '/var/lib/couchdb
Oct 21 23:40:19 pwck[2511]: user 'ceph': directory '/run/ceph' does notWould like to see the full lines to know what the error may be.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
You can run “pwck” directly to check for errors. Seems like you are missing directories certain users require. Running “pacman -Qk couchdb ceph” might also show you the missing directories.
Last edited by Markus00000 (2016-10-22 09:23:29)
Offline
If you had couchdb and ceph installed and then removed them, the users created in the installation process did not get deleted.
The shadow.service is complaining about home directories missing for those users.
If you no longer have those two packages installed, you can delete the extraneous users with:
userdel couchdb
userdel cephOffline
Pages: 1