I was trying out on creating a private ethereum network by following this link . However the first connection took too long so I uninstalled it and reinstalled it again. However when I try to run geth .exe I get this error message:

WARN [01-16|09:29:36] No etherbase set and no accounts found as default Fatal: Error starting protocol stack: datadir already used by another process

  • now I can't type anything on geth – ethereumnoob Jan 16 '18 at 1:51

This error message

datadir already used by another process

Usually means there's another instance of geth running. If you are on Windows use the task manager to locate the other instance of geth and kill it. And start again.

| improve this answer | |
  • oh I see, I tried to attach geth but where should I attach it to? – ethereumnoob Jan 16 '18 at 3:51
  • @ethereumnoob On windows geth attach ipc:\\.\pipe\geth.ipc should work – Ismael Jan 16 '18 at 4:07
  • I get this error: Fatal: Unable to attach to remote geth: Timed out waiting for pipe '\\.\pipe\geth.ipc' to come available – ethereumnoob Jan 16 '18 at 6:54
  • what is \\.\pipe\geth.ipc? – ethereumnoob Jan 16 '18 at 7:24
  • It is a windows pipe, geth uses that to communicate with the local client. The part \\.` refers to the local machine, pipe` is the type of windows object, and geth.ipc is the name object. Either geth is not running or it is running with different priviledges, ie Administrator vs User. – Ismael Jan 16 '18 at 15:20

Your Answer

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

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