几天前,我在我的数据库上执行了关闭,但花了很长时间,所以我关闭了我的 m/c。重新启动机器后,当我尝试使用 TOAD 连接到我的数据库时出现此异常。我提到了下面提到的线程,但问题仍未解决:
我的 tnsnames.ora 的内容:
ORCL=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=localhost)
(PORT=1521)
)
(CONNECT_DATA=
(SERVER=dedicated)
(SERVICE_NAME=orcl)
)
)
Run Code Online (Sandbox Code Playgroud)
“lsnrctl 服务”的输出:
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 15-FEB-2012 23:53:33
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
Run Code Online (Sandbox Code Playgroud)
我所有的 oracle 服务都在运行。我尝试使用启动命令启动数据库:
C:\Users\PPPP>sqlplus
SQL*Plus: Release 11.2.0.1.0 Production …
Run Code Online (Sandbox Code Playgroud)