Big bank final activity

user@M150# mongo admin --host localhost:27006
MongoDB shell version v4.4.3
connecting to: mongodb://localhost:27006/admin?compressors=disabled&gssapiServiceName=mongodb
Implicit session: session { “id” : UUID(“51380937-10cf-409f-bc96-fba08d7a5374”) }
MongoDB server version: 4.4.3

rs.initiate(
… {
… _id: “m150-bigbank”,
… version: 1,
… members: [
… { _id: 0, host : “localhost:27006” },
… { _id: 1, host : “localhost:27007” },
… { _id: 2, host : “localhost:27008” }
… ]
… }
… )
{
“ok” : 0,
“errmsg” : “replSetInitiate quorum check failed because not all proposed set members responded affirmatively: localhost:27008 failed with Authentication failed.”,
“code” : 74,
“codeName” : “NodeNotFound”
}

storage:
dbPath: /var/mongodb/3/db
net:
bindIp: localhost
port: 27008
systemLog:
destination: file
path: /var/mongodb/3/logs/mongod.log
logAppend: true
processManagement:
fork: true
replication:
replSetName: m150-bigbank
security:
keyFile: /var/mongodb/pki/node3/keyfile

the log file of node3 showing no keyFile parameters

Authentication failed",“attr”:{“mechanism”:“SCRAM-SHA-1”,“principalName”:"__system",“authenticationDatabase”:“local”,“client”:“127.0.0.1:40558”,“result”:“AuthenticationFailed: It is not possible to authenticate as the __system user on servers started without a --keyFile parameter”}}

Compare keyfile with other nodes like permissions etc

1 Like