[MB-3961] multi-homed Windows 2003 server fails to start Erlang Created: 06/Jun/11 Updated: 26/Aug/11 Resolved: 09/Aug/11 |
|
| Status: | Resolved |
| Project: | Couchbase Server |
| Component/s: | ns_server |
| Affects Version/s: | 1.6.5.3 |
| Fix Version/s: | 1.7.1.1 |
| Security Level: | Public |
| Type: | Bug | Priority: | Major |
| Reporter: | Perry Krug | Assignee: | Bin Cui |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 1.7.2-release-notes, 2.0-release-notes | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows Server 2003 Service Pack 2
3.6GHz processor 3.5GB RAM |
||
| Attachments: |
|
| Description |
|
Some logs attached and an erlang crashdump
Through working with Bin we found that the problem has to do with reading the IP address list of the server; Eshell V5.7.4 (abort with ^G) 1> inet:getif(). {error,efault} 2> inet:getiflist(). {error,efault} |
| Comments |
| Comment by Farshid Ghods [ 08/Aug/11 ] |
| http://review.membase.org/#change,8646 |
| Comment by Farshid Ghods [ 08/Aug/11 ] |
|
Integrated in github-ns-server-2-0 #95 (See [http://qa.hq.northscale.net/job/github-ns-server-2-0/95/]) Bin Cui : Files : * src/menelaus_web.erl * src/addr_util.erl |
| Comment by Bin Cui [ 09/Aug/11 ] |
|
Root cause: erlang inet:getiflist() will throw exception under multi-homed window environment. Remove the dependency by reinplementing a new uuid and/or use inet:getifadrs() instead. |
| Comment by Farshid Ghods [ 23/Aug/11 ] |
|
Integrated in github-ns-server-2-0 #117 (See [http://qa.hq.northscale.net/job/github-ns-server-2-0/117/]) Bin Cui : Files : * src/uuid.erl * src/addr_util.erl * src/menelaus_web.erl |
| Comment by Farshid Ghods [ 26/Aug/11 ] |
| backported to 1.7.1.1 |