Multichain installation in windows 7

+1 vote

Hi All,

I installed Multichain in window 7. I followed below step:
1. multichain-util create x
2. multichaind x -daemon

I got this msg in console.

MultiChain Core Daemon build 1.0 beta 1 protocol 10008

Looking for genesis block...
Genesis block found

Other nodes can connect to this node using:
multichaind vipul@

Node started

After i that i am going to start up other node but i am facing below error.

E:\multichain>multichaind vipul@

MultiChain Core Daemon build 1.0 beta 1 protocol 10008

IO error: C:\Users\vipul\AppData\Roaming\MultiChain\vipul\permissions.db\MANIFEST-000002: The handle is invalid.

ERROR: Couldn't initialize permission database for blockchain vipul. Probably multichaind for this blockchain is already running. Exiting...

I tired but i did not get any solution. Please help me.

Thanks in advance!



asked May 13, 2017 by patelvipulgk
I am also facing the same issue using a c# code whereas i just want to start one node from a machine and will connect using other machine. Provide help.I am able to create a chain but not start it. Below is my code:

   Process p = new Process();
            p.StartInfo.FileName = "cmd.exe";
            p.StartInfo.WorkingDirectory = @"D:\Work\Blockchain";
            p.StartInfo.CreateNoWindow = true;
            p.StartInfo.RedirectStandardInput = true;
            p.StartInfo.RedirectStandardOutput = true;
            p.StartInfo.UseShellExecute = false;
            //p.StandardInput.WriteLine("multichain-util create chain10");
            p.StandardInput.WriteLine("multichaind chain10 -daemon");

2 Answers

+1 vote

If you are running multiple nodes on the same computer, you need to use the -datadir option to ensure that each one is using a different directory. See this page for more information:

answered May 15, 2017 by MultiChain
Thank you. provide me guide
+2 votes

if you were writing c# code with process - its very likely you are running multichaind in the processes and not seeing it as a window. 

 p.StartInfo.CreateNoWindow = true;

Check your processes in taskmanager and its probably still running from one of your previous code runs.

answered Aug 7, 2017 by MaSsv