Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagejson
"db_mongo_cluster": [],