Private ethereum network can not find geth ipc

0 votes

I am not able to find geth.ipc

geth attach ipc:/home/user/privatechain/data/geth.ipc console
Fatal: Unable to attach to remote geth: dial unix /home/edureka/privatechain/data/geth.ipc: connect: no such file or directory

I checked that directory and geth.ipc is not there. How to find geth.ipc?

Dec 6, 2018 in Blockchain by slayer
• 29,350 points
2,273 views

1 answer to this question.

0 votes

If you have initialized the genesis block correctly then you should have the file in ./data directory. Anyways you can find it like this:

locate geth.ipc

It will show the location and then use that location

geth attach ipc:/<path to file>/geth.ipc console
answered Dec 6, 2018 by Omkar
• 69,210 points

Related Questions In Blockchain

+1 vote
1 answer

How can I initiate a transaction on ethereum private network using mobile device?

There is no android wallet to connect ...READ MORE

answered Apr 18, 2018 in Blockchain by Shashank
• 10,400 points
690 views
0 votes
1 answer

Not able to send ethers in private ethereum network

Your account is locked by default due ...READ MORE

answered Jan 9, 2019 in Blockchain by Omkar
• 69,210 points
852 views
–1 vote
1 answer

Not able to create new account in geth for private ethereum blockchain

personal.newAccount() is not a default geth method. This ...READ MORE

answered Jan 17, 2019 in Blockchain by Omkar
• 69,210 points
3,357 views
–1 vote
2 answers

Can I add extra miners to an Ethereum Private Network?

To add miners, add peers. Then with ...READ MORE

answered Feb 19, 2019 in Blockchain by Rahul
1,077 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,662 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,215 views
0 votes
0 answers

Error: Unexpected token o in JSON at position 1

I have been working with Interacting a ...READ MORE

Mar 6, 2019 in Blockchain by saeedi
• 120 points

edited Mar 6, 2019 by Omkar 2,181 views
+1 vote
2 answers

Not able to create new account in geth for private ethereum network

Looks like the account you are trying ...READ MORE

answered Dec 6, 2018 in Blockchain by Omkar
• 69,210 points
3,493 views
0 votes
1 answer

Not able to invoke a contract in Ethereum Private chain using geth

Hope this helps: contract mortal { /* ...READ MORE

answered Oct 22, 2018 in Blockchain by Omkar
• 69,210 points
718 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP