PROBLEM: Suddenly you are not able to login in Centos system with root user or other user. And in single mode during update root password you receive error " passwd: Authentication token manipulation error". OR
receive "init: failed to connect to socket /com/ubuntu/upstart: Connection refused" error.
Solution: When Selecting the kernel for boot "press e " and edit kernel line and type init=/bin/bash
Now on bash console
# mount -o remount, rw /
# cat /etc/bashrc /etc/bashrc_old
# echo b > /proc/sysrq-trigger
Now login with root and restore the bashrc file. This problem can come if you have did some changed in a file, then undo that changed as we did with bashrc.
receive "init: failed to connect to socket /com/ubuntu/upstart: Connection refused" error.
Solution: When Selecting the kernel for boot "press e " and edit kernel line and type init=/bin/bash
Now on bash console
# mount -o remount, rw /
# cat /etc/bashrc /etc/bashrc_old
# echo b > /proc/sysrq-trigger
Now login with root and restore the bashrc file. This problem can come if you have did some changed in a file, then undo that changed as we did with bashrc.
No comments:
Post a Comment