I have seen similar question about the geth.ipc file (I can't find my geth.ipc), I am on Windows 7.
I am not able to see geth.ipc file after running geth as said in the other question thread, tough I am able to connect to geth in other instance of command window using (>geth attach) without passing the path for geth.ipc, my question is the new version of geth does not create geth.ipc?
geth attach ipc:MyPvtBlockChain1/geth.ipc
Executing the above command says
Fatal:Unable to attach to remote geth: Invalid pipe address MyPvtBlockChain/geth.ipc
The problem is that I have created two private blockchains on my machine now. It is a problem to connect these two separate blockchains without the geth.ipc file. Both my
geth attach command connect to same geth node instance and not separate blockchains I have created, I have checked it using
admin.nodeInfo command and both windows point to the same geth node.
When I try to run geth on the another private blockchain like this, the
--ipcpath is requried here, but as I do not have access to geth.ipc file there is no way I can run geth on the my second blockchain instance which would require the command below, which takes details of my second blockchain and run it on a seperate port number.
Run Geth for first blockchain
geth --datadir MyPvtBlockChainData1 --port 30303 --nodiscover --ipcpath MyPvtBlockChainData1/geth.ipc" --networkid 1234 console
Run Geth for second blockchain
geth --datadir MyPvtBlockChainData2 --port 30304 --nodiscover --ipcpath MyPvtBlockChainData2/geth.ipc" --networkid 1234 console