Had this problem before on Mac OSX with v1, and still persists with v2...maybe I am missing something...
compiled and installed and connected successfully to a chain, running commands etc..then I stopped the chain and deleted the folder for the chain details. Now when I try to connect to the chain again fresh it gives this
multichaind tagcash@tagcash.com:3000 &
MultiChain 2.0 alpha 2 Daemon (latest protocol 20002)
ERROR: Couldn't initialize permission database for blockchain tagcash. Probably multichaind for this blockchain is already running. Exiting...
So I check if multichain is running - nothing there:
ps -x |grep multichain
78928 ttys000 0:00.00 grep multichain
I deleted the .multichain directory in home folder, and then ran the connect command again..it creates a new tagcash folder inside .multichain folder, with these files:
multichain.conf
permissions.db
permissions.log
The permissions.log shows only this:
2018-03-18 23:17:44.445 Initialize: Cannot initialize semaphore
Kinda stuck now. Any ideas?