- Connect the Mongo Ops Manager AppDB using Mongo Shell
- Run below command
- use mmsdbconfig
- db.config.users.update({"un": ""}, {$set: {"isLocked": false, lastPageView: new Date()}})
- Click on the reset password link from the ops manager login page
net: | |
bindIp: 0.0.0.0 | |
port: 27000 | |
processManagement: | |
fork: "true" | |
pidFilePath: /var/run/mongodb/mongod.pid # location of pidfile | |
security: | |
authorization: enabled | |
keyFile: /var/lib/mongodb-mms-automation/keyfile | |
storage: |
'use strict' | |
/** | |
* @module guid-service | |
*/ | |
module.exports = guidService() | |
/** | |
* @function guidService Generate GUID | |
* @return {{function} base64Guid Return the GUID in base64 |
'use strict' | |
var crypto = require('crypto') | |
var Promise = require('bluebird') | |
module.exports = { | |
encrypt: encrypt, | |
decrypt: decrypt | |
} |