HOW TO

Start Geoprocessing Server at boot time on UNIX machine

Last Published: April 25, 2020

Summary

The UNIX GeoProcessing server is a SETUID program that requires a normal user to initiate. This Document explains how to start GeoProcessing server at boot up.

Procedure



  1. Create a script "gpserver" in /etc/init.d. This must be owned by 'root' and have execute (755) permission.

    Code:
    #!/bin/sh
    #
    # start and stop geoprocessing server daemon
    #
    #
    ARCHOME="/kawau2/temp/arcexe80"
    export ARCHOME
    if [ ! -f $ARCHOME/bin/gpmon -o ! -d $ARCHOME ]
    then
    echo "GeoProcessor service startup: cannot start"
    exit 1
    fi
    #
    case "$1" in
    'start')
    # Start gpserver daemon:
    echo "Starting GeoProcessor Daemon - 8.0.1"
    su - james -c $ARCHOME/sysgen/gp_start &
    sleep 5
    ;;
    'stop')
    # Stop gpserver daemon:
    # do we have to ???
    echo "Stopping GeoProcessor Daemon - 8.0.1"
    su - james -c $ARCHOME/sysgen/gp_stop
    ;;
    esac

  2. Create $ARCHOME/sysgen/gp_start. This must be owned by the ArcInfo installer and have execute (755) permission.

    Code:
    #! /bin/csh

    $ARCHOME/bin/gpmon -o start -p pwd

  3. Create a symbolic link in /etc/rc3.d so the gpserver file will be executed.

    Code:
    % ln -s /etc/init.d/gpserver S999.gpserver

  4. Ensure the ArcInfo environment variables, ARCHOME, LD_LIBRARY_PATH, and LM_LICENSE_FILE, are set in your .cshrc file.

Article ID:000002042

Software:
  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic