Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9900

Can't connect to mongo

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 2.0.5
    • Component/s: Shell
    • Labels:
      None
    • Environment:
      Windows server 2008 R2 64bit
    • ALL
    • Hide

      Open an admin cmd.
      Run command:
      c:\Program Files (x86)\Ixia\ResourceManager\MongoDB\bin>mongod.exe --journal --dbpath "C:\ProgramData\Ixia\ResourceManager\Storage\Database" --logpath "C:\ProgramData\Ixia\ResourceManager\Logs\mongod.log" --logappend --verbose --ipv6

      Try to start mongo.exe.
      This the output:
      c:\Program Files (x86)\Ixia\ResourceManager\MongoDB\bin>mongo.exe
      MongoDB shell version: 2.0.5
      connecting to: test
      Tue Jun 11 03:32:31 Socket recv() got 1 bytes wanted len=4
      Tue Jun 11 03:32:31 Socket recv() got 1 bytes wanted len=3
      Tue Jun 11 03:32:33 Socket recv() got 1 bytes wanted len=2

      The problem is the connection can't be establish to database.
      Also i try to use mongo as a windows service. Service is in started state. Also if try to connect with MongoVUE client or mongo.exe to database but I can't.

      Can someone help me why I can't use database?

      Thanks!

      Show
      Open an admin cmd. Run command: c:\Program Files (x86)\Ixia\ResourceManager\MongoDB\bin>mongod.exe --journal --dbpath "C:\ProgramData\Ixia\ResourceManager\Storage\Database" --logpath "C:\ProgramData\Ixia\ResourceManager\Logs\mongod.log" --logappend --verbose --ipv6 Try to start mongo.exe. This the output: c:\Program Files (x86)\Ixia\ResourceManager\MongoDB\bin>mongo.exe MongoDB shell version: 2.0.5 connecting to: test Tue Jun 11 03:32:31 Socket recv() got 1 bytes wanted len=4 Tue Jun 11 03:32:31 Socket recv() got 1 bytes wanted len=3 Tue Jun 11 03:32:33 Socket recv() got 1 bytes wanted len=2 The problem is the connection can't be establish to database. Also i try to use mongo as a windows service. Service is in started state. Also if try to connect with MongoVUE client or mongo.exe to database but I can't. Can someone help me why I can't use database? Thanks!

      I'm using mongo 2.0.5. I try to use mongod.exe hosted in a windows service or started in a commandline and no connection can be made to it.

            Assignee:
            Unassigned Unassigned
            Reporter:
            gabi_badescu Gabriel Badescu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: