Shivamnema / Supply-Chain-Management-BlockChain-UseCase

GNU General Public License v3.0
79 stars 52 forks source link

Private block chain error: --datadir: command not found error #1

Closed warren8r closed 6 years ago

warren8r commented 6 years ago

Hello, I am trying/testing your app, but I am running into the following error when creating the private block chain: "--datadir: command not found" I am new to this, but the syntax seems ok. Not sure what the problems? Any help would be greatly appreciated. Thanks

Shivamnema commented 6 years ago

Could you please refer to my medium article for setting up private blockchain. If you still get some errors please get back to me with screenshots.

https://medium.com/@thenanobyte/how-to-deploy-the-smart-contract-on-private-ethereum-network-using-geth-66586b53b06e

On Tue 27 Mar, 2018, 12:38 AM warren8r, notifications@github.com wrote:

Hello, I am trying/testing your app, but I am running into the following error when creating the private block chain: "--datadir: command not found" I am new to this, but the syntax seems ok. Not sure what the problems? Any help would be greatly appreciated. Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Shivamnema/Supply-Chain-Management-BlockChain-UseCase/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ALRK4g_PVpGs9h2n3ZW4bYPFPufiT_MMks5tiTyYgaJpZM4S7vhF .

warren8r commented 6 years ago

I will do this. Thank you so much!

warren8r commented 6 years ago

Hello, Step 6 is causing Geth to continually run, which means I cannot run step 7. Shall I interrupt step 6 to run step 7? image

Shivamnema commented 6 years ago

Actually, you can. Though that is downloading the ethereum blockchain data on your system. You should avoid that. Please put the commands carefully it will open up JavaScript console.

On Tue 27 Mar, 2018, 4:32 AM warren8r, notifications@github.com wrote:

Hello, Step 6 is causing Geth to continually run, which means I cannot run step

  1. Shall I interrupt step 6 to run step 7? [image: image] https://user-images.githubusercontent.com/15840417/37937544-00989084-310f-11e8-9832-6ff1eb7de114.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Shivamnema/Supply-Chain-Management-BlockChain-UseCase/issues/1#issuecomment-376339469, or mute the thread https://github.com/notifications/unsubscribe-auth/ALRK4nEwQkfe8ftPD2e7fAYQpD7vGM_Lks5tiXOSgaJpZM4S7vhF .

warren8r commented 6 years ago

Hello, I am just copy and pasting your command and getting an endless stream of etherium status. I notice in your screenshot that you are only getting a few lines before the console opens. Mine has not stopped. I am also seeing a synchronization error at the end. Here is a screenshot: screenshot from 2018-03-27 11-50-24

Shivamnema commented 6 years ago

Indeed. As I mentioned it ia downloading the ethereum blockchain on your system. Please check genesis.json file and all the config files it should work that way as for me.

On Wed 28 Mar, 2018, 12:22 AM warren8r, notifications@github.com wrote:

Hello, I am just copy and pasting your command and getting an endless stream of etherium status. I notice in your screenshot that you are only getting a few lines before the console opens. Mine has not stopped. I am also seeing a synchronization error at the end. Here is a screenshot: [image: screenshot from 2018-03-27 11-50-24] https://user-images.githubusercontent.com/15840417/37988255-4b15a07e-31b5-11e8-8a08-cf771a71057e.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Shivamnema/Supply-Chain-Management-BlockChain-UseCase/issues/1#issuecomment-376635192, or mute the thread https://github.com/notifications/unsubscribe-auth/ALRK4ub-e1HPQD4zUJ8e3DgEDxMXoj7Xks5tiopkgaJpZM4S7vhF .

warren8r commented 6 years ago

Hello, Just wanted to give my progress: I have finished all steps up to and including 8C. Now getting the following error running 8D (see last few lines). Can you guide me on what I need to do? Not sure how to unlock: screenshot from 2018-03-27 15-40-15

Are you available on WhatsApp or TeamViewer? Thanks for all of your help - your assistance is GREATLY appreciated. Thanks! -Matt

Shivamnema commented 6 years ago

Hey, Great Work.