Oracle 10g 10.2.0.1 RAC ORA-12520

php中文网
发布: 2016-06-07 17:10:43
原创
1562人浏览过

Oracle 10g 10.2.0.1 RAC ORA-12520这个错误非常常见,之前在单机上遇到过一次,处理办法是设置local_listener,这次照样先类似的

Oracle 10g 10.2.0.1 RAC ORA-12520
这个错误非常常见,之前在单机上遇到过一次,处理办法是设置local_listener,这次照样先类似的处理下看看如何。

[oracle@R1 ~]$ sqlplus system/test@RAC

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Feb 3 11:24:31 2012

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

ERROR:
ORA-12520: TNS:listener could not find available handler for requested type of
server


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
[oracle@R1 ~]$ tail /opt/app/product/10.2.0/db_1/network/log/listener_r1.log
03-FEB-2012 11:20:41 * service_update * RAC1 * 0
03-FEB-2012 11:20:46 * service_update * RAC2 * 0
03-FEB-2012 11:21:41 * service_update * RAC1 * 0
03-FEB-2012 11:21:46 * service_update * RAC2 * 0
03-FEB-2012 11:22:44 * service_update * RAC1 * 0
03-FEB-2012 11:22:49 * service_update * RAC2 * 0
03-FEB-2012 11:23:47 * service_update * RAC1 * 0
03-FEB-2012 11:23:52 * service_update * RAC2 * 0
03-FEB-2012 11:24:31 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=RAC)(CID=(PROGRAM=sqlplus@R1)(HOST=R1)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.101.162)(PORT=36591)) * establish * RAC * 12520
TNS-12520: TNS:listener could not find available handler for requested type of server


[oracle@R1 log]$ sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Feb 3 11:54:54 2012

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


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options

sys@RAC> alter system set local_listener ='(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.101.162)(PORT = 1521))' scope=both sid='RAC1';

System altered.

sys@RAC> show parameter listen;

NAME                     TYPE     VALUE
------------------------------------ -------- ------------------------------
local_listener                 string   (ADDRESS = (PROTOCOL = TCP)(HO
                          ST = 192.168.101.162)(PORT = 1
                          521))
remote_listener              string   LISTENERS_RAC

[oracle@R2 bdump]$ sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Feb 3 11:55:12 2012

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


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options

sys@RAC> alter system set local_listener ='(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.101.164)(PORT = 1521))' scope=both sid='RAC2';

System altered.

sys@RAC> shwo parameter liste;
SP2-0734: unknown command beginning "shwo param..." - rest of line ignored.
sys@RAC> show parameter lis;

NAME                     TYPE     VALUE
------------------------------------ -------- ------------------------------
local_listener                 string   (ADDRESS = (PROTOCOL = TCP)(HO
                          ST = 192.168.101.164)(PORT = 1
                          521))
recovery_parallelism             integer  0
remote_listener              string   LISTENERS_RAC
sys@RAC>
注意,填写的是VIP的IP地址。
如上设置后问题解决,,真要命,这个真不知道什么时候该填什么时候不用填,单机和rac,我都看到有的填有的没填。
-The End-

linux

最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号