I am trying to create private block chain. When I am trying to run this command:
geth init ./customgenesis.json
...it is showing an error:
fatal: failed to open database: The process cannot access the file because it is being used by another process
I am unable to proceed with the other steps. May I know how to overcome this?
geth init
with your new genesis file, check whether there's an instance of Geth already running in Task Manager. Either that, or the editor you used to create the file might have a lock on it.