[SERVER-11655] am trying to change the port number for one replica set , getting the below error "errmsg" : "exception: assertion src/mongo/db/repl/rs_initiate.cpp:125" Created: 10/Nov/13 Updated: 02/Dec/13 Resolved: 26/Nov/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 2.4.6 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | saeed meethal | Assignee: | Gianfranco Palumbo |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
mac os x |
||
| Operating System: | ALL |
| Participants: |
| Description |
|
From Log :
|
| Comments |
| Comment by Gianfranco Palumbo [ 14/Nov/13 ] | |||
|
I'm glad that worked for you. Let me know if you have any other questions or it's ok to close this issue. Regards, | |||
| Comment by saeed meethal [ 14/Nov/13 ] | |||
|
thank you | |||
| Comment by Gianfranco Palumbo [ 13/Nov/13 ] | |||
|
You'll have to change the configuration by doing:
| |||
| Comment by saeed meethal [ 13/Nov/13 ] | |||
|
I have successfully changed the port from mongodb 2.4.8 new version , i hope it is nt wkring for 2.4.6 One more help : I have made a mistake in conf file and added wrong field column { "_id" : 5, "host" : "10.00.00.00:27033", "votes" : 0, "port" : 27033 }, How to remove this unexpected field from conf other than rs.remove() Thanks, | |||
| Comment by Gianfranco Palumbo [ 13/Nov/13 ] | |||
|
Depending if you want to maintain the replicaset available you can follow this tutorial: | |||
| Comment by Gianfranco Palumbo [ 12/Nov/13 ] | |||
|
No the host contains the hostname and port. It's possible that there was a connectivity issue just as you triggered the command but i'll look into it. If you have more information that you think might help debug this, please do share. | |||
| Comment by saeed meethal [ 12/Nov/13 ] | |||
|
Thank you so much Gianfranco Palumbo for the info ,the commands which i used for changing port QQ: Do i need to use port instead of using host ? Thanks, | |||
| Comment by Gianfranco Palumbo [ 11/Nov/13 ] | |||
|
Saeed, To change ports or hostnames in a replicaset, you'll to follow this procedure: Can you provide the exact commands you run so I can replicate this and see the reason behind the Assertion? Regards, | |||
| Comment by saeed meethal [ 10/Nov/13 ] | |||
|
can someone please help me to resolvve this issue ? |