Error initializing block database. Do you want to rebuild the block database now?
As the question is already answered in the comments and there anothere question arouse about how to send API commands independently to the server from each node.

As Nick ODell gave a correct hint, in fact you need to prefix each API command like "getbalance" with "bitcoin-cli -conf="!

Thanks to Nick ODell!