Not able to run two different nodes in a single machine

+1 vote

I have created two different folders with in /usr/local/MultiChain/ folder named node1 and node2. I have created a chain using the below command:-

 multichain-util create testChain -datadir=/usr/local/MultiChain/node1

Now I am trying to start the node using the below command, but the node is not starting:-

multichaind testChain -daemon -datadir=/usr/local/MultiChain/node1

It is showing the below error:-

MultiChain Core Daemon build 1.0 alpha 26 protocol 10006

MultiChain server starting
IO error: /usr/local/MultiChain/node1/testChain/permissions.db/LOCK: No such file or directory

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

I have checked /usr/local/MultiChain/node1/testChain/ folder and it doesn't contain the required permissions.db file.

I am not able to understand why it is not generating. I am completely new to this whole application stack. Please help.

 

asked Dec 19, 2016 by anonymous

1 Answer

0 votes

First, that error message is likely wrong – the real problem is probably that the directory can't be found. We know about this issue and will fix it.

But I don't understand why this is not working – just tried something similar here and it worked fine. Can you send the output of:

ls -alR /usr/local/MultiChain

answered Dec 19, 2016 by MultiChain
...