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

Tools fail to connect on unix domain socket

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor - P4
    • Resolution: Won't Fix
    • 3.0.0-rc7
    • None
    • All Tools
    • 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

        Issue Links

          Activity

            People

              backlog-server-tools Backlog - Server Tools Team
              adamc Adam Comerford
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: