Why ?
For
any reason you may discover an issue with library like the below issue , where
you will not be able even to access the server with emergency mode/target , use
the below to fix it, for example , I got the below error.
/usr/sbin/sulogin:
error while loading shared libraries: libcrypt.so.1: cannot open shared object
file: permission denied
How ?
1- First
it needs to boot the system into the rescue mode using DVD/CD ISO on the installation
media:
How to boot Red Hat
Enterprise Linux to Rescue Mode for Data Collection (sosreport, vmcore, etc.)
2- Check
the rpm package that is behind this library as below:
# rpm -qf
/usr/lib64/libcrypt.so.1
libxcrypt-4.1.1-4.el8.x86_64
3-
re-install the package using the below and reboot the system to disk boot again:
yum reinstall libxcrypt
No comments:
Post a Comment