yrtrnc (OP)
|
|
October 28, 2012, 12:09:37 PM |
|
So I installed bitcoin-qt on Ubuntu 12.10 . How do I sync my new wallet ? How do I start my wallet?? Thanks
|
|
|
|
mpx
Newbie
Offline
Activity: 14
Merit: 0
|
|
October 28, 2012, 12:19:02 PM |
|
I would run bitcoind
bitcoind -daemon
you can then run commands from the api
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
|
|
October 28, 2012, 12:22:21 PM |
|
So I installed bitcoin-qt on Ubuntu 12.10 . How do I sync my new wallet ? How do I start my wallet?? Thanks 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").
|
|
|
|
yrtrnc (OP)
|
|
October 28, 2012, 12:26:27 PM |
|
Thanks guys How do I start the syncing process. Just type bitcoind -deamon in the terminal?? How do I know when its done???
|
|
|
|
yrtrnc (OP)
|
|
October 28, 2012, 12:40:46 PM |
|
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?? Thanks
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
|
|
October 28, 2012, 12:54:10 PM |
|
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.
|
|
|
|
mpx
Newbie
Offline
Activity: 14
Merit: 0
|
|
October 28, 2012, 02:16:51 PM |
|
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
|
|
|
|
yrtrnc (OP)
|
|
October 28, 2012, 09:26:24 PM |
|
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
|
|
|
|
yrtrnc (OP)
|
|
October 28, 2012, 11:25:12 PM |
|
Note that: Bitcoind is running in system monitor using 4-8 % cpu and 600megs of ram.. No gui is present???
|
|
|
|
|
yrtrnc (OP)
|
|
October 28, 2012, 11:58:42 PM |
|
Thanks a bunch mate,, turns out I was trying to run the wrong program.. Bitcoin wallet is now running
|
|
|
|
adamstgBit
Legendary
Offline
Activity: 1904
Merit: 1037
Trusted Bitcoiner
|
|
October 29, 2012, 12:42:57 AM |
|
Thanks a bunch mate,, turns out I was trying to run the wrong program.. Bitcoin wallet is now running bitcoind is for doing things like automatic payouts and import private key
|
|
|
|
yrtrnc (OP)
|
|
October 29, 2012, 07:00:42 AM |
|
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.
|
|
|
|
deepceleron
Legendary
Offline
Activity: 1512
Merit: 1036
|
|
October 29, 2012, 02:09:35 PM Last edit: October 29, 2012, 02:36:48 PM by deepceleron |
|
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.
|
|
|
|
biddicoin
Sr. Member
Offline
Activity: 1077
Merit: 250
CryptoTalk.Org - Get Paid for every Post!
|
|
October 29, 2012, 02:13:07 PM |
|
strange.... I had absolutely no problems, just installed - doubleclick - ready
|
|
|
|
deepceleron
Legendary
Offline
Activity: 1512
Merit: 1036
|
|
October 29, 2012, 02:27:46 PM |
|
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 -salvagewalletIt 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...
|
|
|
|
yrtrnc (OP)
|
|
October 29, 2012, 06:48:25 PM |
|
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 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.
|
|
|
|
yrtrnc (OP)
|
|
October 30, 2012, 07:38:52 AM |
|
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??
|
|
|
|
nomnomnom
|
|
October 30, 2012, 05:04:29 PM |
|
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: bitcoin-qt -connect=5.9.24.81
|
|
|
|
yrtrnc (OP)
|
|
October 30, 2012, 07:10:58 PM |
|
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) |
|
|
|
|
|