Uploaded image for project: 'MongoDB Command Line Tools'
  1. MongoDB Command Line Tools
  2. TOOLS-620

Tools fail to connect on unix domain socket

    Details

    • Type: Bug
    • Status: Waiting (Blocked)
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-rc7
    • Fix Version/s: None
    • Component/s: All Tools
    • Labels:
      None

      Description

      The tools (tested mongodump, mongorestore, mongoexport, mongoimport) fail to connect using the Unix domain socket, looks like this:

      ./mongodump -d test --host /tmp/mongodb-27017.sock 
      2015-02-05T17:09:18.321+0000	Failed: error connecting to db server: no reachable servers
       
      ./mongorestore -d test --host /tmp/mongodb-27017.sock 
      2015-02-05T17:09:24.545+0000	using default 'dump' directory
      2015-02-05T17:09:28.084+0000	Failed: error connecting to db server: no reachable servers
       
      ./mongoexport -d test -c data --host /tmp/mongodb-27017.sock 
      2015-02-05T17:10:37.231+0000	Failed: error connecting to db server: no reachable servers
       
      ./mongo --host /tmp/mongodb-27017.sock 
      MongoDB shell version: 3.0.0-rc7
      connecting to: /tmp/mongodb-27017.sock:27017/test
      > 

      Connecting to the same process via IP is successful.

      Using 2.6 versions of the tools is successful.

        Attachments

          Activity

            People

            • Assignee:
              backlog-server-tools Backlog - Server Tools Team
              Reporter:
              adamc Adam Comerford (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: