Received: by 10.236.119.82 with SMTP id m58mr3783874yhh.26.1353091901491; Fri, 16 Nov 2012 10:51:41 -0800 (PST) X-BeenThere: mongodb-user@googlegroups.com Received: by 10.49.127.174 with SMTP id nh14ls1101740qeb.28.gmail; Fri, 16 Nov 2012 10:51:27 -0800 (PST) Received: by 10.224.111.140 with SMTP id s12mr3583741qap.5.1353091887351; Fri, 16 Nov 2012 10:51:27 -0800 (PST) Received: by 10.224.173.148 with SMTP id p20msqaz; Fri, 16 Nov 2012 10:33:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.49.63.69 with SMTP id e5mr1129049qes.40.1353090833281; Fri, 16 Nov 2012 10:33:53 -0800 (PST) Authentication-Results: ls.google.com; spf=pass (google.com: domain of hectorg...@gmail.com designates internal as permitted sender) smtp.mail=hectorg...@gmail.com; dkim=pass header...@gmail.com Received: by m4g2000yqf.googlegroups.com with HTTP; Fri, 16 Nov 2012 10:33:53 -0800 (PST) Date: Fri, 16 Nov 2012 10:33:53 -0800 (PST) In-Reply-To: References: <61cf3bad-2f82-47c4-9778-49ba5cc4b789@a14g2000yqh.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11,gzip(gfe) Message-ID: Subject: Re: Convert a Standalone to a Replica Set, not work From: Sanx To: mongodb-user Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks you very mucho gregor: > rs.config() null > On 16 nov, 09:16, gregor 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() > > > { > > =A0 =A0 =A0 =A0 "startupStatus" : 4, > > =A0 =A0 =A0 =A0 "info" : "rs0", > > =A0 =A0 =A0 =A0 "errmsg" : "all members and seeds must be reachable to > > initiate set", > > =A0 =A0 =A0 =A0 "ok" : 0 > > } > > > =A0rs.status() > > > { > > =A0 =A0 =A0 =A0 "startupStatus" : 4, > > =A0 =A0 =A0 =A0 "errmsg" : "can't currently get local.system.replset co= nfig > > from self > > or any seed (EMPTYUNREACHABLE)", > > =A0 =A0 =A0 =A0 "ok" : 0 > > } > > > Please I need help and tell me I'm doing wrong or what I'm missing > > > Thanks for your attention