Program clogging up my RAM- but when I stop it via 'sudo service X stop' it says its not loaded
Specifically I'm trying to uninstall mongodb 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
New contributor
add a comment |
Specifically I'm trying to uninstall mongodb 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
New contributor
Update the question with the output ofsudo apt list --installed *mongo*
ordpkg -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
add a comment |
Specifically I'm trying to uninstall mongodb 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
New contributor
Specifically I'm trying to uninstall mongodb 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
mongodb
New contributor
New contributor
edited yesterday
anonymous2
3,35241849
3,35241849
New contributor
asked Mar 9 at 11:00
Simon KonesSimon Kones
83
83
New contributor
New contributor
Update the question with the output ofsudo apt list --installed *mongo*
ordpkg -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
add a comment |
Update the question with the output ofsudo apt list --installed *mongo*
ordpkg -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
add a comment |
1 Answer
1
active
oldest
votes
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
This worked thanks :)
– Simon Kones
Mar 9 at 12:13
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
This worked thanks :)
– Simon Kones
Mar 9 at 12:13
add a comment |
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
This worked thanks :)
– Simon Kones
Mar 9 at 12:13
add a comment |
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
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
answered Mar 9 at 11:56
MisantorpMisantorp
11414
11414
This worked thanks :)
– Simon Kones
Mar 9 at 12:13
add a comment |
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
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Update the question with the output of
sudo apt list --installed *mongo*
ordpkg -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