-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: manual
-
Labels:
-
Environment:OS: Debian/GNU Jessie 8.x amd64
Repository: http://repo.mongodb.org/apt/debian
*Location*: https://docs.mongodb.com/v3.2/tutorial/install-mongodb-on-debian/
*User-Agent*: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
*Referrer*: https://www.google.rs/
*Screen Resolution*: 1920 x 1080
OS: Debian/GNU Jessie 8.x amd64 Repository: http://repo.mongodb.org/apt/debian *Location*: https://docs.mongodb.com/v3.2/tutorial/install-mongodb-on-debian/ *User-Agent*: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 *Referrer*: https://www.google.rs/ *Screen Resolution*: 1920 x 1080
MongoDB community edition (mongodb-org package) installed from official MongoDB repository (currently version 3.2.11)
Issue:
There is no /etc/init.d script so after reboot the mongod is not started. It can be started manually for sure but that's not the solution.
However, there was system.d module but it isn't enabled by default, so this is the solution:
systemctl enable mongod.service
Afterwards, mongod will startup automatically after reboot.
I think this should be put into installation script OR documentation.
- related to
-
DOCS-13042 Add systemd init instructions for Linux install pages
- Closed