replica sets can't be set up locally

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Environment:
      db version v1.5.2-pre-, pdfile version 4.5
      Tue May 4 12:37:02 git version: e3811ab624b674dae7c94bca8ac65a2528185169
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I wanted to play around with replica sets, but it looks like I can't set them up locally. I'd imagine this is the first thing people are going to want to try (even if it's a stupid thing to do in production) just to test them out.

      I did:

      ./mongod -replSet testing/localhost:27018

      and got

      replSet Caught exception in management thread: can't use localhost in replset host list

      Maybe I'm just doing something wrong?

            Assignee:
            Dwight Merriman
            Reporter:
            Kristina Chodorow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: