当前位置: 代码迷 >> Oracle管理 >> sqlplus登录有关问题,用system/orcl可以登录,用system/orcl@orcl就登录不了,就死在那里,没有任何提示
  详细解决方案

sqlplus登录有关问题,用system/orcl可以登录,用system/orcl@orcl就登录不了,就死在那里,没有任何提示

热度:150   发布时间:2016-04-24 05:54:13.0
sqlplus登录问题,用system/orcl可以登录,用system/orcl@orcl就登录不了,就死在那里,没有任何提示
sqlplus登录问题,
用system/orcl可以登录,用system/orcl@orcl就登录不了,就死在那里,没有任何提示.
listener.ora
SID_LIST_LISTENER =
  (SID_LIST =
  (SID_DESC =
  (SID_NAME = PLSExtProc)
  (ORACLE_HOME = d:\oracle\product\10.2.0\db_1)
  (PROGRAM = extproc)
  )
  )

LISTENER =
  (DESCRIPTION_LIST =
  (DESCRIPTION =
  (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
  (ADDRESS = (PROTOCOL = TCP)(HOST = hhs)(PORT = 1521))
  )
  )

tnsnames.ora
ORCL =
  (DESCRIPTION =
  (ADDRESS = (PROTOCOL = TCP)(HOST = hhs)(PORT = 1521))
  (CONNECT_DATA =
  (SERVER = DEDICATED)
  (SERVICE_NAME = orcl)
  )
  )

EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
  (ADDRESS_LIST =
  (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
  )
  (CONNECT_DATA =
  (SID = PLSExtProc)
  (PRESENTATION = RO)
  )
  )


sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES= (NTS)

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

不知道哪位高手可以解决一下,先谢了!

------解决方案--------------------
遇到过,没有通过修改参数等解决。
后来被迫无奈的重新安装了。
引用楼主 WinsenHu 的帖子:
sqlplus登录问题,
用system/orcl可以登录,用system/orcl@orcl就登录不了,就死在那里,没有任何提示.
listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = d:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY …

------解决方案--------------------
不用主机名用ip地址试试呢
------解决方案--------------------
C:\>lsnrctl status
C:\>lsnrctl stop
C:\>lsnrctl start

看看有什么异常么?还有就是看看Alert文件和trace文件,
里面记录了什么信息。
------解决方案--------------------
完全正常,看不出什么问题了
  相关解决方案