在客户端远程启动oracle要满足2个条件
1.服务端的LISTENER必须要静态注册,修改LISTENER.ora文件
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_2)
(PROGRAM = extproc)
)
(SID_DESC = (GLOBAL_DBNAME = orcl) (ORACLE_HOME = E:\oracle\product\10.2.0\db_2) (SID_NAME = orcl) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = HB)(PORT = 1521)) (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)) ) ) 2.建立口令文件 在命令行中执行:orapwd file=路径+pwdSID.ora password=密码 entries=口令文件中保存的最大用户数。 例如:orapwd file=%ORACLE_HOME%\database\pwdORCL.ora password=admin entries=20 force=y force:是否重写现有的文件