Shutting down the OpenKeyServer

There is no specific procedure to shutdown the keyserver, but the logical way to achieve it is to shutdown first the gateways and only then the OKS database server. You can find a little script in the OKS binary directory to shutdown the server following this way.

# cd /usr/local/oks/bin
# ./oks_stop

Stopping the OpenKeyServer SMTP gateway...
Stopping the OpenKeyServer HTTP gateway...
Stopping the OpenKeyservet Database Server...
#

It is necessary to shutdown at least the OKS database server otherwise any modification made on the database will not be commited on the disk. This may lead to a database corruption and you will need to restore your OKS database.