Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-3961

multi-homed Windows 2003 server fails to start Erlang

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.5.3
    • Fix Version/s: 1.7.1.1
    • Component/s: ns_server
    • Security Level: Public
    • Environment:
      Windows Server 2003 Service Pack 2
      3.6GHz processor
      3.5GB RAM

      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}
      1. erl_crash.dump
        308 kB
        Perry Krug
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        perry Perry Krug created issue -
        perry Perry Krug made changes -
        Field Original Value New Value
        Attachment erl_crash.dump [ 11450 ]
        perry Perry Krug made changes -
        Attachment chris-taylor-server-logs.zip [ 11451 ]
        farshid Farshid Ghods (Inactive) made changes -
        Fix Version/s 1.7.1 [ 10183 ]
        steve Steve Yen made changes -
        Assignee Bin Cui [ bcui ]
        farshid Farshid Ghods (Inactive) made changes -
        Fix Version/s 2.0 Beta [ 10113 ]
        Fix Version/s 1.7.1 [ 10183 ]
        Show
        farshid Farshid Ghods (Inactive) added a comment - http://review.membase.org/#change,8646
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        Integrated in github-ns-server-2-0 #95 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/95/)
        MB-3961 Work around inet:getiflist() bug under multi-home

        Bin Cui :
        Files :

        • src/menelaus_web.erl
        • src/addr_util.erl
        Show
        farshid Farshid Ghods (Inactive) added a comment - Integrated in github-ns-server-2-0 #95 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/95/ ) MB-3961 Work around inet:getiflist() bug under multi-home Bin Cui : Files : src/menelaus_web.erl src/addr_util.erl
        sharon Sharon Barr (Inactive) made changes -
        Fix Version/s 1.7.2 [ 10203 ]
        Hide
        bcui Bin Cui added a comment -

        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.

        Show
        bcui Bin Cui added a comment - 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.
        bcui Bin Cui made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        perry Perry Krug made changes -
        Labels 1.7.2-release-notes 2.0-release-notes
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        Integrated in github-ns-server-2-0 #117 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/117/)
        MB-3961 Work around inet:getiflist() bug under multi-home

        Bin Cui :
        Files :

        • src/uuid.erl
        • src/addr_util.erl
        • src/menelaus_web.erl
        Show
        farshid Farshid Ghods (Inactive) added a comment - Integrated in github-ns-server-2-0 #117 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/117/ ) MB-3961 Work around inet:getiflist() bug under multi-home Bin Cui : Files : src/uuid.erl src/addr_util.erl src/menelaus_web.erl
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        backported to 1.7.1.1

        Show
        farshid Farshid Ghods (Inactive) added a comment - backported to 1.7.1.1
        farshid Farshid Ghods (Inactive) made changes -
        Fix Version/s 1.7.1.1 [ 10210 ]
        Fix Version/s 1.7.2 [ 10203 ]
        farshid Farshid Ghods (Inactive) made changes -
        Fix Version/s 2.0 Beta [ 10113 ]

          People

          • Assignee:
            bcui Bin Cui
            Reporter:
            perry Perry Krug
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes