Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: kldunc on February 08, 2011, 04:52:48 AM



Title: bitcoin -server error
Post by: kldunc on February 08, 2011, 04:52:48 AM
When running bitcoin with -server I get this error message:
Quote
Warning: To use the "-server" option, you must set rpcpassword=<password> in the configuration file:
C:/Users/username/Appdata/Roaming/Bitcoin/bitcoin.conf

In bitcoin.conf I have:
Quote
rpcuser=username
rpcpassword=password

Am I missing something?


Title: Re: bitcoin -server error
Post by: Cryptoman on February 08, 2011, 05:03:40 AM
Make sure the file is in the correct directory and that the file name is not misspelled.  I don't know how file permissions work under Windows, but also make sure the file is readable by the user starting the server.  Other than that, I have no clue.


Title: Re: bitcoin -server error
Post by: bitcool on February 08, 2011, 05:42:34 AM
I had same problem before, not sure the cause is the same though.

I created bitcoin.conf using Windows New -> Text file, even though it showed "bitcoin.conf" as the file name, there's a hidden extension .txt. I renamed it using DOS and everything worked fine.


Title: Re: bitcoin -server error
Post by: kldunc on February 08, 2011, 01:15:43 PM
Quote
I created bitcoin.conf using Windows New -> Text file, even though it showed "bitcoin.conf" as the file name, there's a hidden extension .txt. I renamed it using DOS and everything worked fine.

This was exactly it. I sent a bitcoin to say thanks


Title: Re: bitcoin -server error
Post by: bitcool on February 08, 2011, 04:00:47 PM
This was exactly it. I sent a bitcoin to say thanks
thanks, glad to help.


Title: Re: bitcoin -server error
Post by: WSDN on February 08, 2011, 04:30:52 PM
hi all is possible put more users in the same conf file? example: i have 3 computers (6 workers 3 prosessor and 3 gpu) is possible to have 6 users in the same conf file?


Title: Re: bitcoin -server error
Post by: BitterTea on February 08, 2011, 08:06:53 PM
I believe you'd have to have separate conf files and specify the datadirectory for Bitcoin using the command line argument.