Convert a Standalone to a Replica Set, not work
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:
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.
You do not have the permission required to post.
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()
On Thursday, November 15, 2012 8:57:07 PM UTC, Sanx wrote:
> 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.
You do not have the permission required to post.
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:
> can you do
> rs.config()
> On Thursday, November 15, 2012 8:57:07 PM UTC, Sanx wrote:
> > 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.
You do not have the permission required to post.
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?
On Friday, November 16, 2012 6:51:41 PM UTC, Sanx wrote:
> Thanks you very mucho gregor:
> > rs.config() > null
> On 16 nov, 09:16, gregor <gre... @10gen.com> wrote: > > can you do
> > rs.config()
> > On Thursday, November 15, 2012 8:57:07 PM UTC, Sanx wrote:
> > > 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.
You do not have the permission required to post.
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:
> Can you paste your configuration file?
> On Friday, November 16, 2012 6:51:41 PM UTC, Sanx wrote:
> > Thanks you very mucho gregor:
> > > rs.config()
> > null
> > On 16 nov, 09:16, gregor <gre... @10gen.com> wrote:
> > > can you do
> > > rs.config()
> > > On Thursday, November 15, 2012 8:57:07 PM UTC, Sanx wrote:
> > > > 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.
You do not have the permission required to post.
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:
> Can you paste your configuration file?
> On Friday, November 16, 2012 6:51:41 PM UTC, Sanx wrote:
> > Thanks you very mucho gregor:
> > > rs.config()
> > null
> > On 16 nov, 09:16, gregor <gre... @10gen.com> wrote:
> > > can you do
> > > rs.config()
> > > On Thursday, November 15, 2012 8:57:07 PM UTC, Sanx wrote:
> > > > 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.
You do not have the permission required to post.
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
On Thursday, November 22, 2012 2:49:46 AM UTC, Sanx wrote:
> 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: > > Can you paste your configuration file?
> > On Friday, November 16, 2012 6:51:41 PM UTC, Sanx wrote:
> > > Thanks you very mucho gregor:
> > > > rs.config() > > > null
> > > On 16 nov, 09:16, gregor <gre... @10gen.com> wrote: > > > > can you do
> > > > rs.config()
> > > > On Thursday, November 15, 2012 8:57:07 PM UTC, Sanx wrote:
> > > > > 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.
You do not have the permission required to post.
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:
> Hi
> Don't try to use bind_ip with a local address. That's probably what is
> causing the problem. See herehttps://jira.mongodb.org/browse/SERVER-6907
> On Thursday, November 22, 2012 2:49:46 AM UTC, Sanx wrote:
> > 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:
> > > Can you paste your configuration file?
> > > On Friday, November 16, 2012 6:51:41 PM UTC, Sanx wrote:
> > > > Thanks you very mucho gregor:
> > > > > rs.config()
> > > > null
> > > > On 16 nov, 09:16, gregor <gre... @10gen.com> wrote:
> > > > > can you do
> > > > > rs.config()
> > > > > On Thursday, November 15, 2012 8:57:07 PM UTC, Sanx wrote:
> > > > > > 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.
You do not have the permission required to post.
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 :)
On Saturday, November 24, 2012 4:03:27 PM UTC, Sanx wrote:
> 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: > > Hi
> > Don't try to use bind_ip with a local address. That's probably what is > > causing the problem. See herehttps://jira.mongodb.org/browse/SERVER-6907
> > On Thursday, November 22, 2012 2:49:46 AM UTC, Sanx wrote:
> > > 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: > > > > Can you paste your configuration file?
> > > > On Friday, November 16, 2012 6:51:41 PM UTC, Sanx wrote:
> > > > > Thanks you very mucho gregor:
> > > > > > rs.config() > > > > > null
> > > > > On 16 nov, 09:16, gregor <gre... @10gen.com> wrote: > > > > > > can you do
> > > > > > rs.config()
> > > > > > On Thursday, November 15, 2012 8:57:07 PM UTC, Sanx wrote:
> > > > > > > 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.
You do not have the permission required to post.