Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Convert a Standalone to a Replica Set, not work
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sanx  
View profile  
 More options Nov 15 2012, 3:57 pm
From: Sanx <hectorg...@gmail.com>
Date: Thu, 15 Nov 2012 12:40:57 -0800 (PST)
Local: Thurs, Nov 15 2012 3:40 pm
Subject: Convert a Standalone to a Replica Set, not work
Greetings to all

I need to Convert a Standalone to a Replica Set

I'm using the following documentation:

http://docs.mongodb.org/manual/tutorial/convert-standalone-to-replica...

After executing the following:

mongod --port 27017 --replSet rs0

in the terminal shows me the following

Thu Nov 15 10:07:57 [rsStart] trying to contact MY_HOST.local:27017
Thu Nov 15 10:07:57 [rsStart] couldn't connect to MY_HOST.local:
27017:
couldn't connect to server MY_HOST.local:27017
Thu Nov 15 10:07:57 [rsStart] replSet can't get local.system.replset
config from self or any seed (yet)

In mongo shell, the command results of rs.initiate() and rs.status(),
are the following:

> rs.initiate()

{
        "startupStatus" : 4,
        "info" : "rs0",
        "errmsg" : "all members and seeds must be reachable to
initiate set",
        "ok" : 0

}
>  rs.status()

{
        "startupStatus" : 4,
        "errmsg" : "can't currently get local.system.replset config
from self
or any seed (EMPTYUNREACHABLE)",
        "ok" : 0

}

Please I need help and tell me I'm doing wrong or what I'm missing

Thanks for your attention


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gregor  
View profile  
 More options Nov 16 2012, 10:16 am
From: gregor <gre...@10gen.com>
Date: Fri, 16 Nov 2012 07:16:47 -0800 (PST)
Local: Fri, Nov 16 2012 10:16 am
Subject: Re: Convert a Standalone to a Replica Set, not work

can you do

rs.config()


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sanx  
View profile  
 More options Nov 16 2012, 1:51 pm
From: Sanx <hectorg...@gmail.com>
Date: Fri, 16 Nov 2012 10:33:53 -0800 (PST)
Local: Fri, Nov 16 2012 1:33 pm
Subject: Re: Convert a Standalone to a Replica Set, not work
Thanks you very mucho gregor:

> rs.config()
null

On 16 nov, 09:16, gregor <gre...@10gen.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gregor  
View profile  
 More options Nov 16 2012, 2:16 pm
From: gregor <gre...@10gen.com>
Date: Fri, 16 Nov 2012 11:16:07 -0800 (PST)
Local: Fri, Nov 16 2012 2:16 pm
Subject: Re: Convert a Standalone to a Replica Set, not work

 Can you paste your configuration file?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sanx  
View profile  
 More options Nov 21 2012, 9:53 pm
From: Sanx <hectorg...@gmail.com>
Date: Wed, 21 Nov 2012 18:53:19 -0800 (PST)
Local: Wed, Nov 21 2012 9:53 pm
Subject: Re: Convert a Standalone to a Replica Set, not work
Thanks

mongod.conf

# Store data in /usr/local/var/mongodb instead of the default /data/db
dbpath = /usr/local/var/mongod

# Only accept local connections
bind_ip = 127.0.0.1

On 16 nov, 13:16, gregor <gre...@10gen.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sanx  
View profile  
 More options Nov 21 2012, 9:49 pm
From: Sanx <hectorg...@gmail.com>
Date: Wed, 21 Nov 2012 18:49:46 -0800 (PST)
Local: Wed, Nov 21 2012 9:49 pm
Subject: Re: Convert a Standalone to a Replica Set, not work
Thanks

mongod.conf

# Store data in /usr/local/var/mongodb instead of the default /data/db
dbpath = /usr/local/var/mongodb

# Only accept local connections
bind_ip = 127.0.0.1

On 16 nov, 13:16, gregor <gre...@10gen.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gregor  
View profile  
 More options Nov 22 2012, 4:11 am
From: gregor <gre...@10gen.com>
Date: Thu, 22 Nov 2012 01:11:22 -0800 (PST)
Local: Thurs, Nov 22 2012 4:11 am
Subject: Re: Convert a Standalone to a Replica Set, not work

Hi

Don't try to use bind_ip with a local address. That's probably what is
causing the problem. See here
https://jira.mongodb.org/browse/SERVER-6907


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sanx  
View profile  
 More options Nov 24 2012, 11:03 am
From: Sanx <hectorg...@gmail.com>
Date: Sat, 24 Nov 2012 08:03:15 -0800 (PST)
Local: Sat, Nov 24 2012 11:03 am
Subject: Re: Convert a Standalone to a Replica Set, not work
Yes!

you're right that's the problem

I change the value of bind_ip = 127.0.0.1

by

bind_ip = 0.0.0.0

works for me!

Thank you very much Gregor!

On 22 nov, 03:11, gregor <gre...@10gen.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gregor  
View profile  
 More options Dec 3 2012, 7:11 am
From: gregor <gre...@10gen.com>
Date: Mon, 3 Dec 2012 04:11:22 -0800 (PST)
Local: Mon, Dec 3 2012 7:11 am
Subject: Re: Convert a Standalone to a Replica Set, not work

glad you got it fixed :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »