I am trying to run a program in /usr/local/bin/
called runserver
.
/usr/local/bin
is in $PATH...
echo $PATH
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
I am referencing the right program...
which runserver
/usr/local/bin/runserver
Yet when I try to execute runserver
I get error that bash is trying to execute runserver in /usr/bin
runserver
bash: /usr/bin/runserver: No such file or directory
What am I missing?
/usr/local/bin/runserver
?cd /www
chmod +x file
, I believe you otherwise get a permission denied error but I'm not sure)? Also, are you running a 64-bit OS and trying to execute a 32-bit binary? In this case you should install the 32-bit libraries (apt-get install ia32-libs
)./usr/local/bin/runserver
?hash -r
for bash.