During maintenance yesterday I did a mistake moving files and instead of mv ./* /destination-path, I typed mv /* /destination-path ... :( I stopped the process of moving in the middle and then moved files back to / and everything looked fine. i did the stupid thing to log out before checking can I log in and now I can't log in on this server, neither through ssh, nor on the console.
Ssh returns that:
MacBook:johns$ ssh -vv root@groom OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration data /etc/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to groom [192.168.133.196] port 22. debug1: Connection established. debug1: identity file /Users/johns/.ssh/id_rsa type -1 debug1: identity file /Users/johns/.ssh/id_rsa-cert type -1 debug1: identity file /Users/johns/.ssh/id_dsa type -1 debug1: identity file /Users/johns/.ssh/id_dsa-cert type -1 ssh_exchange_identification: Connection closed by remote host
On the physical console I got:
O0o.oops() [console.c(83)]: Opening console failed
The server is pingable and all virtual machines that run on top of it are accessible via ssh. Unfortunately there aren't any backups. This is not a production server and the only valuable things there are few virtual machines, that are intact and running. The OS is CentOS 5.x running Xen and I have DRAC access to the server. I just need to find a way to log in. Any ideas?