How I recovered the system after renaming

Posted on Monday, October 14, 2013 in FLOSS, System administration

How I recovered the system after renaming

Yes, I know, it may be a little stupid renaming, can we skip this detail?
It's not something I do very often, but that day I felt like I had to innovate or something like that.

But innovation was a disaster, it is not a good idea to rename a library linked using its exact path by all system dynamic executables, just to take into account if you are going to have the same idea.

Just in case my advice comes too late and someone else renamed library —do people really do things like that?— then let me explain how I solved it in my case. The first logical reaction is panic and thinking that you ruined the whole system and you'll have to power it off and go with a Live CD to repair it, which in the case of a server is not the best situation. But it's actually quite easy to fix:

Repairing system after renaming