Unable to start the mongo services on debian server
Mongo DB keep on crashing automatically and all database and collection remove automatically.This is happening randomly and when I check mongod.log I can see it's automatically dropped.
Today I got the error message that mongo service unable to start, and when I start it services it give me the error
Job for mongod.service failed. See 'systemctl status mongod.service' and 'journalctl -xn' for details.
when I type this command
systemctl status mongod.service
Debian Server Configuration are: 40GB HHD 4GB RAM
I have around 2 million data as of now in mongoDB and it will increase day by day.
I have down so much of google but didn't find the perfect solution and as I'm not an expert at server level ,so can some give a suggestion or solution to how can I get rid with this problem.
mongodb linux debian
bumped to the homepage by Community♦ 18 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Mongo DB keep on crashing automatically and all database and collection remove automatically.This is happening randomly and when I check mongod.log I can see it's automatically dropped.
Today I got the error message that mongo service unable to start, and when I start it services it give me the error
Job for mongod.service failed. See 'systemctl status mongod.service' and 'journalctl -xn' for details.
when I type this command
systemctl status mongod.service
Debian Server Configuration are: 40GB HHD 4GB RAM
I have around 2 million data as of now in mongoDB and it will increase day by day.
I have down so much of google but didn't find the perfect solution and as I'm not an expert at server level ,so can some give a suggestion or solution to how can I get rid with this problem.
mongodb linux debian
bumped to the homepage by Community♦ 18 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Mongo DB keep on crashing automatically and all database and collection remove automatically.This is happening randomly and when I check mongod.log I can see it's automatically dropped.
Today I got the error message that mongo service unable to start, and when I start it services it give me the error
Job for mongod.service failed. See 'systemctl status mongod.service' and 'journalctl -xn' for details.
when I type this command
systemctl status mongod.service
Debian Server Configuration are: 40GB HHD 4GB RAM
I have around 2 million data as of now in mongoDB and it will increase day by day.
I have down so much of google but didn't find the perfect solution and as I'm not an expert at server level ,so can some give a suggestion or solution to how can I get rid with this problem.
mongodb linux debian
Mongo DB keep on crashing automatically and all database and collection remove automatically.This is happening randomly and when I check mongod.log I can see it's automatically dropped.
Today I got the error message that mongo service unable to start, and when I start it services it give me the error
Job for mongod.service failed. See 'systemctl status mongod.service' and 'journalctl -xn' for details.
when I type this command
systemctl status mongod.service
Debian Server Configuration are: 40GB HHD 4GB RAM
I have around 2 million data as of now in mongoDB and it will increase day by day.
I have down so much of google but didn't find the perfect solution and as I'm not an expert at server level ,so can some give a suggestion or solution to how can I get rid with this problem.
mongodb linux debian
mongodb linux debian
asked Aug 10 '17 at 9:58
Aman MauryaAman Maurya
1012
1012
bumped to the homepage by Community♦ 18 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 18 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
That first log file tells that "client" connects to the server and gives dropDatabase command, so check your application. Why it executes dropDatabase.
What comes to the second problem, you need to check your mongodb.log, what it tells for the reason, why mongodb cannot start. Wild guess is ownership of some files (data, lock, log), all files must be owned by user what you use to start mongod process (probably mongodb -user)
Name and location of mongodb.log, you can find from /etc/mongod.conf
-file
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "182"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
});
}
});
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%2fdba.stackexchange.com%2fquestions%2f183160%2funable-to-start-the-mongo-services-on-debian-server%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
That first log file tells that "client" connects to the server and gives dropDatabase command, so check your application. Why it executes dropDatabase.
What comes to the second problem, you need to check your mongodb.log, what it tells for the reason, why mongodb cannot start. Wild guess is ownership of some files (data, lock, log), all files must be owned by user what you use to start mongod process (probably mongodb -user)
Name and location of mongodb.log, you can find from /etc/mongod.conf
-file
add a comment |
That first log file tells that "client" connects to the server and gives dropDatabase command, so check your application. Why it executes dropDatabase.
What comes to the second problem, you need to check your mongodb.log, what it tells for the reason, why mongodb cannot start. Wild guess is ownership of some files (data, lock, log), all files must be owned by user what you use to start mongod process (probably mongodb -user)
Name and location of mongodb.log, you can find from /etc/mongod.conf
-file
add a comment |
That first log file tells that "client" connects to the server and gives dropDatabase command, so check your application. Why it executes dropDatabase.
What comes to the second problem, you need to check your mongodb.log, what it tells for the reason, why mongodb cannot start. Wild guess is ownership of some files (data, lock, log), all files must be owned by user what you use to start mongod process (probably mongodb -user)
Name and location of mongodb.log, you can find from /etc/mongod.conf
-file
That first log file tells that "client" connects to the server and gives dropDatabase command, so check your application. Why it executes dropDatabase.
What comes to the second problem, you need to check your mongodb.log, what it tells for the reason, why mongodb cannot start. Wild guess is ownership of some files (data, lock, log), all files must be owned by user what you use to start mongod process (probably mongodb -user)
Name and location of mongodb.log, you can find from /etc/mongod.conf
-file
answered Aug 10 '17 at 13:51
JJussiJJussi
2,9941314
2,9941314
add a comment |
add a comment |
Thanks for contributing an answer to Database Administrators Stack Exchange!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2fdba.stackexchange.com%2fquestions%2f183160%2funable-to-start-the-mongo-services-on-debian-server%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