yes I can, I am using Ubuntu 9.10 in my namenode, debian 4.0 in my datanode.
They all have /usr/bin/env........ 在 2010-03-23二的 21:23 +0800,liu chang写道: > On Tue, Mar 23, 2010 at 9:11 PM, 毛宏 <[email protected]> wrote: > > I use "file /usr/bin/env" to check if /usr/bin/env is present in my > > system and the answer is yes. > > But why does it still display > > datanode1:/usr/bin/env : bash: No such file or directory > > datanode2:/usr/bin/env : bash: No such file or directory ? > > Can you execute the 'bash' command at your shell? What UNIX system do you use? > > > 在 2010-03-23二的 19:56 +0800,liu chang写道: > >> 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~ > >> >> > >> >> > >> > > > > > > >
