Sorry, your error message says bash is not found. You should already have /usr/bin/env.
Bash is installed by default in most Linux distributions. It could be that bash is not installed on your system, or your PATH environmental variable is somehow messed up. Can you execute 'bash' in your shell? On Tue, Mar 23, 2010 at 7:51 PM, liu chang <[email protected]> wrote: > 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~ >> >> >
