Go-ethereum: Fatal: Error starting protocol stack: Access is denied.

Created on 8 May 2017  Â·  8Comments  Â·  Source: ethereum/go-ethereum

System information

Geth version: geth version: Geth 1.6.0
OS & Version: Windows/Linux/OSX : Windows
Commit hash : (if develop)

I am trying to set up private network with multiple nodes. Node 1 is starting with the below command
geth --identity "TestNode1" --datadir "testnode1" --nodiscover --networkid 1900 –ipcpath “testnode1/geth.ipc” init "genesis.json" console 2 > console1.log

However, when I try to start node 2 with the below, it gives "Fatal: Error starting protocol stack: Access is denied." I tried with --ipcdisable flag as well and the same error persists. Could anyone pls. suggest

geth --identity "TestNode2" --datadir "testnode2" --nodiscover --port "30304" --networkid 1900 --ipcpath “testnode2/geth.ipc” init "genesis.json" console 2 > console2.log

Most helpful comment

the command add --ipcdisable
see the linking https://github.com/ethereum/go-ethereum/issues/1714

All 8 comments

This is resolved

can you please write the solution i am also facing same issue

the command add --ipcdisable
see the linking https://github.com/ethereum/go-ethereum/issues/1714

Thank you!
I changed the port for multiple nodes and I changed the datadir but no one told me about the --ipcdisable.
Worked like a charm, thanks again!

Below worked for me,
C:\WINDOWS\system32>geth --networkid 13 --port 60303 --rpc --lightkdf --cache 16 --datadir "C:\ETH\data-private" --ipcdisable console

This issue only occurs in windows. On ubuntu, there was no such problem.
Link from @chengling's comments confirms that.

Thanks a lot

Below worked for me,
C:\WINDOWS\system32>geth --networkid 13 --port 60303 --rpc --lightkdf --cache 16 --datadir "C:\ETH\data-private" --ipcdisable console

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tymat picture tymat  Â·  3Comments

leonzhao picture leonzhao  Â·  3Comments

cheershendtco picture cheershendtco  Â·  3Comments

AdrianScott picture AdrianScott  Â·  3Comments

vogelito picture vogelito  Â·  3Comments