`
jayyanzhang2010
  • 浏览: 377768 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

ORA-28575:无法打开与外部过程代理程序的RPC连接

 
阅读更多

1. 修改listener.ora文件,增加如下内容,注意该库位于SDE的安装目录下的bin目录下:
(ENVS = "EXTPROC_DLLS=C:\Program Files\ArcGIS\ArcSDE\ora10gexe\bin\st_shapelib.dll")

 

--listener.ora:
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = ngrm)
      (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
      (SID_NAME = ngrm)
    )
    (SID_DESC =
      (GLOBAL_DBNAME = topodb)
      (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
      (SID_NAME = topodb)
    )
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=C:\Program Files\ArcGIS\ArcSDE\ora10gexe\bin\st_shapelib.dll")
    )
  )


2. 修改tnsnames.ora文件,添加如下一行,注意listener和tnsnames中的KEY值要匹配上:
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.205.41)(PORT = 1521))

--tnsnames.ora:
EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.205.41)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
    )
  )

重启服务。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics