-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please clarify the privileges needed for (remote) MongoDB access? #32
Comments
Your remove instance may be requiring the mongo client to authenticate to the mongod server. You will have to get a DB username and password for scot from your DBA. Then plug that username and password into the config file and you should be good to go. |
Todd, I already shared the credentials with the DBA (and re-verified with them) -- it was set to what I provided them (user, password, etc). Any thoughts or suggestions? |
At this point, I would start normal troubleshooting. Can the mongo-cli There isn't any special privileges necessary. SCOT acts just like a command Let me know if you continue to have problems... On Mon, Feb 22, 2016 at 1:42 PM, ghub2015 notifications@github.com wrote:
|
Thanks again Todd. One thing we have noticed is:
Could this cause issues? If yes, should we upgrade the App Server or downgrade the DB server? Thank you |
that will definitely cause problems. client and server need to be at same On Mon, Feb 22, 2016 at 4:34 PM, ghub2015 notifications@github.com wrote:
|
Thanks Todd. We are testing both approaches (downgrade DB server, and upgrade App server) to see the results. FYI MongoDB 2.6.11 version is what is installed by default on Ubuntu Server 14.04 when you run the SCOT installer. |
I'd recommend using the 3 series. That will be what we require in the next On Tue, Feb 23, 2016 at 11:25 AM, ghub2015 notifications@github.com wrote:
|
Understood; I would rather have it working using 3 series as well. The DBA's downgraded the DB server to 2.6.11 first (and that worked; though we temporarily disable auth for it to work). I will be testing with 3.2.1 on client & server as well. |
BTW, here are instructions for installing MongoDB 3.2 on Ubuntu (only LTS releases are supported -- currently 12.04 or 14.04). Just posting in case it helps anyone else following this thread: https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ The SCOT Ubuntu installer (/opt/sandia/webapps/scot3/ubuntu_installer.sh) currently installs MongoDB 2.6.11 using the "Mongo 10Gen" repo. Thanks |
Todd, since setting up MongoDB 3 on both Client & Server, still receiving the error below. Note: It works fine without authentication enabled.
Here are the user named "admin" privileges from the most recent test:
Edit: Here is the database config from /opt/sandia/webapps/scot3/scot.conf
Can you please advise? Thank you |
https://docs.mongodb.org/manual/reference/built-in-roles/ has a list of the possible roles and how they map to the various Thanks for bringing this to my attention and will begin to an audit to Todd On Thu, Feb 25, 2016 at 11:11 AM, ghub2015 notifications@github.com wrote:
|
Todd, here is the resolution:
I hope this helps you and any others who are searching for this. |
Awesome! Thanks for posting a follow up. |
Hello, I deployed a remote MongoDB instance (maintained by a 3rd party) and I am running into this:
(It does access a local MongoDB instance OK.)
Can you please clarify the exact privileges needed on MongoDB to run SCOT (or point to any documentation that can clarify this?)
Thank you
The text was updated successfully, but these errors were encountered: