arcSDE for Linux 安装过程中的问题

1. 64位环境中,安装32位软件问题:

从镜像中,安装下面两个包:

rpm -ivh glibc-2.12-1.107.el6.i686.rpm nss-softokn-freebl-3.12.9-11.el6.i686.rpm


以下信息供参考:

 在linux x86_64 下安装glibc i686时出现了与nss-softokn-freebl i686相互依赖的问题,两个包都没安装

[root@bmc oracle]# rpm -ivh glibc-2.12-1.7.el6.i686.rpm 
warning: glibc-2.12-1.7.el6.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY
error: Failed dependencies:
        libfreebl3.so is needed by glibc-2.12-1.7.el6.i686
        libfreebl3.so(NSSRAWHASH_3.12.3) is needed by glibc-2.12-1.7.el6.i686



2. 执行 ./install -load后

Enter media mount point: [/mediamnt]   (此处输入你sde安装包所在的路径)


3. sqlplus如何执行sql文件

SQL>START file_name
or
SQL>@ file_name


4. [sde@zhzydb1 bin]$ sdesetup -o install d ORACLE11G -p sde
sdesetup: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such fil


解决:

安装镜像中的这两个包:

/media/RHEL_6.4 x86_64 Disc 1/Packages/libXp-1.0.0-15.1.el6.x86_64.rpm

/media/RHEL_6.4 x86_64 Disc 1/Packages/openmotif-2.3.3-5.el6_3.x86_64.rpm

然后
cd /usr/lib64
cd /usr/lib
ln libXm.so.4 libXm.so.3

5. [sde@zhzydb1 lib64]$ sdesetup -o install d ORACLE11G -p sde
sdesetup: error while loading shared libraries: libg2c.so.0: cannot open shared object file: No such file or directory


解决:从镜像中安装

compat-libf2c-34-3.4.6-19.el6.x86_64.rpm

参考:http://blog.csdn.net/gisinfo/article/details/8491302


6. SES_iconv_open(UTF-8,zh_CN.euc) failed) 

解决:

export LANG=UTF-8,zh_CN.euc


7. [sde@zhzydb1 ~]$ $SDEHOME/bin/sdesetup -o install -d ORACLE11G -p sde
ESRI ArcSDE Server Setup Utility Thu Sep 11 01:39:32 2014
----------------------------------------------------------------
ERROR: The geodatabase already exists. If you want to upgrade the geodatabase,
see the ArcSDE installation guide for instructions.
ERROR: Geodatabase install not completed.


解决:

drop user sde cascade;

如果无法删除用户,请参考:

http://blog.csdn.net/xionglang7/article/details/7804639


8. oracle配置文件:



LISTENER_ORCLDB =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    )
  )


SID_LIST_LISTENER =
(SID_LIST =
  (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /home/oracle/oracle)
    (PROGRAM = extproc)
    (ENVS="EXTPROC_DLLS=/home/sde/sdeexe10/sdeexe100/lib/libst_shapelib.so:/home/sde/sdeexe10/sdeexe100/lib/libst_raster_ora.so")
  )
  (SID_DESC =
    (GLOBAL_DBNAME=orcldb)
    (ORACLE_HOME = /home/oracle/oracle)
    (SID_NAME = orcldb)
  )
)


ADR_BASE_LISTENER = /home/oracle
SECURE_REGISTER_LISTENER_ORCLDB = (IPC)

========================================

EXTPROC_CONNECTION_DATA = 
  (DESCRIPTION = 
    (ADDRESS_LIST = 
      (ADDRESS = (PROTOCOL = IPC)(Key = EXTPROC1521))
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521)) 
    ) 
    (CONNECT_DATA = 
      (SID = PLSExtProc) 
      (PRESENTATION = RO) 
    ) 
  ) 


9. 重启监听

$ lsnrctl stop

$ lsnrctl start 



你可能感兴趣的:(arcgis)