Manual startup of the server on Windows

For settings other than the defaults, such as occasional maintenance, and in case of, for example, troubleshooting, you must use different command line options. You must start the ASM Server once from the command line. After you start the ASM Server once with the required arguments. The arguments are remembered the next time. Either by command line with (only) the -start argument, or by the service manager.

This table lists the available command line options:

-inherit Enable inherit of the system environment variables that were set when the ASM server was started.
-start Start asm srv service (if installed)
-stop Stop asm srv service (if installed)
-install Install asm srv service
-remove Remove asm srv service
-p[ort] <port number> Override default TCP/IP listening port.
-home <home directory> Set program home directory for ASM Server. This option is mandatory.
-r <time in seconds> Refresh interval for which ASM scans the existence of the process for instances with Running status. Default refresh time is 10 seconds.
-?, -h[elp] Display help/usage information
-d Debug info (verbose output) for daemon asm_srv that is written to (typically) %windir%\temp\asm_srv.log
-v Version information

To change the -home parameter, you must stop the ASM Server. Change the ‑home parameter and restart the server with this new -home parameter.

  • If no additional arguments are provided to the start-stop or install command, the arguments of a previous call are used. If the arguments were provided once, these arguments are used after a reboot or through the Control Panel. If manual, these arguments are used from the command line.
  • If you use the -d option, additional events are written in the Event Viewer. For example, the location of the debug file is also shown in the Event Viewer. Check the events in the Event Viewer when the ASM Server is started with the -d argument.