Hello,
I accidentally removed some important packages while trying to upgrade openSSL in a CentOS enterprise server and now I'm unable to login. Even trying to login as root doesn't work. I'm getting the following error while trying to login:
Code:
error while loading shared libraries: libpam.so.0: cannot open shared object file: No such file or directory
Is it possible to solve this issue without re-installing the OS? I tried to boot using a CentOS livecd iso on an USB stick and it threw the following error while booting:
Code:
-----------------------------------------------
WARNING: Cannot find root file system!
-----------------------------------------------
Create symlink /dev/root and then exit this shell to continue the boot sequence.
bash-3.2#
I tried creating the symbolic link using the command:
Code:
ln -s /dev/sda /dev/root
This too didn't work.
I'm in a pickle.
Please help! Thanks!