Bitcoin Forum
December 09, 2016, 01:37:07 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [FIXED]bitcoind won't run on Ubuntu Server 10.04  (Read 2084 times)
jondecker76
Full Member
***
Offline Offline

Activity: 238


View Profile
May 02, 2011, 04:18:58 PM
 #1

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!

RollerBot Advanced Trading Platform
https://bitcointalk.org/index.php?topic=447727.0
BTC Donations for development: 1H36oTJsi3adFh68wwzz95tPP2xoAoTmhC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481290627
Hero Member
*
Offline Offline

Posts: 1481290627

View Profile Personal Message (Offline)

Ignore
1481290627
Reply with quote  #2

1481290627
Report to moderator
1481290627
Hero Member
*
Offline Offline

Posts: 1481290627

View Profile Personal Message (Offline)

Ignore
1481290627
Reply with quote  #2

1481290627
Report to moderator
dust
Hero Member
*****
Offline Offline

Activity: 840



View Profile WWW
May 02, 2011, 05:02:09 PM
 #2

You might need to set the permissions to allow execution.

Code:
chmod +x bitcoind

Then try running it.

Cryptocoin Mining Info | OTC | PGP | Twitter | freenode: dust-otc | BTC: 1F6fV4U2xnpAuKtmQD6BWpK3EuRosKzF8U
trentzb
Sr. Member
****
Offline Offline

Activity: 406


View Profile
May 02, 2011, 05:11:13 PM
 #3

Also try running ldd and see if anything is missing.

Code:
ldd bitcoind

x86 or 64?
jondecker76
Full Member
***
Offline Offline

Activity: 238


View Profile
May 02, 2011, 05:52:43 PM
 #4

yes, the execution bit is set

I will try the ldd and see what I get

RollerBot Advanced Trading Platform
https://bitcointalk.org/index.php?topic=447727.0
BTC Donations for development: 1H36oTJsi3adFh68wwzz95tPP2xoAoTmhC
jondecker76
Full Member
***
Offline Offline

Activity: 238


View Profile
May 02, 2011, 06:00:55 PM
 #5

no go with ldd Sad


Code:
ldd ./bitcoind                 
        not a dynamic executable   
                     

RollerBot Advanced Trading Platform
https://bitcointalk.org/index.php?topic=447727.0
BTC Donations for development: 1H36oTJsi3adFh68wwzz95tPP2xoAoTmhC
trentzb
Sr. Member
****
Offline Offline

Activity: 406


View Profile
May 02, 2011, 06:09:58 PM
 #6

Try
Code:
ls -l bitcoind

and

Code:
file bitcoind
jondecker76
Full Member
***
Offline Offline

Activity: 238


View Profile
May 02, 2011, 06:43:13 PM
 #7

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
   

RollerBot Advanced Trading Platform
https://bitcointalk.org/index.php?topic=447727.0
BTC Donations for development: 1H36oTJsi3adFh68wwzz95tPP2xoAoTmhC
trentzb
Sr. Member
****
Offline Offline

Activity: 406


View Profile
May 02, 2011, 06:52:46 PM
 #8

Is this x86 or 64 bit box?

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

jondecker76
Full Member
***
Offline Offline

Activity: 238


View Profile
May 02, 2011, 07:08:03 PM
 #9

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!

RollerBot Advanced Trading Platform
https://bitcointalk.org/index.php?topic=447727.0
BTC Donations for development: 1H36oTJsi3adFh68wwzz95tPP2xoAoTmhC
JackSparrow
Member
**
Offline Offline

Activity: 116



View Profile
May 02, 2011, 07:33:11 PM
 #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
jlp
Member
**
Offline Offline

Activity: 85


View Profile
February 11, 2014, 05: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?

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!