Re: Error installing mongodb on Amazon Linux - 'File contains no section headers'

From: Wan Bachtiar <wan.bachtiar@xxxxxxxxxxx>
To: mongodb-user <mongodb-user@xxxxxxxxxxxxxxxx>
Date: Thu, 14 Apr 2016 19:49:01 -0700 (PDT)
Why ads?


File contains no section headers.
file: file:///etc/yum.repos.d/mongodb-org-3.0.repo, line: 1
‘name=MongoDB Repository\n’

Hi Bill, 

The error message is caused by a lack of header information in the repo 
file. Note that the instructions on Install MongoDB on Amazon 
<https://docs.mongodb.org/v3.0/tutorial/install-mongodb-on-amazon/> is 
listing [mongodb-org-3.0] as the first line, which is missing from your 
repo file content. 

The full content of the repo file for MongoDB v3.0.x should be: 

[mongodb-org-3.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/3.0/x86_64/
gpgcheck=0
enabled=1

For general enhancements and bug fixes I would recommend to use the latest 
stable release of MongoDB, currently is v3.2 
<https://www.mongodb.org/downloads#production>. See also: 

   - Release Notes: v3.2 
   <https://docs.mongodb.org/manual/release-notes/3.2/
   - Install MongoDB on Amazon: v3.2 
   <https://docs.mongodb.org/manual/tutorial/install-mongodb-on-amazon/

Follow instructions at 
https://docs.mongodb.org/manual/tutorial/install-mongodb-enterprise-on-amazon/ ;
worked;; there are other instructions that don’t work.

Note that the MongoDB Enterprise 
<https://www.mongodb.com/products/mongodb-enterprise-advanced> edition is a 
commercially supported product. If your company has a commercial 
subscription and would like some assistance in installation I would suggest 
to open a case in the Commercial Support Project in MongoDB Jira 
<https://jira.mongodb.org/browse/CS>.

Alternatively if you are evaluating MongoDB Enterprise and is interested, 
feel free to send me a private message of your contact details and I can 
request a MongoDB Account Executive to reach out to you.

Kind regards, 

Wan. 


-- 
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.org/manual/support/
--- 
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/aabd93c3-f9fa-49f8-bb75-a2909583e84a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Why ads?