Tag: windows

  • Vagrant locks each machine for access by only one process at a time

    When aborting vagrant up command, the ruby process in Windows may not be killed, causing other further vagrant command failed with the error ‘Vagrant locks each machine for access by only one process at a time’

    Solution: Open Task Manager, find all ‘ruby.exe’ under Process Tab and kill them.

  • Install telnet client on Windows

    • Open a command prompt window. Click Start, type cmd in the Start Search box, and then press ENTER.
    • Type the following command:
      pkgmgr /iu:"TelnetClient"
      
  • MongoDB on Windows: getnameinfo errno 10106

    Error: When starting the MongoDB service in the prompt (c:mongodbbinmongod.exe), I get the following error:

    exception in initAndListen:13082 getnameinfo error errno:10106
    The requested service provider could not be loaded or initialized.. terminating

    Cause: This is a WinSock error as in the mongod.log

    WSAEPROVIDERFAILEDINIT [10106]: Service provider failed to initialize. This error is returned if either a service provider’s DLL could not be loaded (LoadLibrary failed) or the provider’s WSPStartup or NSPStartup function failed.

    Solution: open cmd as admin, type the following and hit Enter to repair winsock.

    netsh winsock reset