starting mongo instances failureMongoDB fails with SymInitialize error unless there is a very large Page File...
What are all the squawk codes?
Is there any relevance to Thor getting his hair cut other than comedic value?
Didactic impediments of using simplified versions
Is there a frame of reference in which I was born before I was conceived?
How to kill a localhost:8080
VAT refund for a conference ticket in Sweden
Achieving MPPT of a solar panel with LM2596
Forward slip vs side slip
Borrowing Characters
Pure Functions: Does "No Side Effects" Imply "Always Same Output, Given Same Input"?
Is it possible to convert a suspension fork to rigid by drilling it?
Six real numbers so that product of any five is the sixth one
How can I be pwned if I'm not registered on the compromised site?
Where is the line between being obedient and getting bullied by a boss?
A right or the right?
When was drinking water recognized as crucial in marathon running?
Can we carry rice to Japan?
Is divide-by-zero a security vulnerability?
What is a term for a function that when called repeatedly, has the same effect as calling once?
Is there a math equivalent to the conditional ternary operator?
Why doesn't Object.keys return a keyof type in TypeScript?
If nine coins are tossed, what is the probability that the number of heads is even?
Is there a full canon version of Tyrion's jackass/honeycomb joke?
Levi-Civita symbol: 3D matrix
starting mongo instances failure
MongoDB fails with SymInitialize error unless there is a very large Page File in Windows'mongod wiredTiger' on Ubuntu?How does defining a MongoDB shard key influence the connectivity between my mongo(s/d)s?MongoDB allocates chunks only to Primary when sharding is enabledMongo crash after 2 seconds of startingcreating replica set between three similar mongo databases on my localReplica Set Question - one primary instance with two secondary instancesMongoDB sharded cluster chunks distributionMongodb upgrade from 3.0 to 3.2Mongodb default setup on Azure - default connect string from local shell
I have created a directory with the specified sub-directories using the command:
sudo mkdir -p /db/active1/data /db/active2/data /db/passive1/data
Now,I am trying to start the mongo instance using this command:
sudo mongod --port 27021 -dbpath /db/active1/data --replSet testset
--smallfiles --oplogSize 128
But I get the error:
Sessions collection is not set up; waiting until next sessions refresh
interval: Replication has not yet been configured
Am I missing a step? I tried looking up this error but found no solution. This is all done in the command prompt.
replication mongodb
add a comment |
I have created a directory with the specified sub-directories using the command:
sudo mkdir -p /db/active1/data /db/active2/data /db/passive1/data
Now,I am trying to start the mongo instance using this command:
sudo mongod --port 27021 -dbpath /db/active1/data --replSet testset
--smallfiles --oplogSize 128
But I get the error:
Sessions collection is not set up; waiting until next sessions refresh
interval: Replication has not yet been configured
Am I missing a step? I tried looking up this error but found no solution. This is all done in the command prompt.
replication mongodb
add a comment |
I have created a directory with the specified sub-directories using the command:
sudo mkdir -p /db/active1/data /db/active2/data /db/passive1/data
Now,I am trying to start the mongo instance using this command:
sudo mongod --port 27021 -dbpath /db/active1/data --replSet testset
--smallfiles --oplogSize 128
But I get the error:
Sessions collection is not set up; waiting until next sessions refresh
interval: Replication has not yet been configured
Am I missing a step? I tried looking up this error but found no solution. This is all done in the command prompt.
replication mongodb
I have created a directory with the specified sub-directories using the command:
sudo mkdir -p /db/active1/data /db/active2/data /db/passive1/data
Now,I am trying to start the mongo instance using this command:
sudo mongod --port 27021 -dbpath /db/active1/data --replSet testset
--smallfiles --oplogSize 128
But I get the error:
Sessions collection is not set up; waiting until next sessions refresh
interval: Replication has not yet been configured
Am I missing a step? I tried looking up this error but found no solution. This is all done in the command prompt.
replication mongodb
replication mongodb
asked 19 mins ago
tom dinhtom dinh
12
12
add a comment |
add a comment |
0
active
oldest
votes
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%2f231409%2fstarting-mongo-instances-failure%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
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%2f231409%2fstarting-mongo-instances-failure%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