时间:2021-07-01 10:21:17 帮助过:2人阅读
ORACLE_HOME: oracle安装目录
GLOBAL_DBNAME: 实例名,默认为orcl
2) 重启监听器,当然可以在windows服务中重启
打开cmd,执行:
lsnrctl stop // 关闭 lsnrctl start // 启动
解决方案:
1、SID_NAME改为具体的实例名,如:orcl
2、删除 (PROGRAM = extproc)
# listener.ora Network Configuration File: D:\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = orcl) (ORACLE_HOME = D:\oracle\product\11.2.0\dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=ONLY:D:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll") ) ) SID_LIST_ORCL = (SID_LIST = (SID_DESC = (SID_NAME = CLRExtProc) (ORACLE_HOME = D:\oracle\product\11.2.0\dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=ONLY:D:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll") ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.30.134)(PORT = 1521)) ) ) ADR_BASE_LISTENER = D:\oracle
4、imp还原数据库时报错:错误12514
IMP-00058: 遇到 ORACLE 错误 12514 ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务 IMP-00000: 未成功终止导入
注意导入的实例名是否正确,可参考上述解决方案。
Oracle 异常处理汇总
标签: