You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/01/16 20:22:39 UTC

[GitHub] wohali commented on issue #1047: why fail to restart the CouchDB instance through curl

wohali commented on issue #1047: why fail to restart  the CouchDB instance through curl
URL: https://github.com/apache/couchdb/issues/1047#issuecomment-358092637
 
 
   Thanks for reporting this, this is a bug. CouchDB no longer supports the `/_restart` endpoint.
   
   You will need to restart CouchDB using the Windows Services control panel, or using the `sc` command from an Administrator Command Prompt:
   
   ```
   C:\Windows\system32>sc stop "Apache CouchDB"
   
   SERVICE_NAME: Apache CouchDB
           TYPE               : 10  WIN32_OWN_PROCESS
           STATE              : 3  STOP_PENDING
                                   (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
           WIN32_EXIT_CODE    : 0  (0x0)
           SERVICE_EXIT_CODE  : 0  (0x0)
           CHECKPOINT         : 0x1
           WAIT_HINT          : 0xdac
   
   C:\Windows\system32>sc query "Apache CouchDB"
   
   SERVICE_NAME: Apache CouchDB
           TYPE               : 10  WIN32_OWN_PROCESS
           STATE              : 1  STOPPED
           WIN32_EXIT_CODE    : 0  (0x0)
           SERVICE_EXIT_CODE  : 0  (0x0)
           CHECKPOINT         : 0x0
           WAIT_HINT          : 0x0
   
   C:\Windows\system32>sc start "Apache CouchDB"
   
   SERVICE_NAME: Apache CouchDB
           TYPE               : 10  WIN32_OWN_PROCESS
           STATE              : 2  START_PENDING
                                   (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
           WIN32_EXIT_CODE    : 0  (0x0)
           SERVICE_EXIT_CODE  : 0  (0x0)
           CHECKPOINT         : 0x0
           WAIT_HINT          : 0x7d0
           PID                : 7724
           FLAGS              :
   
   C:\Windows\system32>sc query "Apache CouchDB"
   
   SERVICE_NAME: Apache CouchDB
           TYPE               : 10  WIN32_OWN_PROCESS
           STATE              : 4  RUNNING
                                   (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
           WIN32_EXIT_CODE    : 0  (0x0)
           SERVICE_EXIT_CODE  : 0  (0x0)
           CHECKPOINT         : 0x0
           WAIT_HINT          : 0x0
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services