Stopping an ArcSDE service
You can use the sdemon command to stop an ArcSDE service.
Stopping the ArcSDE service relinquishes all of its processes and operating system resources. You can stop an ArcSDE service if no server tasks are running. If server tasks are running, you must remove the running tasks before the service will shut down.
While the service is stopped, no additional connections can be made to the geodatabase using the service.
Windows users must have power user or administrator group permissions to pause, resume, or shut down a local or remote ArcSDE service.
- Determine if there are any active service connections to the geodatabase by typing the sdemon command with the info operation at an MS-DOS (Windows) or shell (Linux or UNIX) command prompt.
sdemon -o info -I users -i 2468
- Once you confirm there are no user connections, type the sdemon command with the shutdown operation to stop the service.
If you are not using the default service port, provide the port number with the command. You will be prompted to provide the ArcSDE administrator password.
sdemon –o shutdown –i 2468 Please enter ArcSDE DBA password: ArcSDE Instance 2468 on <local_server> is Shutdown!
-
Type the sdemon command with the status operation to confirm the ArcSDE service has been shut down.
sdemon –o status –i 2468 ArcSDE Instance 2468 on <local_server> is not available.
Tip:For details on the use of sdemon and other administration commands, consult the Administration Command Reference that is provided with the ArcSDE component of ArcGIS Server Enterprise.