altoid (OP)
Jr. Member
Offline
Activity: 48
Merit: 9
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 13, 2011, 10:14:08 PM |
|
Hi all,
Thanks in advance for any help you can offer me. I am trying to run bitcoind on ubuntu 10.10. I've got the tarball from bitcoin.org extracted. when I run ./bitcoind from the directory it is in, it tells me to define rpcpassword in my .bitcoin/bitcoin.conf. I create the file and put in rpcpassword=password. Then when I run ./bitcoind, nothing happens. The command prompt disappears like it is working on something, but stays that way for minutes upon minutes. I left it for half an hour with no change. I was able to ctrl+c to get back to the command prompt, though.
One thing I noticed was that a bunch of files were created in my .bitcoin folder including wallet.dat and a database folder.
I've been chewing on this for hours and can't seem to crack it. The most frustrating part is that I've installed it before in the same way on other machines with no problem.
|
|
|
|
Matt Corallo
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 13, 2011, 10:50:22 PM |
|
Its working just fine. bitcoind doesn't fork, so if you were expecting it to just open and go to the next line, you have to specify -daemon. To access bitcoind, you need to use some kind of rpc client such as Spesmilo, js-ui, or cli access via calling another bitcoind with an rpc command thereafter.
|
|
|
|
altoid (OP)
Jr. Member
Offline
Activity: 48
Merit: 9
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 13, 2011, 11:42:30 PM |
|
I've never had to do what you are describing before. Usually, it says:
bitcoin server starting
and then gives me the command prompt again
|
|
|
|
Pieter Wuille
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 13, 2011, 11:44:11 PM |
|
I believe that up to 0.3.19 -daemon was the default behaviour for bitcoind.
|
I do Bitcoin stuff.
|
|
|
altoid (OP)
Jr. Member
Offline
Activity: 48
Merit: 9
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 13, 2011, 11:49:17 PM |
|
OMG adding -daemon did the trick! When did THAT change. I swear, learning to program/server admin is going to make me go grey way too fast!
|
|
|
|
altoid (OP)
Jr. Member
Offline
Activity: 48
Merit: 9
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 13, 2011, 11:59:54 PM |
|
so is there a line you can add to bitcoin.conf so you don't have to put -daemon in every time?
|
|
|
|
Matt Corallo
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 14, 2011, 12:09:12 AM |
|
so is there a line you can add to bitcoin.conf so you don't have to put -daemon in every time?
daemon should work
|
|
|
|
altoid (OP)
Jr. Member
Offline
Activity: 48
Merit: 9
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 14, 2011, 02:06:53 AM |
|
I tried putting daemon on its own line in bitcoin.conf and I got:
EXCEPTION: N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_op tions14invalid_syntaxEEEEE unrecognized line in 'daemon' bitcoin in AppInit()
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::program_options::invalid_syntax> >' what(): unrecognized line in 'daemon' Aborted
oh well...
|
|
|
|
Vasili Sviridov
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 14, 2011, 06:55:19 AM |
|
try daemon=true
|
1JHYtsmsGq2McwGHmWayVjVtHds8rp1R5
|
|
|
altoid (OP)
Jr. Member
Offline
Activity: 48
Merit: 9
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 14, 2011, 10:04:38 PM |
|
try daemon=true
That didn't work either. Oh well, I don't restart bitcoind much and putting -daemon isn't a big deal.
|
|
|
|
Gavin Andresen
Legendary
Offline
Activity: 1652
Merit: 2297
Chief Scientist
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 15, 2011, 12:58:41 AM |
|
daemon=1 ... is the right syntax for the conf file.
|
How often do you get the chance to work on a potentially world-changing project?
|
|
|
|