geth attach Fatal: Unable to attach to remote geth: no known transport for URL scheme "c"

–1 vote

I have installed geth successfully but when I try to use get attach command, I am facing this error:

geth attach
Fatal: Unable to attach to remote geth: no known transport for URL scheme "c"
Jan 16 in Blockchain by digger
• 26,600 points
133 views

1 answer to this question.

0 votes

Seems like geth.ipc path is not set. When you installed geth, it is necessary to add the IPC path. 

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 Jan 16 by Omkar
• 68,180 points

Related Questions In Blockchain

0 votes
1 answer

geth: Fatal: Failed to read genesis file: open “/home/edureka/privatechain/”: no such file or directory

Use this: geth --datadir ./data init ./custom_genesis.json READ MORE

answered Dec 5, 2018 in Blockchain by Omkar
• 68,180 points
417 views
0 votes
1 answer

geth: Fatal: invalid genesis file: invalid character 'â' looking for beginning of object key string

Looks like your editor is adding characters ...READ MORE

answered Dec 5, 2018 in Blockchain by Omkar
• 68,180 points
693 views
+1 vote
1 answer

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
• 68,180 points
215 views
–1 vote
1 answer

Unable to create account in geth

Well, that's not how you create a ...READ MORE

answered Dec 28, 2018 in Blockchain by Omkar
• 68,180 points
71 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,810 points
182 views
0 votes
1 answer
0 votes
0 answers

Error: Unexpected token o in JSON at position 1

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

Mar 6 in Blockchain by saeedi
• 120 points

edited Mar 6 by Omkar 544 views
0 votes
1 answer

Not able to attach geth.ipc: Fatal: Unable to attach to remote geth: connect: connection refused

You should not mention double quotes for ...READ MORE

answered Dec 6, 2018 in Blockchain by Omkar
• 68,180 points
495 views
0 votes
1 answer

“geth attach” command shows error: Fatal: Unable to attach to remote geth

Seems like the geth.ipc file is not present in ...READ MORE

answered Jan 16 in Blockchain by Omkar
• 68,180 points
202 views