Shadow.service loaded failed

manjaro kde
systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● shadow.service loaded failed failed Verify integrity of password and group files

how to fix this. This did not work sudo systemctl start shadow.service

Check the journal for shadow.service error messages. Fix the error and try again to start the unit.

How do I do that?

For example

journalctl -b -u shadow.service --no-hostname --no-pager

If you rebooted in the meantime, try it without -b

How to fix the error depends on the error.

2 Likes

– Journal begins at Wed 2021-06-23 12:53:36 CEST, ends at Fri 2021-07-16 18:51:17 CEST. –
Jul 16 00:00:02 systemd[1]: Started Verify integrity of password and group files.
Jul 16 00:00:02 sh[242770]: user ‘spamd’: directory ‘/var/lib/spamassassin’ does not exist
Jul 16 00:00:02 sh[242770]: pwck: no changes
Jul 16 00:00:02 systemd[1]: shadow.service: Main process exited, code=exited, status=1/FAILURE
Jul 16 00:00:02 systemd[1]: shadow.service: Failed with result ‘exit-code’.
Jul 16 18:36:43 systemd[1]: Started Verify integrity of password and group files.
Jul 16 18:36:43 sh[391336]: user ‘spamd’: directory ‘/var/lib/spamassassin’ does not exist
Jul 16 18:36:43 sh[391336]: pwck: no changes
Jul 16 18:36:43 systemd[1]: shadow.service: Main process exited, code=exited, status=1/FAILURE
Jul 16 18:36:43 systemd[1]: shadow.service: Failed with result ‘exit-code’.

This should be very easy to fix.

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.