-/bin/sh: xxx: not found

stanliao stanliao at jmicron.com
Mon Oct 20 11:54:01 UTC 2008


Hi,

I put some applications into my ramdisk, which is the root filesystem. When
I try to run one of the application, say smbpasswd, "bin/sh" shows the
following message:

# smbpasswd -a ftpusers
-/bin/sh: smbpasswd: not found
#
#

However, the "which" command can find it:
# which smbpasswd
/bin/smbpasswd

What might be the problem while one command can be found by which but can't
be executed by?

Stan Liao




More information about the busybox mailing list