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.

NoteNote:

Windows users must have power user or administrator group permissions to pause, resume, or shut down a local or remote ArcSDE service.

Steps:
  1. 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
  2. If any user processes are returned from this command, contact the users to log off. If you cannot contact the users (for example, if they left their geodatabase connections up when they left work), you may have to kill the user processes to proceed. See Removing an ArcSDE service connection from a geodatabase for information on ending user service processes.
  3. 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!
  4. 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.
    TipTip:

    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.


10/4/2012