<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:58:50 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-2055] Trying to create replica set on local machine. Gives errror &quot;couldn&apos;t initiate : can&apos;t find self in the replset config&quot;</title>
                <link>https://jira.mongodb.org/browse/SERVER-2055</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Testing replica sets before moving to production.&lt;/p&gt;

&lt;p&gt;Started 3 instances of mongod on 3 dbs. &lt;br/&gt;
local-idinc is mapped to 127.0.0.1&lt;/p&gt;


&lt;p&gt;config = &lt;br/&gt;
{&lt;br/&gt;
	&quot;_id&quot; : &quot;idincrepl&quot;,&lt;br/&gt;
	&quot;members&quot; : [&lt;br/&gt;
		&lt;/p&gt;
{
			&quot;_id&quot; : 0,
			&quot;host&quot; : &quot;local-idinc:10001&quot;
		}
&lt;p&gt;,&lt;br/&gt;
		&lt;/p&gt;
{
			&quot;_id&quot; : 1,
			&quot;host&quot; : &quot;local-idinc:10002&quot;
		}
&lt;p&gt;,&lt;/p&gt;
		{
			&quot;_id&quot; : 2,
			&quot;host&quot; : &quot;local-idinc:10003&quot;
		}
&lt;p&gt;	]&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;&amp;gt; rs.initiate(config);&lt;br/&gt;
{&lt;br/&gt;
	&quot;errmsg&quot; : &quot;couldn&apos;t initiate : can&apos;t find self in the replset config&quot;,&lt;br/&gt;
	&quot;ok&quot; : 0&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;-----------------------------&lt;br/&gt;
Any errors in the configuration?&lt;/p&gt;

</description>
                <environment>macbook</environment>
        <key id="13606">SERVER-2055</key>
            <summary>Trying to create replica set on local machine. Gives errror &quot;couldn&apos;t initiate : can&apos;t find self in the replset config&quot;</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="kristina">Kristina Chodorow</assignee>
                                    <reporter username="sujit">Sujit</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Nov 2010 22:33:50 +0000</created>
                <updated>Tue, 12 Jul 2016 00:17:16 +0000</updated>
                            <resolved>Thu, 4 Nov 2010 17:13:53 +0000</resolved>
                                    <version>1.6.3</version>
                                                    <component>Admin</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="20035" author="kristina" created="Thu, 4 Nov 2010 17:13:53 +0000"  >&lt;p&gt;Great, glad it worked out.  Local DNS can be a little funky, the DB is getting better at handling it.&lt;/p&gt;</comment>
                            <comment id="20033" author="sujit" created="Thu, 4 Nov 2010 16:54:33 +0000"  >&lt;p&gt;Kristina,&lt;/p&gt;

&lt;p&gt;Sorry for the late response.&lt;/p&gt;

&lt;p&gt;In my case: putting localhost for the replica set worked fine. (and proper&lt;br/&gt;
alias&apos;s in case of separate machines.)&lt;/p&gt;


&lt;p&gt;Thanks for looking into this and the immediate responses.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Sujit&lt;/p&gt;

&lt;p&gt;On Tue, Nov 2, 2010 at 4:07 PM, Kristina Chodorow (JIRA)&lt;/p&gt;
</comment>
                            <comment id="19985" author="kristina" created="Tue, 2 Nov 2010 23:05:57 +0000"  >&lt;p&gt;Please try deleting the data directories (or at least the local.* files) and start up one mongod with:&lt;/p&gt;

&lt;p&gt;$ mongod --replSet idincrepl --dbpath somewhere --port 10002&lt;/p&gt;

&lt;p&gt;Then run:&lt;/p&gt;

&lt;p&gt;$ mongo local-idinc:10002/admin&lt;br/&gt;
MongoDB shell version: 1.6.3&lt;br/&gt;
connecting to: local-idinc:10002/admin &lt;br/&gt;
&amp;gt; rs.initiate()&lt;/p&gt;

&lt;p&gt;Please paste the output.&lt;/p&gt;</comment>
                            <comment id="19983" author="sujit" created="Tue, 2 Nov 2010 22:57:33 +0000"  >&lt;p&gt;The replica set is not up. Not sure if this helps. Please let me know if I&lt;br/&gt;
should try something else.&lt;br/&gt;
Regards,&lt;br/&gt;
Sujit&lt;/p&gt;

&lt;p&gt;$ mongo local-idinc:10002/admin&lt;br/&gt;
MongoDB shell version: 1.6.3&lt;br/&gt;
connecting to: local-idinc:10002/admin&lt;br/&gt;
{&lt;br/&gt;
    &quot;startupStatus&quot; : 1,&lt;br/&gt;
    &quot;info&quot; : &quot;idincrepl/local-idinc:10001,local-idinc,10003&quot;,&lt;br/&gt;
    &quot;errmsg&quot; : &quot;all members and seeds must be reachable to initiate set&quot;,&lt;br/&gt;
    &quot;ok&quot; : 0&lt;br/&gt;
}&lt;br/&gt;
{&lt;br/&gt;
    &quot;startupStatus&quot; : 4,&lt;br/&gt;
    &quot;errmsg&quot; : &quot;can&apos;t currently get local.system.replset config from self or&lt;br/&gt;
any seed (EMPTYUNREACHABLE)&quot;,&lt;br/&gt;
    &quot;ok&quot; : 0&lt;br/&gt;
}&lt;/p&gt;


&lt;p&gt;$ ping local-idinc&lt;br/&gt;
PING local-idinc (127.0.0.1): 56 data bytes&lt;br/&gt;
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.046 ms&lt;/p&gt;


&lt;p&gt;On Tue, Nov 2, 2010 at 3:43 PM, Kristina Chodorow (JIRA)&lt;br/&gt;
&amp;lt;jira@mongodb.org&amp;gt;wrote:&lt;/p&gt;
</comment>
                            <comment id="19980" author="kristina" created="Tue, 2 Nov 2010 22:42:23 +0000"  >&lt;p&gt;If you do rs.initiate() (no config) on one of the machines and then run rs.status(), what does it say for name?&lt;/p&gt;

&lt;p&gt;This might also be a problem with the server figuring out who itself is, does it work for you with the 1.7 branch?  There were a number of fixes to this sort of problem that couldn&apos;t be backported.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 2 Nov 2010 22:42:23 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 15 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 15 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>kristina</customfieldvalue>
            <customfieldvalue>sujit</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpbu7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrigwn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>21391</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht0sbb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>