楼主你好,之前我遇到过类似的问题,就是我的oracle客户端程序在windows系统中的环境变量出现了问题(我的电脑-->右击系统属性-->环境变量),看下Path 变量中是否配置了oracle的安装路径,之前我使用了其他的客户端程序,把这个变量抹掉了。
在listen.ora中增加如下多的部分,重启监听
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\software\oracle)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBANAME = orcl)
(ORACLE_HOME = E:\software\oracle)
(SID_NAME = orcl)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)
童鞋
你先在cmd下执行lsnrctl start启动监听程序试试