I transfered /etc/* files from one Linux server to another and now I have a strange error. Both are Debian Squeeze.
When I run a command, e.g. ssh, I get an error:
bash: /usr/bin/ssh: No such file or directory
It looks like the binary exists:
-rwxr-xr-x 1 root root 358756 Sep 21 14:30 /usr/bin/ssh
Bash also autocompletes the command when I type ss and press Tab. I tried reinstalling, purging etc but it didn't solve anything. There is probably something cached under /etc/ but I don't know what excatly.