[SERVER-4418] rs.initiate(); failed Created: 02/Dec/11 Updated: 12/May/14 Resolved: 02/Dec/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 2.0.1 |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Leonid Mikityanskiy | Assignee: | Kristina Chodorow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | replicaset | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux 2.6.18-274.3.1.el5 RH5 x86_64 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
init step failed to run. cat /etc/mongod.conf |
| Comments |
| Comment by Kristina Chodorow (Inactive) [ 02/Dec/11 ] | |
|
No problem! | |
| Comment by Leonid Mikityanskiy [ 02/Dec/11 ] | |
|
Kristina, , , , | |
| Comment by Kristina Chodorow (Inactive) [ 02/Dec/11 ] | |
|
Put each one in the list:
| |
| Comment by Leonid Mikityanskiy [ 02/Dec/11 ] | |
|
Kristina, | |
| Comment by Kristina Chodorow (Inactive) [ 02/Dec/11 ] | |
|
Running rs.initiate() with no parameters attempts to auto-detect the hostname. It detected that your hostname was sd1pxx06lx.sakdirect.com, which it could not resolve (from the log: getaddrinfo("sd1pxx06lx.sakdirect.com") failed: Name or service not known). I'd suggest passing rs.initiate() a config with the hostname you want to use, e.g.,
|