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

Can't connect to mongo

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Works as Designed
    • 2.0.5
    • None
    • Shell
    • None
    • 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!

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: