[DOCS-6544] Comment on: "manual/tutorial/deploy-replica-set-with-auth.txt" Created: 05/Nov/15  Updated: 03/Nov/17  Resolved: 05/Oct/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: bite-sized
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

development

Location: https://docs.mongodb.org/v2.6/tutorial/deploy-replica-set-with-auth/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:42.0) Gecko/20100101 Firefox/42.0
Referrer: https://docs.mongodb.org/v2.6/tutorial/deploy-replica-set/
Screen Resolution: 1920 x 1080
repo: docs
source: tutorial/deploy-replica-set-with-auth


Participants:
Days since reply: 7 years, 19 weeks ago
Story Points: 0.25

 Description   

I tried to generate the Auth key and i keep getting this error,

error getting file /home/ec2-user/mongodb-keyfile: Permission denied

The file has all the right permissions

$ ls -lrt
rw------. 1 mongod mongod 1004 Nov 5 21:23 mongodb-keyfile

$ ls -lZart mongodb-keyfile
rw------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 mongodb-keyfile

in my /etc/mongo.conf i have this variable set as
keyFile=/home/ec2-user/mongodb-keyfile



 Comments   
Comment by Ravind Kumar (Inactive) [ 05/Oct/16 ]

Thank you for filing a DOCS ticket.

For your support case, please use the MongoDB Google Group. Depending on the resolution of your issue there, we may be able to provide more specific documentation improvements.

Generated at Thu Feb 08 07:52:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.