Mongodb ReplicaSet Changing Config Format
up vote
0
down vote
favorite
I have a 3 node mongodb replica set which uses the old syntax (non-Yaml) syntax that I am trying to change to use the new Yaml syntax
old syntax
auth = true
bind_ip = 0.0.0.0
dbpath = /var/lib/mongodb
fork = false
keyFile = /etc/mongod.key
logappend = true
logpath = /var/log/mongodb/mongod.log
nojournal = false
port = 27017
replSet = rs0
rest = false
smallfiles = false
Yaml file
net:
bindIp: 0.0.0.0
port: 27017
http:
enabled: true
RESTInterfaceEnabled: true
storage:
dbPath: /var/lib/mongodb
mmapv1:
smallFiles: false
journal:
enabled: false
processManagement:
fork: false
security:
keyFile: /etc/mongod.key
authorization: enabled
systemLog:
logAppend: true
path = /var/log/mongodb/mongod.log
replication:
replSetName: "rs0"
I have made the change on the primary but it no longer properly starts up. I get the following error message in the log
SyncSourceFeedback error sending update to :27017:
CallbackCanceled: Reporter no longer valid
I did a search on the error but I have not been able to find a solution.
The replicaset is running mongo v3.4.9
Note: Moved this over to https://dba.stackexchange.com/questions/222278/mongodb-replicaset-changing-config-format
mongodb
New contributor
add a comment |
up vote
0
down vote
favorite
I have a 3 node mongodb replica set which uses the old syntax (non-Yaml) syntax that I am trying to change to use the new Yaml syntax
old syntax
auth = true
bind_ip = 0.0.0.0
dbpath = /var/lib/mongodb
fork = false
keyFile = /etc/mongod.key
logappend = true
logpath = /var/log/mongodb/mongod.log
nojournal = false
port = 27017
replSet = rs0
rest = false
smallfiles = false
Yaml file
net:
bindIp: 0.0.0.0
port: 27017
http:
enabled: true
RESTInterfaceEnabled: true
storage:
dbPath: /var/lib/mongodb
mmapv1:
smallFiles: false
journal:
enabled: false
processManagement:
fork: false
security:
keyFile: /etc/mongod.key
authorization: enabled
systemLog:
logAppend: true
path = /var/log/mongodb/mongod.log
replication:
replSetName: "rs0"
I have made the change on the primary but it no longer properly starts up. I get the following error message in the log
SyncSourceFeedback error sending update to :27017:
CallbackCanceled: Reporter no longer valid
I did a search on the error but I have not been able to find a solution.
The replicaset is running mongo v3.4.9
Note: Moved this over to https://dba.stackexchange.com/questions/222278/mongodb-replicaset-changing-config-format
mongodb
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a 3 node mongodb replica set which uses the old syntax (non-Yaml) syntax that I am trying to change to use the new Yaml syntax
old syntax
auth = true
bind_ip = 0.0.0.0
dbpath = /var/lib/mongodb
fork = false
keyFile = /etc/mongod.key
logappend = true
logpath = /var/log/mongodb/mongod.log
nojournal = false
port = 27017
replSet = rs0
rest = false
smallfiles = false
Yaml file
net:
bindIp: 0.0.0.0
port: 27017
http:
enabled: true
RESTInterfaceEnabled: true
storage:
dbPath: /var/lib/mongodb
mmapv1:
smallFiles: false
journal:
enabled: false
processManagement:
fork: false
security:
keyFile: /etc/mongod.key
authorization: enabled
systemLog:
logAppend: true
path = /var/log/mongodb/mongod.log
replication:
replSetName: "rs0"
I have made the change on the primary but it no longer properly starts up. I get the following error message in the log
SyncSourceFeedback error sending update to :27017:
CallbackCanceled: Reporter no longer valid
I did a search on the error but I have not been able to find a solution.
The replicaset is running mongo v3.4.9
Note: Moved this over to https://dba.stackexchange.com/questions/222278/mongodb-replicaset-changing-config-format
mongodb
New contributor
I have a 3 node mongodb replica set which uses the old syntax (non-Yaml) syntax that I am trying to change to use the new Yaml syntax
old syntax
auth = true
bind_ip = 0.0.0.0
dbpath = /var/lib/mongodb
fork = false
keyFile = /etc/mongod.key
logappend = true
logpath = /var/log/mongodb/mongod.log
nojournal = false
port = 27017
replSet = rs0
rest = false
smallfiles = false
Yaml file
net:
bindIp: 0.0.0.0
port: 27017
http:
enabled: true
RESTInterfaceEnabled: true
storage:
dbPath: /var/lib/mongodb
mmapv1:
smallFiles: false
journal:
enabled: false
processManagement:
fork: false
security:
keyFile: /etc/mongod.key
authorization: enabled
systemLog:
logAppend: true
path = /var/log/mongodb/mongod.log
replication:
replSetName: "rs0"
I have made the change on the primary but it no longer properly starts up. I get the following error message in the log
SyncSourceFeedback error sending update to :27017:
CallbackCanceled: Reporter no longer valid
I did a search on the error but I have not been able to find a solution.
The replicaset is running mongo v3.4.9
Note: Moved this over to https://dba.stackexchange.com/questions/222278/mongodb-replicaset-changing-config-format
mongodb
mongodb
New contributor
New contributor
edited yesterday
New contributor
asked 2 days ago
thxmike
105
105
New contributor
New contributor
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
thxmike is a new contributor. Be nice, and check out our Code of Conduct.
thxmike is a new contributor. Be nice, and check out our Code of Conduct.
thxmike is a new contributor. Be nice, and check out our Code of Conduct.
thxmike 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
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53238609%2fmongodb-replicaset-changing-config-format%23new-answer', 'question_page');
}
);
Post as a guest
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
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
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