rs initiate not authorized on admin to execute com
I'm trying to initialize a config replica set on a single member. If I run, ... rs.initiate(_id : "c_rs1", configsvr: true, members: [ _id: 1, host : "10.0.0.2:2701"}]}) ... "ok" : 0, "errmsg" : "not autho, Found the problem by searching around and finally found it. Here is the cause of the whole problem: keyFile implies security.authorization.
相關軟體 MongoDB 資訊 | |
---|---|
![]() rs initiate not authorized on admin to execute com 相關參考資料
MongoDB - admin user not authorized - Stack Overflow
A user with dbadmin or useradmin can admin the database (including granting yourself additional rights) but cannot perform queries or write ... https://stackoverflow.com MongoDB - locahost Not authorized on admin to execute command ...
I'm trying to initialize a config replica set on a single member. If I run, ... rs.initiate(_id : "c_rs1", configsvr: true, members: [ _id: 1, host : "10.0.0.2:2701"}]}) ... &... https://stackoverflow.com MongoDB - Not Authorized to add replica set member, but Mongo Auth ...
Found the problem by searching around and finally found it. Here is the cause of the whole problem: keyFile implies security.authorization. https://stackoverflow.com MongoDB not authorized on admin to execute command ...
MongoDB not authorized on admin to execute command replSetGetStatus: 1.0 } ... member:PRIMARY> rs.status() ... 给admin用户赋予集群管理的权限: ... 使用rs.initiate初始化创建(有权限控制的)副本集报not authorized on ... https://blog.csdn.net mongodb replica setup: not authorized on local to execute command ...
... rs.add@src/mongo/shell/utils.js:1240:1 @(shell):1:1 ... The guide you're following is not very helpful; it misses out the crucial step that you need to authenticate your connection, once you&... https://stackoverflow.com MongoDB Unauthorized: replSetGetConfig - Stack Overflow
Your "admin" database user only has the userAdminAnyDatabase role. ... You will need to grant this role to your user to be able to execute this ... https://stackoverflow.com MongoDB: Not authorized on admin to execute command - Stack Overflow
use admin db.createUser( user: "admin" ... Since the above didn't work try to start the instance with auth as below. Stop the mongod instance ... https://stackoverflow.com MongoDB的Replica Set以及Auth的配置| 亦步亦趋记 - 我家的猫
rs.initiate(config) ... 发现一直报 Error in heartbeat request to 172.19.0.5:27017; Unauthorized: not authorized on admin to execute command 的 ... http://blog.0x01.site show dbs gives "Not Authorized to execute command" error ...
Let's start the mongo shell, and create an administrator in the admin ... db.stats() "ok" : 0, "errmsg" : "not authorized on admin to execute ... https://stackoverflow.com 使用rs.initiate初始化创建(有权限控制的)副本集报not ...
使用rs.initiate初始化创建(有权限控制的)副本集报not authorized on admin to execute command解决方案. 2018-07-31 19:16:22 逝水-无痕 阅读数4073更多. https://blog.csdn.net |