问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501

又遇ORA-12516错误,求助

发布网友 发布时间:2022-05-05 23:17

我来回答

2个回答

懂视网 时间:2022-05-06 03:39

系统报如下错误: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 Settingsibsadmin>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:appibsadminproduct11.2.0dbhome etworkadminsqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = irdeto-IBSvm)(PORT = 1521))) (CONNECT_DATA = (S
ERVICE_NAME = baseline)))
OK (50 msec)

C:Documents and Settingsibsadmin>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 Settingsibsadmin>
C:Documents and Settingsibsadmin>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:appibsadminproduct11.2.0dbhome_1 etworkadminlistener.ora
Listener Log File d:appibsadmindiag nslsnrirdeto-IBSvmlisteneralertlog.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 Settingsibsadmin>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:appibsadminproduct11.2.0dbhomeNETWORKADMIN>notepad tnsnames.ora

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

F:appibsadminproduct11.2.0dbhomeNETWORKADMIN>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>

linux

热心网友 时间:2022-05-06 00:47

  其实两个问题 是ORACLE导入常碰见的问题,只要导入完确认下,你需要的视图和触发器均能正常访问或编译即可。

错误的原因:
执行建视图的时候涉及的函数或其它未先建立;
创建触发器时,涉及的表未先建立。

结果确认:实际上大多情况是,视图和触发器都正常建立。导入完毕后,进行确认视图是否可访问,触发器是否创建?

解决:如确认都正常,那就OK啦。如异常,大不了将错误的语句再执行次即可。
声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com
ef英语哪个好 EF英孚英语培训怎么样? 英孚英语好不好 EF英孚教育到底好不好 大佬们,麦芒7和荣耀10那个值得入手?2500以下的机子还有啥好推荐的么... 介绍几款2500元以前的手机 像素一定要高 其他的不做要求 近期想入手一部安卓手机,价格2200到2500左右…买HTC desire Z还是 三星... 笔记本忘记开机密码怎么办急死了 笔记本电脑屏幕开机锁忘记密码 怎么办?急死了 华硕笔记本电脑开机密码忘记了怎样找回?系统是Windows 7旗舰版... 姓颜排行文,起一女孩名字 姓颜的女孩取名要求三个字 姓颜的女孩姓名怎么说 带胸罩的穿戴时间怎么比较合适? 颜姓女孩取名,缺木? 文胸带怎么调 女人带胸罩到底有什么好处啦?为什么要带呢? 内衣是带钢圈的好,还是不带的好? 北京积分落户83分要排多少年 胸罩太紧会有什么后果 胸罩带紧的好还是松的好? 北京积分落户排名7万,后面还有戏吗?要等十年上岸吗? 北京积分落户分值表最新规定 在建违法建筑概念? “因公违法”也是违法,违法占地必受处罚——浙江省奉化市交通投资公司非法占地案是怎样? 浙江省宁波市老小区改造整改楼道有违章建搭是否给不给清除 住建部对于已建成已住了人的小产权房怎么处理 浙江丽水市2015年拆迁按照几号公告 浙江违章建筑认定标准年限划分 法制宣传的知识竞赛题 战99显卡最大功率怎么看 为什么进书旗小说一点开就到了支付宝登陆页面 我的被别人给盗啦,聊天记录会不会被看到呀,求高手解答!很担心会被看到我的聊天记录。 拍立得型号 宝丽来拍立得相机简介 富士拍立得那个型号好?求详细参数对比。宝丽来如何? 宝丽来拍立得千元以内的那几款比较好 拍立得有几种型号 Oracel 问题_ ORA-12560: TNS: 协议适配器错误 ___狼的诱惑免费在线看或者下载地阯? 哪里有狼的诱惑电影版全集视频? 求大佬提供一下2017年休·杰克曼主演的电影《金刚狼3殊死一战》的百度网盘高清资源 那小子真帅电影免费观看和狼的诱惑电影免费观看 求大神们分享2009年上映的休·杰克曼主演的美国电影《金刚狼 X》免费的百度网盘链接 谁有金刚狼1和金刚狼2的电影,免费,可以是链接,谢谢!各位大神 电影《狼图腾》免费在线观看地址? 鼠虎属相婚配好不好 4个小孩6个苹果怎么切2刀能分一样多 属鼠女和属虎男能结婚? 上海市一在建工地塔吊突然倾倒,致1死2伤,有关部门采取了哪些急救措施?