Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Section has no headers for Mongo DB on CDH

avatar
Visitor

Hello!

 

I have a student attempting to install Mongo into Cloudera.  The following error messages are being received.  I am not a coder and am unsure how to assist.  I am learning the language as I go along!

 

Any ideas?

 

Thank you!

 

Screenshot _30_.pngScreenshot _29_.png

1 ACCEPTED SOLUTION

avatar

@DrJ Not an expert on MongoDb, but your hint is that the yum command-line package-management utility is telling you that something is wrong with the file it's using to assist in the installation.

Verify that you have a file at the location /etc/yum.repos.d/mongod-org-3.4.repo or whatever it's supposed to be using by using the file command, a la:

[[email protected] box]$ file /etc/yum.repos.d/mongod-org-3.4.repo
/etc/yum.repos.d/mongod-org-3.4.repo: ASCII text
[[email protected] box]$ 

…and once you've verified that it's present (is it supposed to be mongod-org-3.4.repo or mongodb-org-3.4.repo?), compare the first couple of lines in the file to a few other ones located in the /etc/yum.repos.d/ directory and check that you haven't inadvertently introduced spaces or something into the file. 

Bill Brooks, Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

View solution in original post

1 REPLY 1

avatar

@DrJ Not an expert on MongoDb, but your hint is that the yum command-line package-management utility is telling you that something is wrong with the file it's using to assist in the installation.

Verify that you have a file at the location /etc/yum.repos.d/mongod-org-3.4.repo or whatever it's supposed to be using by using the file command, a la:

[[email protected] box]$ file /etc/yum.repos.d/mongod-org-3.4.repo
/etc/yum.repos.d/mongod-org-3.4.repo: ASCII text
[[email protected] box]$ 

…and once you've verified that it's present (is it supposed to be mongod-org-3.4.repo or mongodb-org-3.4.repo?), compare the first couple of lines in the file to a few other ones located in the /etc/yum.repos.d/ directory and check that you haven't inadvertently introduced spaces or something into the file. 

Bill Brooks, Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.