Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6544

Comment on: "manual/tutorial/deploy-replica-set-with-auth.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 19 weeks ago