Author

Topic: [FIXED]bitcoind won't run on Ubuntu Server 10.04 (Read 2286 times)

jlp
sr. member
Activity: 266
Merit: 264
February 11, 2014, 01:40:54 AM
#11
Try
Code:
ls -l bitcoind

and

Code:
file bitcoind


I'm having the same problem, but my ubuntu Linux is 32 bit.  I'm getting the following:

Code:
ldd bitcoind
ldd: ./bitcoind: No such file or directory

ls -l bitcoind
ls: cannot access bitcoind: No such file or directory

file bitcoind
bitcoind:  ERROR: cannot open `bitcoind' (no such file or directory)

I installed bitcoin with:

Code:
$ sudo apt-get install bitcoind

It outputted several lines, with the last one being:

Code:
ldconfig deferred processing now taking place

I don't know what the above means.

I have the following files in my home/user/.bitcoin folder:

addr.dat      blk0001.dat     database   __db.002   __db.004   __db.006     db.log       wallet.dat
bitcoin.conf  blkindex.dat    __db.001   __db.003   __db.005   DB.CONFIG  debug.log

Can anyone suggest on how I can run bitcoind?

member
Activity: 116
Merit: 10
Oh wow, I'm really sorry!

I thought I had set this server up as 32 bit, but apparently I did 64 bit! (its been a while!)

I knew it would be something so glaringly obvious that I'd overlook it!  All is well now, thanks!

Maybe you could change your topic to: "[fixed] bitcoind won't run on Ubuntu Server 10.04"

thx Smiley
full member
Activity: 238
Merit: 100
Oh wow, I'm really sorry!

I thought I had set this server up as 32 bit, but apparently I did 64 bit! (its been a while!)

I knew it would be something so glaringly obvious that I'd overlook it!  All is well now, thanks!
sr. member
Activity: 406
Merit: 251
Is this x86 or 64 bit box?

Code:
uname -a
ls -l /lib/ld-linux*
ldd -v bitcoind

full member
Activity: 238
Merit: 100
here's the results:

Code:
$ ls -l bitcoind                  
-rwxr-xr-x 1 jondecker76 jondecker76 3703900 2011-04-27 12:00 bitcoind   

$ file bitcoind                   
bitcoind: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.15, stripped
   
sr. member
Activity: 406
Merit: 251
Try
Code:
ls -l bitcoind

and

Code:
file bitcoind
full member
Activity: 238
Merit: 100
no go with ldd Sad


Code:
ldd ./bitcoind                  
        not a dynamic executable   
                     
full member
Activity: 238
Merit: 100
yes, the execution bit is set

I will try the ldd and see what I get
sr. member
Activity: 406
Merit: 251
Also try running ldd and see if anything is missing.

Code:
ldd bitcoind

x86 or 64?
hero member
Activity: 840
Merit: 1000
You might need to set the permissions to allow execution.

Code:
chmod +x bitcoind

Then try running it.
full member
Activity: 238
Merit: 100
I have Bitcoin set up on all of my linux boxes but one, which is running Ubuntu Server 10.04

I downloaded and extracted the .tar.gz, and set the executable bit of bitcoind. I also have the ~/.bitcoin/bitcoin.conf file created.

When I try to launch ./bitcoind, I get an error that "-bash: ./bitcoind: No such file or directory" - though using other standard cli tools such as mv and ls clearly shows that bitcoind does exist.  I'm puzzled as to why it not only fails to execute, but why does bash think it doesn't exist only when I try to execute it (it works fine when the file is passed as a parameter in another function)?

any help would be appreciated!
Jump to: