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










share|improve this question









New contributor




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
























    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










    share|improve this question









    New contributor




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






















      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










      share|improve this question









      New contributor




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











      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






      share|improve this question









      New contributor




      thxmike 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




      thxmike 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





















      New contributor




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









      asked 2 days ago









      thxmike

      105




      105




      New contributor




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





      New contributor





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






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





























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          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',
          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
          });


          }
          });






          thxmike 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%2fstackoverflow.com%2fquestions%2f53238609%2fmongodb-replicaset-changing-config-format%23new-answer', 'question_page');
          }
          );

          Post as a guest





































          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.










           

          draft saved


          draft discarded


















          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.















           


          draft saved


          draft discarded














          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




















































































          Popular posts from this blog

          Florida Star v. B. J. F.

          Danny Elfman

          Lugert, Oklahoma