Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Spark
  3. Question
Spark

Failed to start mongod.service: Unit mongod.service not found

Asked by Ira Joshi May 11, 2021 2.6K views 1 answer
Share

About this question

 I follow all the steps mention in mongodb installation documents.

for ubuntu 16.04

steps 1:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
steps 2:
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list
steps 3:
sudo apt-get update
steps 4:
sudo apt-get install -y mongodb-org
steps 5:
sudo service mongod start
when I started mongodb got an error as
"Failed to start mongod.service: Unit mongod.service not found." please help me to solve this.

Your answer

1 Answer

More Spark discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Spark Blogs

Guides, tips and career advice on Spark from JanBask experts.