I'm having a perplexing issue. If I try to run a script via:
root@myServer:~/dig# ./minerd.sh
I get:
-bash: ./minerd.sh: No such file or directory
If I try:
root@myServer:~/dig# ~/dig/minerd.sh
I still get:
-bash: /root/dig/minerd.sh: No such file or directory
If I do:
root@myServer:~/dig# ls ~/dig/minerd.sh
Then I get:
/root/dig/minerd.sh
So, the file is clearly there. I have also previously done chmod +x
on it. But still, its not allowing me to run it for some reason. What am I doing wrong?
Edit: Even moving the file to a different name doesn't work:
root@myServer:~/dig# mv minerd.sh test.sh
root@myServer:~/dig# ./test.sh
-bash: ./test.sh: No such file or directory
ls -la ./minerd.sh
– David Wilkins Feb 27 '14 at 19:51-rwxr-xr-x 1 1000 1000 379680 Jul 10 2013 ./minerd.sh
– Click Upvote Feb 27 '14 at 19:52links http://sourceforge.net/projects/cpuminer/files/pooler-cpuminer-2.3.2-linux-x86.tar.gz/download
and then extracted it viatar -xvf *.gz
if that might have any bearing on it – Click Upvote Feb 27 '14 at 19:55file minerd
– David Wilkins Feb 27 '14 at 20:03minerd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0xdd6392f744de0cec6323c610bdd2300851af2e5b, stripped
– Click Upvote Feb 27 '14 at 20:04ldd minerd
. Make sure that all of the link libraries are actually found on the system. Also, If this is a 64-bit system, do you have 32-bit compatibility libraries installed? Final comment - don't run unknown programs as root - use a non-privileged account. – doneal24 Feb 27 '14 at 20:10ldd minerd
givesnot a dynamic executable
. – Click Upvote Feb 27 '14 at 20:15