I have get error:"Initialize: Cannot initialize semaphore"

+1 vote
hi,Im runing [multichaind chain-1@xx.xx.xx.xx:9219].it's return

MultiChain Core Daemon build 1.0 beta 2 protocol 10008

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

And,im cat  /Users/xx/.multichain/chain-1/permissions.log  get message 【Cannot initialize semaphore】

what should i do . Thanks

 

mac os
asked Sep 26, 2017 by anonymous
edited Sep 27, 2017

1 Answer

0 votes

The most likely explanation is that you are already running another instance of MultiChain on the same computer, for the same blockchain. You can check for this using the top command.

answered Sep 28, 2017 by MultiChain
I've the same error with the same conditions:
$ multichaind chain1@localhost:9701

MultiChain Core Daemon build 1.0 beta 2 protocol 10008


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

I've already 2 nodes running and I need 3rd for tests.
Also running it on os x
If you want to run multiple nodes on one computer, use the datadir parameter to ensure they are using separate directories for their data.
...