Score:0

getting error enabling systemctl service on ubuntu machine

eg flag

My systemctl service shows disabled. I want my service start on its own after a reboot.

service mongoport status
● mongoport.service - MongoDB Database Server
   Loaded: loaded (/lib/systemd/system/mongoport.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: https://docs.mongodb.org/manual

I tried enabling the service getting this error, is there something I'm missing out here before enabling the service.

systemctl enable mongoport.service
Synchronizing state of mongoport.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mongoport
update-rc.d: error: mongoport Default-Start contains no runlevels, aborting.
muru avatar
us flag
How did you install mongodb?
unknown avatar
eg flag
apt install <mongodb agent>
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.