geth Fatal Error starting protocol stack datadir already used by another process

0 votes

When I run geth,  i get the following error. How to solve this?

geth
INFO [12-05|12:10:00.698] Maximum peer count                       ETH=25 LES=0 total=25
Fatal: Error starting protocol stack: datadir already used by another process
Dec 6, 2018 in Blockchain by slayer
• 29,350 points
4,976 views

1 answer to this question.

0 votes

It seems like geth is already running. Find the process ID and kill that process. 

$ ps

   PID TTY          TIME CMD
 27957 pts/0    00:00:00 bash
 29453 pts/0    00:00:00 nano
 34395 pts/0    00:00:00 geth
 34436 pts/0    00:00:00 ps
$ kill -9 34395
answered Dec 6, 2018 by Omkar
• 69,210 points

Related Questions In Blockchain

0 votes
1 answer

geth attach command showing error: bind: address already in use

Seems like there is already a geth instance ...READ MORE

answered Jan 16, 2019 in Blockchain by Omkar
• 69,210 points
2,259 views
0 votes
1 answer

Error in Chaincodes not getting picked up by ./startFabric.sh

After changing chaincode in fabric-samples/chaincode/fabcar/go/fabcar.go (this is ...READ MORE

answered Jul 31, 2018 in Blockchain by Shashank
• 10,400 points
1,025 views
0 votes
1 answer
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,621 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,194 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,138 views
0 votes
1 answer
0 votes
2 answers

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

please check from root, sudo -i geth attach READ MORE

answered Nov 7, 2020 in Blockchain by balachandar
• 140 points
6,376 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