first connection "insufficient funds" error code -4

+1 vote
2 virtual boxes set up

generated wallet in second box

Attempting to grant connection permission to chain1 on first box this is what I get:

multichain-cli chain1 grant 1FUc6zjhMmR5zw8ap1JEVVrXjFpMQJ58YT4uN8 connect
{"method":"grant","params"["1FUc6zjhMmR5zw8ap1JEVVrXjFpMQJ58YT4uN8","connect"],"id":1,"chain_name":"chain1"}

error code: -4
error message:
Insufficient funds

Where do I go from here?
asked Oct 15, 2016 by yavorcik

1 Answer

0 votes
You should grant permission from the node which started the chain to the other node, not the other way round. Or did I misunderstand what you're doing?
answered Oct 15, 2016 by MultiChain
Thank you for reporting this.

The wallet database in this chain was corrupted (probably because of crash/kill, which occured on 2016-10-15 10:47).

multichaind didn't recover from this crash properly. We already found the bug and we'll fix it in the next Alpha.

In the meantime you can repair your chain by running

multichaind chain1 -rescan
Ok so ran multichaind chain1 -rescan on server 1
than ran multichaindd chain1@[ip adress]:[port]
Blockchain initialized and it generated the wallet address
Back on server 1 and i input multichain-cli chain1 grant 1[wallet address]

received error code now that that server 1 didn't recognize -cli ?

Not sure what is going on with this one? help please
Can you please post exact error message?
Thanks Michael. I closed out and restarted and it worked fine. I am now getting the hanging node issue on server 2 after connecting and validation. Server two does not go back to the prompt?
Do you start multichaind with -daemon runtime parameter? Otherwise it should not return to the prompt.
...