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

"Net stop mondodb" returns an error on windows.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.0
    • Affects Version/s: 1.5.5
    • Component/s: Tools, Usability
    • None
    • Environment:
      Windows 7 64bit
    • ALL

      This is from a POST 1.55 daily build.

      If I type net stop mongodb from the command line I get:
      System error 109 has occurred.

      The pipe has been ended.

      The log says this:
      [websvr] Sun Jul 18 01:12:18 Listener: accept() returns -1 errno:10038 An operation was attempted on something that is not a socket.

      The long version of what I did.
      +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

      C:\Program Files\10gen\mongodb-win32-x86_64-2010-07-17\bin>mongod --reinstall --logpath "c:\data\logs\mongo.log"
      all output going to: c:\data\logs\mongo.log
      Deleting service MongoDB.
      Service deleted successfully.
      Creating service MongoDB.
      Service creation successful.
      Service can be started from the command line via 'net start "MongoDB"'.
      Sun Jul 18 01:11:45 dbexit:
      Sun Jul 18 01:11:45 closeAllFiles() finished
      Sun Jul 18 01:11:45 dbexit: really exiting now

      C:\Program Files\10gen\mongodb-win32-x86_64-2010-07-17\bin>
      C:\Program Files\10gen\mongodb-win32-x86_64-2010-07-17\bin>
      C:\Program Files\10gen\mongodb-win32-x86_64-2010-07-17\bin>net start mongodb

      The Mongo DB service was started successfully.

      C:\Program Files\10gen\mongodb-win32-x86_64-2010-07-17\bin>net stop mongodb
      System error 109 has occurred.

      The pipe has been ended.

      C:\Program Files\10gen\mongodb-win32-x86_64-2010-07-17\bin>type c:\data\logs\mongo.log
      Sun Jul 18 01:12:12 MongoDB starting : pid=11724 port=27017 dbpath=/data/db/ 64-bit
      Sun Jul 18 01:12:12 db version v1.5.6-pre-, pdfile version 4.5
      Sun Jul 18 01:12:12 git version: 2d0ed7733a13646d9f644aac0adcdccbfbf6ce1a
      Sun Jul 18 01:12:12 sys info: windows (6, 1, 7600, 2, '') BOOST_LIB_VERSION=1_42
      [initandlisten] Sun Jul 18 01:12:13 waiting for connections on port 27017
      [websvr] Sun Jul 18 01:12:13 web admin interface listening on port 28017
      Sun Jul 18 01:12:18 shutdown: going to close listening sockets...
      Sun Jul 18 01:12:18 going to close listening socket: 272
      Sun Jul 18 01:12:18 going to close listening socket: 284
      Sun Jul 18 01:12:18 shutdown: going to flush oplog...
      Sun Jul 18 01:12:18 shutdown: going to close sockets...
      Sun Jul 18 01:12:18 shutdown: waiting for fs preallocator...
      Sun Jul 18 01:12:18 shutdown: closing all files...
      [initandlisten] Sun Jul 18 01:12:18 Listener: accept() returns -1 errno:10038 An operation was attempted on something that is not a socket.

      [initandlisten] Sun Jul 18 01:12:18 select() failure: ret=-1 errno:10038 An operation was attempted on something that is not a socket.

      [initandlisten] Sun Jul 18 01:12:18 now exiting
      [initandlisten] Sun Jul 18 01:12:18 shutdown: going to close listening sockets...
      [initandlisten] Sun Jul 18 01:12:18 shutdown: going to flush oplog...
      [initandlisten] Sun Jul 18 01:12:18 shutdown: going to close sockets...
      [initandlisten] Sun Jul 18 01:12:18 shutdown: waiting for fs preallocator...
      [initandlisten] Sun Jul 18 01:12:18 shutdown: closing all files...
      [websvr] Sun Jul 18 01:12:18 Listener: accept() returns -1 errno:10038 An operation was attempted on something that is not a socket.

      C:\Program Files\10gen\mongodb-win32-x86_64-2010-07-17\bin>

            Assignee:
            tad Tad Marshall
            Reporter:
            zippy1981 Justin Dearing
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: