Running "geth" will continuously sync the blockchain. I use a ubuntu server as ethereum node.

Now i want to start a second instance of geth to run the geth console for running some commands.

This will end up with:

Fatal: Error starting protocol stack: datadir already used by another process

Is there any way to run several instances of "geth"? One for syncing, one for the console?

1 Answer 1


I think you can use the second one with geth attach option .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.