How To: Start Geoprocessing Server at boot time on UNIX machine
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.
- Create a script "gpserver" in /etc/init.d. This must be owned by 'root' and have execute (755) permission.
# start and stop geoprocessing server daemon
if [ ! -f $ARCHOME/bin/gpmon -o ! -d $ARCHOME ]
echo "GeoProcessor service startup: cannot start"
case "$1" in
# Start gpserver daemon:
echo "Starting GeoProcessor Daemon - 8.0.1"
su - james -c $ARCHOME/sysgen/gp_start &
# Stop gpserver daemon:
# do we have to ???
echo "Stopping GeoProcessor Daemon - 8.0.1"
su - james -c $ARCHOME/sysgen/gp_stop
- Create $ARCHOME/sysgen/gp_start. This must be owned by the ArcInfo installer and have execute (755) permission.
$ARCHOME/bin/gpmon -o start -p pwd
- Create a symbolic link in /etc/rc3.d so the gpserver file will be executed.
% ln -s /etc/init.d/gpserver S999.gpserver
- Ensure the ArcInfo environment variables, ARCHOME, LD_LIBRARY_PATH, and LM_LICENSE_FILE, are set in your .cshrc file.