Arcgis server requires a little configuration to connect to SDE on Solaris and Linux with a direct connection:
1 set the following parameters before the exec $* in <arcgis server>/bin/arcsoc.init file:
Sdehome=<arcgis Directory>;export Sdehome
Oracle_home=<oracle Client Directory Location>;export oracle_home
Ld_library_path=${oracle_home}/lib:${ld_library_path};export Ld_library_path
For example: Install ArcGIS to/home/arcgis, Oracle Client installed in/app/oracle/product/10.2.0, will set:
Sdehome=/home/arcgis;export Sdehome
Oracle_home=/app/oracle/product/10.2.0;export Oracle_home
Ld_library_path=${oracle_home}/lib:${ld_library_path};export Ld_library_path
If the Tnsnames.ora file is not in the default installation location, it can also be specified by additional parameters.
Tns_admin=/rapid1/ora92/app/oracle/product/9.2.0/network/admin;export Tns_admin
Error positioning under customer installation will appear as shown above.
2 Create a link named ' Lib ' pointing to the ArcGIS Server/bin directory by running the following command in the ArcGIS Server directory:
Ln-s./bin Lib
3 Verify that the link was successfully established through the following command:
Ls-al Lib
You will see output similar to the following:
lrwxrwxrwx 1 root Other 5 Sep 22:45 Lib->./bin
4 reboot ArcGIS Server and Mainwin
Stopserver
StartServer