Details
-
Question
-
Resolution: Done
-
Major - P3
-
None
-
3.6.10
-
None
-
None
-
RHEL 7
Description
Hi
We're getting an error when we're trying to authenticate on a database running MongoDB 3.6.10
[enerfors@adp-stage-mongodb01 ~]$ mongo
|
MongoDB shell version v3.6.10
|
connecting to: mongodb://127.0.0.1:27017/?gssapiServiceName=mongodb |
Implicit session: session { "id" : UUID("24228b75-6b8b-46cc-a5ee-237b91a82479") } |
MongoDB server version: 3.6.10
|
+ MongoDB Shell Extensions (0.2.9) by Gabriele Lana <gabriele.lana@gmail.com>
|
bf-adp:PRIMARY> use admin
|
switched to db admin
|
bf-adp:PRIMARY> db.auth("admin", "*") |
1
|
bf-adp:PRIMARY> use domain
|
switched to db domain
|
bf-adp:PRIMARY> db.auth("user", "*") |
1
|
bf-adp:PRIMARY>
|
bf-adp:PRIMARY> c
|
2019-05-02T17:27:13.511+0200 E QUERY [thread1] Error: listCollections failed: {
|
"operationTime" : Timestamp(1556810830, 1), |
"ok" : 0, |
"errmsg" : "too many users are authenticated", |
"code" : 13, |
"codeName" : "Unauthorized", |
"$clusterTime" : { |
"clusterTime" : Timestamp(1556810830, 1), |
"signature" : { |
"hash" : BinData(0,"BOjtAxpRjd+tmZWOlgytdqEslHQ="), |
"keyId" : NumberLong("6620692692374388897") |
}
|
}
|
} :
|
_getErrorWithCode@src/mongo/shell/utils.js:25:13
|
DB.prototype._getCollectionInfosCommand@src/mongo/shell/db.js:941:1
|
DB.prototype.getCollectionInfos@src/mongo/shell/db.js:953:19
|
DB.prototype.getCollectionNames@src/mongo/shell/db.js:964:16
|
DB.prototype.getCollections@/www/adeprimo/home/enerfors/.mongorc.js:12636:12
|
shellHelper.c@/www/adeprimo/home/enerfors/.mongorc.js:11986:5
|
shellHelper@src/mongo/shell/utils.js:750:15
|
@(shellhelp2):1:1
|
bf-adp:PRIMARY>
|
Any ideas why?
Regards
Erik