-1

I created my genesys block and successfully connected me (admin node) to the network once. Now that I try to connect again, as I geth --datadir 'mychaindata' command, everything runs smoothly until I hit the

 Starting P2P Networking
 RLPx listener up

Then everything closes : Blockchain manager stop Stopping Ethereum Protocol Ethereum Protocol stop etc... Until error message:

 Fatal: Error starting protocol stack: listen unix /mnt/c/Users/J-
 C/AppData/Roaming/myGethBlockchain/mychaindata/geth.ipc: bind: operation 
 not permitted

I am running it on bash Ubuntu on Windows but as I said, it worked once... And connecting to Ethereum main blockchain also works!

J.C
  • 252
  • 5
  • 18

1 Answers1

0

It seems that the Unix socket can't be created in sharefs, set the datadir to Unix fs like /home/datadir

Pedram marandi
  • 1,474
  • 1
  • 19
  • 35
xie cui
  • 55
  • 5
  • Indeed. It was my mistake. I am running it on Windows, but in a Ubuntu command line. Therefore I had to specify the directory to the IPC (which you don't have to do on Windows, but on Linux / Mac). – J.C Mar 16 '18 at 06:20