Using json-rpc eth_unlockAccount()
method I can unlock everyone of my node accounts except coinbase. When trying to unlock coinbase account, geth responds with the message:
no key for given address or file.
I've bee reading Ethereum Wallet: error of no key for given address or file but I am not using Ethereum Wallet, but just json-rpc calls to geth node. Nevertheless I have restarted geth node, as recommended in the answer, but still the same error.
How can I unlock coinbase account? Why the error:
no key for given address or file.
P.S.: Trying to unlock the coinbase account directly with command line, same result:
$ geth --testnet --unlock 0x47978a69f410d0f61850c92acdb0d4c464d70937
Fatal: Failed to unlock account 0x47978a69f410d0f61850c92acdb0d4c464d70937 (no key for given address or file)
coinbase
account? The coinbase defaults to your first address, but it can also be set manually to whatever you want..ethereum/keystore
toethereum/testnet/keystore
and you should be all set.