Reference:
reference: http://club.verimake.com/topics/36 http://stackoverflow.com/questions/37014186/running-mongodb-on-ubuntu-16-04-lts p>
on MongoDB: Failed to start mongod. Service: Unit MongoDB. Service is masked, you can follow the following steps:
opens the following file:
sudo vim /etc/systemd/system/mongodb.service
Paste the following into the file and save
[Unit]
Description=High-performance, schema-free document-oriented database
After=network.target
[Service]
User=mongodb
ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf
[Install]
WantedBy=multi-user.target
execute the following command:
sudo systemctl enable mongod.service
sudo systemctl daemon-reload
sudo service mongod start
div>
Read More:
- MongoDB Error: Failed to start mongod.service: Unit mongod.service is not loaded properly
- MySQL error set: failed to start mysql.service : Unit mysql.service is masked.
- The mongoDB service failed to start (exception: connect failed)
- Centos7 executes the command service mysqld start and prompts Failed to start mysqld.service: Unit mysqld.service not loaded
- How to Fix Failed to start service jboss.deployment.unit.”jboss-as-bmt.war”.INSTALL: org.jboss.msc.service.S
- Failed to start docker.service : unit not found
- Net start mongodb failed to start: system error 5 has occurred. Access is denied
- Mongodb failed to start: child process failed, exited with error number 100
- Tdengine failed to start, start request repeated too quickly for taosd.service
- Failed to restart ssh.service: Unit not found.
- Redirecting to /bin/systemctl stop firewalled.service Failed to stop firewalled.service: Unit firewa
- Mongodb start error: child process failed, exited with error number 1
- nt service 1072 No need to restart, repeat the method of installing the service program or service driver
- The apple mobile device service failed to start. Error 1053 is resolved
- Failed to start Remote desktop service (VNC)
- MongoDB:Failed: error connecting to db server: no reachable servers
- 【MongoDB】 Failed to connect to 127.0.0.1:27017, reason: Connection refused
- Tomcat service failed to start
- Mongodb (version 3.2) create user error addUser is not a function
- Nginx start error: job for nginx.service failed because the control process exited with error code