Security
Also available as:
PDF
loading table of contents...

Manually Start and Stop Apache Knox

Except for changes to ../ ../conf/topology/*.xml, changes to the Knox Gateway global settings in $gateway /conf/gateway-site.xml cannot be loaded before the Gateway is restarted.

To manually stop Knox:

cd $gateway/bin/gateway.sh stop

This is known as a clean shutdown, as the gateway script cleans out all .out and .err files in the logs directory.

To manually start Knox for the first time, or re-start Knox after a clean shutdown:

cd $gateway /bin/gateway.sh start

To manually re-start Knox after an unclean shutdown:

cd $gateway/bin/gateway.sh clean /bin/gateway.sh start

This command eliminates old .outand .err files in the logs directory.