Pages:
Author

Topic: Hi, I've installed bitcoin client on Ubuntu! What now?? (Read 5148 times)

newbie
Activity: 7
Merit: 0
full member
Activity: 238
Merit: 100
yrtrnc:
If I was, I'd do away with using bitcoin-qt, or the terminal based bitcoind (god knows why some one suggested that for a self proclaimed newbie).

Use some thing like Electrum (http://electrum-desktop.com/download), I've never used it, but it has good reviews from people here.
The major benefit from using it is that you don't have to download the blockchain (which could take hours or days); it gets all the information it needs it real time from the Internet.

Probably best to remove the bitcoin directories before you install it (just to avoid confusion later on): #> rm -rf ~/.bitcoin
and also remove bitcoin-qt and bitcoind just in case the bitcoind service has been set to start on bootup.
hero member
Activity: 605
Merit: 500
Here is my log file. I am running 0.7.1. I have cut the log a bit short.

Thanks




ERROR: FetchInputs() : 5b2febc48a mempool Tx prev not found a5d15e1498
stored orphan tx 5b2febc48a (mapsz 5613)
received block 00000000000002e174e6
ProcessBlock: ORPHAN BLOCK, prev=00000000000007328218
ERROR: FetchInputs() : fafa937e40 mempool Tx prev not found 4578de4640
stored orphan tx fafa937e40 (mapsz 5614)
Flushed 10661 addresses to peers.dat  246ms
received block 00000000000002dd859a
ProcessBlock: ORPHAN BLOCK, prev=00000000000002e174e6
Added 1 addresses from 94.179.214.34: 13 tried, 10648 new
ERROR: FetchInputs() : 955e361a1a mempool Tx prev not found 6e08b7388c
stored orphan tx 955e361a1a (mapsz 5615)
ERROR: FetchInputs() : 1d5d5ac640 mempool Tx prev not found 52cd767862
stored orphan tx 1d5d5ac640 (mapsz 5616)
ERROR: FetchInputs() : 7b2dcce78d mempool Tx prev not found 5b2febc48a
stored orphan tx 7b2dcce78d (mapsz 5617)
received block 00000000000002516ec0
ProcessBlock: ORPHAN BLOCK, prev=00000000000002dd859a
ERROR: FetchInputs() : 23f9cd3e91 mempool Tx prev not found d281c0a3e2
stored orphan tx 23f9cd3e91 (mapsz 5618)
ERROR: FetchInputs() : 6e9e03ae73 mempool Tx prev not found 5b2febc48a
stored orphan tx 6e9e03ae73 (mapsz 5619)
received block 0000000000000294a1bc
ProcessBlock: ORPHAN BLOCK, prev=00000000000002516ec0
ERROR: FetchInputs() : 9666265669 mempool Tx prev not found fafa937e40
stored orphan tx 9666265669 (mapsz 5620)
Added 1 addresses from 173.76.177.60: 13 tried, 10648 new
ERROR: FetchInputs() : 5e07d9b38c mempool Tx prev not found 5b2febc48a
stored orphan tx 5e07d9b38c (mapsz 5621)
ERROR: FetchInputs() : 3f9a3d8ee2 mempool Tx prev not found 5b2febc48a
stored orphan tx 3f9a3d8ee2 (mapsz 5622)
ERROR: FetchInputs() : a993dd9d99 mempool Tx prev not found 4551f0e1cd
stored orphan tx a993dd9d99 (mapsz 5623)
ERROR: FetchInputs() : fd88eb3179 mempool Tx prev not found 5b2febc48a
stored orphan tx fd88eb3179 (mapsz 5624)
received block 000000000000066ecfe5
ProcessBlock: ORPHAN BLOCK, prev=0000000000000294a1bc
Added 1 addresses from 173.76.177.60: 13 tried, 10649 new
received block 000000000000010fa885
ProcessBlock: ORPHAN BLOCK, prev=000000000000066ecfe5
received block 00000000000004c689d9
ProcessBlock: ORPHAN BLOCK, prev=000000000000010fa885
ERROR: FetchInputs() : 879c40d7f5 mempool Tx prev not found 1d5d5ac640
stored orphan tx 879c40d7f5 (mapsz 5625)
ERROR: FetchInputs() : 4a0138c922 mempool Tx prev not found e676005a6d
stored orphan tx 4a0138c922 (mapsz 5626)
received block 000000000000045c31bb
ProcessBlock: ORPHAN BLOCK, prev=00000000000004c689d9
received block 000000000000051c24db
ProcessBlock: ORPHAN BLOCK, prev=000000000000045c31bb
received block 000000000000047ffa72
ProcessBlock: ORPHAN BLOCK, prev=000000000000051c24db
ERROR: FetchInputs() : 6fc3777ee6 mempool Tx prev not found 2203f90fcb
stored orphan tx 6fc3777ee6 (mapsz 5627)
ERROR: FetchInputs() : a5c007a181 mempool Tx prev not found a993dd9d99
stored orphan tx a5c007a181 (mapsz 5628)
received block 000000000000019b5080
ProcessBlock: ORPHAN BLOCK, prev=000000000000047ffa72
Flush(false)
blkindex.dat refcount=0
ThreadSocketHandler exited
ThreadMessageHandler exited
ipcThread exited
blkindex.dat checkpoint
ThreadMapPort exited
blkindex.dat closed
wallet.dat refcount=0
wallet.dat checkpoint
wallet.dat detach
wallet.dat closed
DBFlush(false) ended            1087ms
StopNode()
ThreadOpenConnections exited
Flushed 10662 addresses to peers.dat  560ms
Flush(true)
DBFlush(true) ended               0ms
Bitcoin exited





















Bitcoin version v0.7.1.0-geb49457-beta ()
Using OpenSSL version OpenSSL 1.0.1c 10 May 2012
Startup time: 30/10/12 18:59:17
Default data directory /home/yr/.bitcoin
Used data directory /home/yr/.bitcoin
dbenv.open LogDir=/home/yr/.bitcoin/database ErrorFile=/home/yr/.bitcoin/db.log
Loading block index...
LoadBlockIndex(): hashBestChain=0000000034bd1e0953a3  height=43788  date=04/03/10 20:29:39
Verifying last 2500 blocks at level 1
 block index           18996ms
Loading wallet...


************************
EXCEPTION: St13runtime_error       
CDB() : can't open database file wallet.dat, error 12       
bitcoin in Runaway exception       

EnvShutdown exception: Invalid argument (22)
sr. member
Activity: 313
Merit: 250
Ok, so I installed it again and restarted the syncing as you know.

about half hour in to it , it stops and says : "WARNING: Displayed transactions may not be correct!  You may need to upgrade, or other nodes may need to upgrade."

Any ideas??

You can check $HOME/.bitcoin/debug.log to see if something weird is going on.
Maybe you are just connected to some nodes that are not fully updated with the rest of the network,
you could try to connect to a hubnode ( http://blockchain.info/hub-nodes ) until you are fully synced.

To do that you can launch bitcoin-qt from the commandline like this:
Code:
bitcoin-qt -connect=5.9.24.81
hero member
Activity: 605
Merit: 500
Ok, so I installed it again and restarted the syncing as you know.

about half hour in to it , it stops and says : "WARNING: Displayed transactions may not be correct!  You may need to upgrade, or other nodes may need to upgrade."

Any ideas??
hero member
Activity: 605
Merit: 500
Well, thanks for the tip.

I installed it in a bit of a different way to what you said.

I added the ppa to software sources and then downloaded and installed it from the software center.

Thanks a bunch for all the enlightening info.

Im still trying to get the hang of ubuntu, I feel it works in mysterious ways.

I have reinstalled it in the way you described and it is syncing, fingers crossed and hope it works  Wink

Thanks alot!

Errors accessing wallet.dat as described above are likely from bitcoin (in one form or another) still running. Alternately, the wallet file could have been corrupted by attempting to run two different versions of Bitcoin which may concurrently access the same data directory.

Bitcoin takes a considerable amount of time to shut down after you tell it to. Bitcoin-qt (the full GUI version) will "close" when you press the close button, but it may still run in the background for a minute as it shuts down and closes the database files. Bitcoind (the daemon) may be running in a console window, but it doesn't need a window showing on your current desktop to be running.

In Ubuntu, press the superkey (Windows key), and type "System Monitor" and launch it. In the system monitor, check the processes tab to see if any copy or version of Bitcoin is running. If so you must close it and allow it to finish closing.

You do not state what version you are using or where you got it from. Either run bitcoin-qt extracted from the Sourceforge Bitcoin release bitcoin-0.7.1-linux.tar.gz (bitcoin.org -> Linux version), or follow these instructions:

Ubuntu Linux users can use the "Personal Package Archive" (PPA) maintained by Matt Corallo to automatically keep up-to-date. Just type:
sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update


in your terminal, then install the bitcoin-qt package:
sudo apt-get install bitcoin-qt


You should first remove any bitcoind or older version you have installed. Additionally, if you have never used your wallet or the addresses in it, a good fresh start would be to remove the .bitcoin directory in your home directory, which is where all data files for Bitcoin are stored.

After installing the newest version, it can be launched by typing bitcoin-qt in a terminal window if it is not added to your menu bar. Then let it run for the day or two it requires to download 4GB of data.
legendary
Activity: 1512
Merit: 1036
If my instructions are followed and there is still an error message when launching the lastest version of Bitcoin from a fresh start, and you need the addresses or money in the wallet, a new command was added in Bitcoin 0.7.1 which you can run like this from a terminal window:

bitcoin-qt -salvagewallet

It will do a low level scan and recovery for wallet addresses and keys, and create a new wallet with this data. Bitcoin-qt will take a considerable amount of time before the GUI appears if you start using this command.

strange.... I had absolutely no problems, just installed - doubleclick - ready
It would be helpful for the discussion if you described what OS and which installer you used to have such an awesome experience that it was worth regaling in the thread of someone having problems...
sr. member
Activity: 1077
Merit: 250
CryptoTalk.Org - Get Paid for every Post!
strange.... I had absolutely no problems, just installed - doubleclick - ready
legendary
Activity: 1512
Merit: 1036
Errors accessing wallet.dat as described above are likely from bitcoin (in one form or another) still running. Alternately, the wallet file could have been corrupted by attempting to run two different versions of Bitcoin which may concurrently access the same data directory.

Bitcoin takes a considerable amount of time to shut down after you tell it to. Bitcoin-qt (the full GUI version) will "close" when you press the close button, but it may still run in the background for a minute as it shuts down and closes the database files. Bitcoind (the daemon) may be running in a console window, but it doesn't need a window showing on your current desktop to be running.

In Ubuntu, press the superkey (Windows key), and type "System Monitor" and launch it. In the system monitor, check the processes tab to see if any copy or version of Bitcoin is running. If so you must close it and allow it to finish closing.

You do not state what version you are using or where you got it from. Either run bitcoin-qt extracted from the Sourceforge Bitcoin release bitcoin-0.7.1-linux.tar.gz (bitcoin.org -> Linux version), or follow these instructions:

Ubuntu Linux users can use the "Personal Package Archive" (PPA) maintained by Matt Corallo to automatically keep up-to-date. Just type:
sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update


in your terminal, then install the bitcoin-qt package:
sudo apt-get install bitcoin-qt


You should first remove any bitcoind or older version you have installed. Additionally, if you have never used your wallet or the addresses in it, a good fresh start would be to remove the .bitcoin directory in your home directory, which is where all data files for Bitcoin are stored.

After installing the newest version, it can be launched by typing bitcoin-qt in a terminal window if it is not added to your menu bar. Then let it run for the day or two it requires to download 4GB of data.
hero member
Activity: 605
Merit: 500
Well, well

Now, I ran bitcoin-qt fine the first time and it seemed to be syncing ok. when I closed the program and re-opened it, it wont start anymore. And it says

A fatal error has occured. Bitcoin can no longer continue safely and will quit.

Exception: St13runtime_error
CDB() : can't open database file wallet.dat, error 12
bitcoin in Runaway exception.

 Huh Huh
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
why do you need to run bitcoind?

run the GUI bitcoin-qt or better yet use http://blockchain.info/'s wallet service

of course you will need to print out paper wallets for your bitcoin savings account

https://www.bitaddress.org/bitaddress.org-v2.0-SHA1-c0300a88d2de421106560185e4916f4eee6ed9df.html

 Roll Eyes

oh will you look at that, you can now print the nice bills!

but i will click the Hide art check box not to wast ink...
Thanks a bunch mate,, turns out I was trying to run the wrong program..

Bitcoin wallet is now running  Grin
bitcoind is for doing things like automatic payouts and import private key
hero member
Activity: 605
Merit: 500
Thanks a bunch mate,, turns out I was trying to run the wrong program..

Bitcoin wallet is now running  Grin

why do you need to run bitcoind?

run the GUI bitcoin-qt or better yet use http://blockchain.info/'s wallet service

of course you will need to print out paper wallets for your bitcoin savings account

https://www.bitaddress.org/bitaddress.org-v2.0-SHA1-c0300a88d2de421106560185e4916f4eee6ed9df.html

 Roll Eyes

oh will you look at that, you can now print the nice bills!

but i will click the Hide art check box not to wast ink...
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
why do you need to run bitcoind?

run the GUI bitcoin-qt or better yet use http://blockchain.info/'s wallet service

of course you will need to print out paper wallets for your bitcoin savings account

https://www.bitaddress.org/bitaddress.org-v2.0-SHA1-c0300a88d2de421106560185e4916f4eee6ed9df.html

 Roll Eyes

oh will you look at that, you can now print the nice bills!

but i will click the Hide art check box not to wast ink...
hero member
Activity: 605
Merit: 500
Note that: Bitcoind is running in system monitor using 4-8 % cpu and 600megs of ram.. No gui is present??? Huh
hero member
Activity: 605
Merit: 500
Hi

Thanks for the input everyone..

So I deleted everything and installed as you said.

I wrote bitcoin in the terminal and nothing happened.. Then I wrote bitcoind and files started to appear in the .bitcoin file.

Thats about it?? How do I know that the wallet is syncing??

What do I do next???

I'm so N00BBBB
mpx
newbie
Activity: 14
Merit: 0
Try 'bitcoin' in a terminal instead of 'bitcoind'

also try removing the wallet too (assuming you've got nothing in it!!!)

if all else fails, reinstall :

•sudo apt-get install python-software-properties
•sudo add-apt-repository ppa:bitcoin/bitcoin
•sudo apt-get install bitcoind

legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
When I type bitcoind -deamon in the terminal I get an error:

I think you'll find the argument should be -daemon rather than -deamon (although am not certain that this is the cause of your problem).

Exception: St13runtime_error
CDB() : can't open database file wallet.dat, error 12
bitcoin in AppInit()

terminate called after throwing an instance of 'std::runtime_error'
 what():  CDB()  : can't open database file wallet.dat, error 12
Aborted (core dumped)

For further information about the DB error you'll need to check the "debug.log" file.
hero member
Activity: 605
Merit: 500
When I type bitcoind -deamon in the terminal I get an error:

Exception: St13runtime_error
CDB() : can't open database file wallet.dat, error 12
bitcoin in AppInit()

terminate called after throwing an instance of 'std::runtime_error'
 what():  CDB()  : can't open database file wallet.dat, error 12
Aborted (core dumped)

I opened .bitcoin folder and deleted everything except wallet.dat, and still no luck??

What am I doing wrong?? Huh

Thanks
hero member
Activity: 605
Merit: 500
Thanks guys  Cheesy

How do I start the syncing process.

Just type bitcoind -deamon in the terminal??

How do I know when its done???
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
So I installed bitcoin-qt on Ubuntu 12.10 . How do I sync my new wallet ? How do I start my wallet??

Thanks Wink

You just need to start bitcoin-qt - it will automatically create a new wallet and start downloading the block chain (note that the latter step can take a very long time depending upon your internet connection and hardware).

While you are waiting for the block chain download you might want to start trying to work out your wallet "pass phrase" as this needs to be something very long (and best to be mixed with alpha-numeric and other symbols) and something you *cannot* forget (or your wallet becomes "read only").
Pages:
Jump to: