[ALUG] executable script gives error "file not found"

Jonathan McDowell noodles at earth.li
Tue Nov 28 11:58:24 GMT 2006


On Tue, Nov 28, 2006 at 11:44:26AM +0000, Jenny Hopkins wrote:
> I've been setting up a debian box to be a clone of several other like
> boxen.  The new box has amd64 architecture and the old i386.
> Apart from that they are all still on debian sarge, 2.6 kernels.
> 
> One thing all the boxen have in common is that they share files over
> an nfs mount from a server.  Some of the files are binary executables.
> 
> Now, on the new box, they simply won't run: I get the error
> 
> balloon at capirossi:~$ /home/balloon/bin/balloon-audio-off
> bash: /home/balloon/bin/balloon-audio-off: No such file or directory
> 
> The same error appears when running it as root.
> 
> The file is executable.
> The selfsame file also runs no problem from the other computers using it.
> All I know about the file is that it invokes the bash shell and that
> it is sending data to the parallel port.

What do "file /home/balloon/bin/balloon-audio-off" and "ldd
/home/balloon/bin/balloon-audio-off" and "uname -a" say? I suspect your
issue is that you're trying to run an i386 binary on an amd64 machine in
64bit mode and that won't work unless you're running it in a chroot
AIUI.

J.

-- 
Web [   noodles is back in her lab working on the robot and the    ]
site: http:// [    strange noises have started again     ]       Made by
www.earth.li/~noodles/  [                      ]         HuggieTag 0.0.23



More information about the main mailing list