Program clogging up my RAM- but when I stop it via 'sudo service X stop' it says its not loaded












1















Specifically I'm trying to uninstall mongodb because this is what I get after booting up, when I press htop.



Because this is what I get after booting up, when I press htop



I don't want or need mongodb anymore, I want to remove it. So I followed the instructions here.



I ran



sudo service mongod stop


and got Failed to stop mongod.service: Unit mongod.service not loaded.



I then ploughed on and did



sudo apt-get purge mongodb-org*


And got:



E: Unable to locate package mongodb-org*
E: Couldn't find any package by glob 'mongodb-org*'
E: Couldn't find any package by regex 'mongodb-org*'


What should I do?



EDIT: As per a question I tried sudo apt list --installed *mongo* and the output is:



mongo-tools/bionic,now 3.6.3-0ubuntu1 amd64 [installed,automatic]
mongodb/bionic,now 1:3.6.3-0ubuntu1 amd64 [installed]
mongodb-clients/bionic,now 1:3.6.3-0ubuntu1 amd64 [installed,automatic]
mongodb-server/bionic,now 1:3.6.3-0ubuntu1 all [installed,automatic]
mongodb-server-core/bionic,now 1:3.6.3-0ubuntu1 amd64 [installed,automatic]


I also tried dpkg -l | grep 'mongo'



ii  mongo-tools                          3.6.3-0ubuntu1                              amd64        collection of tools for administering MongoDB servers
ii mongodb 1:3.6.3-0ubuntu1 amd64 object/document-oriented database (metapackage)
ii mongodb-clients 1:3.6.3-0ubuntu1 amd64 object/document-oriented database (client apps)
ii mongodb-server 1:3.6.3-0ubuntu1 all object/document-oriented database (managed server package)
ii mongodb-server-core 1:3.6.3-0ubuntu1 amd64 object/document-oriented database (server binaries package)









share|improve this question









New contributor




Simon Kones is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Update the question with the output of sudo apt list --installed *mongo* or dpkg -l | grep 'mongo'?

    – Misantorp
    Mar 9 at 11:20













  • Done. [padding ]

    – Simon Kones
    Mar 9 at 11:51











  • This may be an issue I stumbled across a while ago. You could try installing mongodb, use the newly installed mongodb to stop the service, then uninstall it?

    – ThatGuy
    Mar 9 at 11:57
















1















Specifically I'm trying to uninstall mongodb because this is what I get after booting up, when I press htop.



Because this is what I get after booting up, when I press htop



I don't want or need mongodb anymore, I want to remove it. So I followed the instructions here.



I ran



sudo service mongod stop


and got Failed to stop mongod.service: Unit mongod.service not loaded.



I then ploughed on and did



sudo apt-get purge mongodb-org*


And got:



E: Unable to locate package mongodb-org*
E: Couldn't find any package by glob 'mongodb-org*'
E: Couldn't find any package by regex 'mongodb-org*'


What should I do?



EDIT: As per a question I tried sudo apt list --installed *mongo* and the output is:



mongo-tools/bionic,now 3.6.3-0ubuntu1 amd64 [installed,automatic]
mongodb/bionic,now 1:3.6.3-0ubuntu1 amd64 [installed]
mongodb-clients/bionic,now 1:3.6.3-0ubuntu1 amd64 [installed,automatic]
mongodb-server/bionic,now 1:3.6.3-0ubuntu1 all [installed,automatic]
mongodb-server-core/bionic,now 1:3.6.3-0ubuntu1 amd64 [installed,automatic]


I also tried dpkg -l | grep 'mongo'



ii  mongo-tools                          3.6.3-0ubuntu1                              amd64        collection of tools for administering MongoDB servers
ii mongodb 1:3.6.3-0ubuntu1 amd64 object/document-oriented database (metapackage)
ii mongodb-clients 1:3.6.3-0ubuntu1 amd64 object/document-oriented database (client apps)
ii mongodb-server 1:3.6.3-0ubuntu1 all object/document-oriented database (managed server package)
ii mongodb-server-core 1:3.6.3-0ubuntu1 amd64 object/document-oriented database (server binaries package)









share|improve this question









New contributor




Simon Kones is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Update the question with the output of sudo apt list --installed *mongo* or dpkg -l | grep 'mongo'?

    – Misantorp
    Mar 9 at 11:20













  • Done. [padding ]

    – Simon Kones
    Mar 9 at 11:51











  • This may be an issue I stumbled across a while ago. You could try installing mongodb, use the newly installed mongodb to stop the service, then uninstall it?

    – ThatGuy
    Mar 9 at 11:57














1












1








1


0






Specifically I'm trying to uninstall mongodb because this is what I get after booting up, when I press htop.



Because this is what I get after booting up, when I press htop



I don't want or need mongodb anymore, I want to remove it. So I followed the instructions here.



I ran



sudo service mongod stop


and got Failed to stop mongod.service: Unit mongod.service not loaded.



I then ploughed on and did



sudo apt-get purge mongodb-org*


And got:



E: Unable to locate package mongodb-org*
E: Couldn't find any package by glob 'mongodb-org*'
E: Couldn't find any package by regex 'mongodb-org*'


What should I do?



EDIT: As per a question I tried sudo apt list --installed *mongo* and the output is:



mongo-tools/bionic,now 3.6.3-0ubuntu1 amd64 [installed,automatic]
mongodb/bionic,now 1:3.6.3-0ubuntu1 amd64 [installed]
mongodb-clients/bionic,now 1:3.6.3-0ubuntu1 amd64 [installed,automatic]
mongodb-server/bionic,now 1:3.6.3-0ubuntu1 all [installed,automatic]
mongodb-server-core/bionic,now 1:3.6.3-0ubuntu1 amd64 [installed,automatic]


I also tried dpkg -l | grep 'mongo'



ii  mongo-tools                          3.6.3-0ubuntu1                              amd64        collection of tools for administering MongoDB servers
ii mongodb 1:3.6.3-0ubuntu1 amd64 object/document-oriented database (metapackage)
ii mongodb-clients 1:3.6.3-0ubuntu1 amd64 object/document-oriented database (client apps)
ii mongodb-server 1:3.6.3-0ubuntu1 all object/document-oriented database (managed server package)
ii mongodb-server-core 1:3.6.3-0ubuntu1 amd64 object/document-oriented database (server binaries package)









share|improve this question









New contributor




Simon Kones is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












Specifically I'm trying to uninstall mongodb because this is what I get after booting up, when I press htop.



Because this is what I get after booting up, when I press htop



I don't want or need mongodb anymore, I want to remove it. So I followed the instructions here.



I ran



sudo service mongod stop


and got Failed to stop mongod.service: Unit mongod.service not loaded.



I then ploughed on and did



sudo apt-get purge mongodb-org*


And got:



E: Unable to locate package mongodb-org*
E: Couldn't find any package by glob 'mongodb-org*'
E: Couldn't find any package by regex 'mongodb-org*'


What should I do?



EDIT: As per a question I tried sudo apt list --installed *mongo* and the output is:



mongo-tools/bionic,now 3.6.3-0ubuntu1 amd64 [installed,automatic]
mongodb/bionic,now 1:3.6.3-0ubuntu1 amd64 [installed]
mongodb-clients/bionic,now 1:3.6.3-0ubuntu1 amd64 [installed,automatic]
mongodb-server/bionic,now 1:3.6.3-0ubuntu1 all [installed,automatic]
mongodb-server-core/bionic,now 1:3.6.3-0ubuntu1 amd64 [installed,automatic]


I also tried dpkg -l | grep 'mongo'



ii  mongo-tools                          3.6.3-0ubuntu1                              amd64        collection of tools for administering MongoDB servers
ii mongodb 1:3.6.3-0ubuntu1 amd64 object/document-oriented database (metapackage)
ii mongodb-clients 1:3.6.3-0ubuntu1 amd64 object/document-oriented database (client apps)
ii mongodb-server 1:3.6.3-0ubuntu1 all object/document-oriented database (managed server package)
ii mongodb-server-core 1:3.6.3-0ubuntu1 amd64 object/document-oriented database (server binaries package)






mongodb






share|improve this question









New contributor




Simon Kones is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Simon Kones is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday









anonymous2

3,35241849




3,35241849






New contributor




Simon Kones is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Mar 9 at 11:00









Simon KonesSimon Kones

83




83




New contributor




Simon Kones is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Simon Kones is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Simon Kones is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Update the question with the output of sudo apt list --installed *mongo* or dpkg -l | grep 'mongo'?

    – Misantorp
    Mar 9 at 11:20













  • Done. [padding ]

    – Simon Kones
    Mar 9 at 11:51











  • This may be an issue I stumbled across a while ago. You could try installing mongodb, use the newly installed mongodb to stop the service, then uninstall it?

    – ThatGuy
    Mar 9 at 11:57



















  • Update the question with the output of sudo apt list --installed *mongo* or dpkg -l | grep 'mongo'?

    – Misantorp
    Mar 9 at 11:20













  • Done. [padding ]

    – Simon Kones
    Mar 9 at 11:51











  • This may be an issue I stumbled across a while ago. You could try installing mongodb, use the newly installed mongodb to stop the service, then uninstall it?

    – ThatGuy
    Mar 9 at 11:57

















Update the question with the output of sudo apt list --installed *mongo* or dpkg -l | grep 'mongo'?

– Misantorp
Mar 9 at 11:20







Update the question with the output of sudo apt list --installed *mongo* or dpkg -l | grep 'mongo'?

– Misantorp
Mar 9 at 11:20















Done. [padding ]

– Simon Kones
Mar 9 at 11:51





Done. [padding ]

– Simon Kones
Mar 9 at 11:51













This may be an issue I stumbled across a while ago. You could try installing mongodb, use the newly installed mongodb to stop the service, then uninstall it?

– ThatGuy
Mar 9 at 11:57





This may be an issue I stumbled across a while ago. You could try installing mongodb, use the newly installed mongodb to stop the service, then uninstall it?

– ThatGuy
Mar 9 at 11:57










1 Answer
1






active

oldest

votes


















1














As per the updated question there are no packages matching mongodb-org*. Uninstalling mongodb will probably be achieved by issuing



sudo apt purge mongodb*


Uninstalling mongo-tools



sudo apt purge mongo-tools





share|improve this answer
























  • This worked thanks :)

    – Simon Kones
    Mar 9 at 12:13











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Simon Kones is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124278%2fprogram-clogging-up-my-ram-but-when-i-stop-it-via-sudo-service-x-stop-it-says%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














As per the updated question there are no packages matching mongodb-org*. Uninstalling mongodb will probably be achieved by issuing



sudo apt purge mongodb*


Uninstalling mongo-tools



sudo apt purge mongo-tools





share|improve this answer
























  • This worked thanks :)

    – Simon Kones
    Mar 9 at 12:13
















1














As per the updated question there are no packages matching mongodb-org*. Uninstalling mongodb will probably be achieved by issuing



sudo apt purge mongodb*


Uninstalling mongo-tools



sudo apt purge mongo-tools





share|improve this answer
























  • This worked thanks :)

    – Simon Kones
    Mar 9 at 12:13














1












1








1







As per the updated question there are no packages matching mongodb-org*. Uninstalling mongodb will probably be achieved by issuing



sudo apt purge mongodb*


Uninstalling mongo-tools



sudo apt purge mongo-tools





share|improve this answer













As per the updated question there are no packages matching mongodb-org*. Uninstalling mongodb will probably be achieved by issuing



sudo apt purge mongodb*


Uninstalling mongo-tools



sudo apt purge mongo-tools






share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 9 at 11:56









MisantorpMisantorp

11414




11414













  • This worked thanks :)

    – Simon Kones
    Mar 9 at 12:13



















  • This worked thanks :)

    – Simon Kones
    Mar 9 at 12:13

















This worked thanks :)

– Simon Kones
Mar 9 at 12:13





This worked thanks :)

– Simon Kones
Mar 9 at 12:13










Simon Kones is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Simon Kones is a new contributor. Be nice, and check out our Code of Conduct.













Simon Kones is a new contributor. Be nice, and check out our Code of Conduct.












Simon Kones is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124278%2fprogram-clogging-up-my-ram-but-when-i-stop-it-via-sudo-service-x-stop-it-says%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b