$chroot /chroot "Editing Chroot: failed to run command ‘/bin/bash’: No such file or directory■ OS Environment : RHEL 5,6
■ Involved Software/Application : openssh, coreutils, rssh
■ Investigation : Found that /bin/bash is present inside /chroot directory.
■ Permanent Solution :
1. $ldd /chroot/bin/bash to see dependent libraries. 2. Copy missing libraries from /lib64 or /usr/lib64 to /chroot/lib64
■ Root Cause Analysis : Libraries of /bin/bash were missing or were partially present.