When trying to send a transaction through json-rpc interface on a geth node (version 1.4.10-stable-5f55d95a, running on testnet) using eth_sendTransaction
I got this error message:
-32000 [message] => account is locked
I have tried to unlock the account using the following command:
geth --testnet --exec "personal.unlockAccount(eth.accounts[0], password, 3600)" attach true http://localhost:8545
But I get another error:
Fatal: Unable to attach to remote geth: invalid endpoint
Trying to unlock as explained in how to unlock the account with geth?
geth --testnet --unlock 0x3b877e80b... --password password
throws this error too:
Fatal: Could not open database: resource temporarily unavailable
Another option to unlock account according to previous URL is using the Geth interactive Javascript console. But how do I launch such console?
I've seen someone is having same problem on code -32000 message: account is locked but any command of the kind
geth --unlock
is not working on my geth node.
Is it possible to unlock accounts directly through json-rpc interface anyhow?
Why geth is not allowing me to unlock my ethereum account? Why "invalid endpoint"?