Oracle Error CLSGN-00158: Initialization or shut down in progress.

Oracle Error Message

CLSGN-00158: Initialization or shut down in progress.

Reason for the Error

GNS was unable to process a command because it is either starting up or shutting down.

Solution

If the server is starting up, try the command again in a few seconds. The server is shutting down, try the command again after the server has restarted.