0

When i running command geth acoount list i get the error - Fatal: Failed to create the protocol stack: datadir already used by another process

If i stop the geth the above command would list my accounts.

There is any way to list account while geth is running? Why this happening? There is anything mentioned about it in docs

4
  • last time I used this function, the accounts were stored in datadir in the accounts directory
    – Nulik
    Aug 23 at 20:49
  • You can't have two geth instances accessing the same datadir. You could attach the second instance to the first.
    – Ismael
    Aug 29 at 3:36
  • @Ismael So, then i should run the command: geth attach - and access account and other stuff with javascript commands? Aug 29 at 15:39
  • @illimitable That is a possible solution. Geth now supports using clef to manage accounts in a separate process from geth geth.ethereum.org/docs/clef/tutorial you may want to check that if it fits better with your purpose.
    – Ismael
    Aug 29 at 17:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.