...
sudo systemctl status nats-server
omkd
If the omkd service will not start and you get the following messages in /usr/local/omk/log/opDaemon.log
[info] RBAC disabled, failed to getDb Connection, error string:Error Connecting to Database localhost:27017: MongoDB::Error: host list ':27017' contains empty host
. . .
[error] Failed to get nodes model: Find failed: MongoDB::DatabaseError: node is not in primary or recovering state
It is because the db_mongo_cluster
has not been configured correctly.
Delete the following line from the opCommon.json
file.
Code Block | ||
---|---|---|
| ||
"db_mongo_cluster": [], |