Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • I did checked what system I am using there is a section in the guide I referred to just before the section you just quoted. So that is how I know I am supposed to use service instead of systemctl command Commented Aug 27, 2022 at 16:13
  • So you should know you may check /etc/init.d/mongod and /etc/rc0.d ... /etc/rc6.d symlinks are installed. Also check service --status-all output and mongodb-org.deb content. Commented Aug 27, 2022 at 16:55
  • I did this also there is no service Commented Aug 28, 2022 at 9:10
  • So mongodb deb package from mongodb site package do not have these files. I guess it supports systemd only. Check outpout of dpkg -L mongodb-org. Also why you dont use mongodb from debian repo. Commented Aug 28, 2022 at 10:14
  • I finally resolved issue, you can read about it in my answer if you are interested Commented Aug 28, 2022 at 10:17