Check if /usr/bin/env is present in your system: file /usr/bin/env
If not, you probably have /bin/env instead. Verify using: file /bin/env If you have /bin/env but not /usr/bin/env, you can make a symbolic link for it: ln -s /usr/bin/env /bin/env You need to execute the command above as root. Liu Chang On Tue, Mar 23, 2010 at 7:48 PM, 毛宏 <[email protected]> wrote: > Hi all, > I install Hadoop in three machines, my pc is the namenode, two other pc > are the datanodes, but when I execute bin/start-dfs.sh, it displays > these two line as follows: > datanode1: /usr/bin/env: bash: No such > file or directory > datanode2: /usr/bin/env: bash: No such > file or directory > > What does it mean? How to solve this problem? > Thanks for your attention~ > >
