Starting a remote ArcSDE service on Linux or UNIX

Before an ArcSDE service on a Linux or UNIX system can be started from a remote computer, you must complete four configuration steps. When configuration is done, you can execute sdemon –o start from the remote computer.

  1. The dbinit.sde file must contain the database connection and the library path to the ArcSDE and DBMS dynamic libraries. The dbinit.sde file can be found in $SDEHOME/etc.

    set ORACLE_HOME=/bula/oracle
    set ORACLE_SID=ora
    set LD_LIBRARY_PATH=/usr/lib:/bula/oracle/lib:/bula/oraexe/lib
    unset TWO_TASK

    If you are running on an IBM AIX operating system, substitute LIBPATH for LD_LIBRARY_PATH.

  2. As the root user, duplicate the service name in the /etc/services file as a User Datagram Protocol (UDP) entry that uses the same port number on both the local and remote servers.

    # \etc\services
    esri_sde 5151/tcp
    esri_sde 5151/udp

  3. As the root user, update the /etc/inetd.conf file. Add this line to the bottom of the file.

    <ArcSDE instance> dgram udp wait <owner of ArcSDE home> 
    <$SDEHOME>/bin/sderemote iomgr_inetd
    <$SDEHOME><ArcSDE instance>

  4. As the root user, identify the relevant process using the UNIX command ps - piped through grep. Reinitialize the inetd daemon by sending it a signal hang-up (SIGHUP).
  5. As the ArcSDE administrator, make sure the ArcSDE service is not started.
    sdemon –o status
    ArcSDE Instance esri_sde Status on bula
    ArcSDE instance esri_sde is not available on bula.
  6. After you have completed the configuration steps, type the sdemon command with the start operation to remotely start an ArcSDE service. Include the server (–s) and service (–i) options.
    sdemon –o start –p password –s bula –i esri_sde
    ArcSDE Instance esri_sde started Fri Oct 31 07:42:02 2008
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 at the Enterprise level.

Related Topics