• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

一个空格导致的ORA-12516错误

mysql 搞代码 4年前 (2022-01-09) 12次浏览 已收录 0个评论

系统报如下错误:Timestamp: 1/17/2012 4:36:24 PMMessage: PROV_OUTPUT_10: Error occurred while polling for new messages. Q

系统报如下错误:Timestamp: 1/17/2012 4:36:24 PM
Message: PROV_OUTPUT_10: Error occurred while polling for new messages. QUEUEDATA schema may be inaccessible.
Waiting 60 seconds before retrying. –> ORA-12516: TNS:listener could not find available handler with matching protocol stack
Category: Exception
下面是检查步骤:

C:\Documents and Settings\ibsadmin>tnsping orcl

TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 – Production on 18-JAN-2012 10:59:31

Copyright (c) 1997, 2010, Oracle. All rights reserved.

Used parameter files:
F:\app\ibsadmin\product\11.2.0\dbhome\network\admin\sqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to con本文来源gao@daima#com搞(%代@#码网tact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = irdeto-IBSvm)(PORT = 1521))) (CONNECT_DATA = (S
ERVICE_NAME = baseline)))
OK (50 msec)

C:\Documents and Settings\ibsadmin>sqlplus queuedata/queuedata@orcl

SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 18 10:59:40 2012

Copyright (c) 1982, 2010, Oracle. All rights reserved.

ERROR:
ORA-12516: TNS:listener could not find available handler with matching protocol
stack


Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied


Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied


SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus

C:\Documents and Settings\ibsadmin>
C:\Documents and Settings\ibsadmin>lsnrctl

LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 – Production on 18-JAN-2012 11:00:33

Copyright (c) 1991, 2010, Oracle. All rights reserved.

Welcome to LSNRCTL, type “help” for information.

LSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
————————
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 – Production
Start Date 13-JAN-2012 11:15:44
Uptime 4 days 23 hr. 44 min. 53 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\app\ibsadmin\product\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File d:\app\ibsadmin\diag\tnslsnr\irdeto-IBSvm\listener\alert\log.xml
Listening Endpoints Summary…
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.86.7.18)(PORT=1521)))
Services Summary…
Service “ORCL” has 1 instance(s).
Instance “ORCL”, status UNKNOWN, has 1 handler(s) for this service…
Service “baseline” has 1 instance(s).
Instance “baseline”, status READY, has 1 handler(s) for this service…
Service “baselineXDB” has 1 instance(s).
Instance “baseline”, status READY, has 1 handler(s) for this service…
The command completed successfully
LSNRCTL>
LSNRCTL>
LSNRCTL> exit


C:\Documents and Settings\ibsadmin>sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 18 11:01:25 2012

Copyright (c) 1982, 2010, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 – Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> show parameter service

NAME TYPE VALUE
———————————— ———– ——————————
service_names string baseline
SQL> show parameter listener

NAME TYPE VALUE
———————————— ———– ——————————
listener_networks string
local_listener string
remote_listener string
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 – Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

F:\app\ibsadmin\product\11.2.0\dbhome\NETWORK\ADMIN>notepad tnsnames.ora

ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = irdeto-IBSvm)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME =baseline) —去掉baseline和等号之间的空格保存。
)
)

F:\app\ibsadmin\product\11.2.0\dbhome\NETWORK\ADMIN>sqlplus queuedata/queuedata@orcl

SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 18 11:03:52 2012

Copyright (c) 1982, 2010, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 – Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL>


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:一个空格导致的ORA-12516错误
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址