HOW TO
Instructions provided describe how to set up the arcsoc.init file to include the environment variables necessary for performing Oracle direct connect.
Code:
<arcgis directory>/scripts/stopserver
Note:
In version 10.0, <arcgis directory> is the path to the server10.0 directory inside the arcgis directory. In previous versions, <arcgis directory> is the path to the arcgis directory.
Code:
cp <arcgis directory>/bin/arcsoc.init <arcgis directory>/bin/arcsoc.init.orig
Code:
SDEHOME=<arcgis directory>;export SDEHOME
ORACLE_HOME=<oracle client directory location>;export ORACLE_HOME
PATH="$PATH:$SDEHOME/bin:$ORACLE_HOME/bin";export PATH
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SDEHOME/bin:$ORACLE_HOME/lib";export LD_LIBRARY_PATH
Note:
If the 64-bit version of the Oracle client is being used, the LD_LIBRARY_PATH value of $ORACLE_HOME/lib has to be $ORACLE_HOME/lib32 instead.
Code:
SDEHOME=/dir1/arcgis;export SDEHOME
ORACLE_HOME=/dir1/oracli/app/oracle/product/10.2.0;export ORACLE_HOME
PATH="$PATH:$SDEHOME/bin:$ORACLE_HOME/bin";export PATH
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SDEHOME/bin:$ORACLE_HOME/lib";export LD_LIBRARY_PATH
Code:
TNS_ADMIN=/dir1/oracli/app/oracle/product/10.2.0/network/admin;export TNS_ADMIN
Code:
<arcgis directory>/scripts/startserver
Get help from ArcGIS experts
Download the Esri Support App