免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4484 | 回复: 8
打印 上一主题 下一主题

Oracle 用了半年多 突然出现经常连不上 需要从起服务器 请各位帮忙看看 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-03-09 12:47 |只看该作者 |倒序浏览
数据库版本:Oralce 9I  90111   
操作系统:windows 2003
双机软件:rose HA
服务器品牌:惠普

09年9月份安装好的,一直使用的都没问题,前几天突然出现客户端连接不上,看ROSE ha 的服务和操作系统的服务都没问题,出现这种问题后从起服务器或切换ROSE HA的服务 可以好用一段时间。

操作系统事件日志在今天9点54分有错误   
内容
:(事件 ID ( 20 )的描述(在资源( Oracle.orcl )中)无法找到。本地计算机可能没有必要的注册信息或消息 DLL 文件来从远程计算机显示消息。您可能可以使用 /AUXSOURCE= 标识来检索词描述;查看帮助和支持以了解详细信息。下列信息是事件的一部分: ORACLE Instance orcl - Can not allocate log, archival required
.)

oracle 的 alrtlog  在这个时间段的内容:(Wed Mar 03 16:21:33 2010
replication_dependency_tracking turned off (no async multimaster replication found)
Completed: alter database open
Wed Mar 03 17:53:43 2010
Errors in file G:\oracle\admin\orcl\bdump\orclSMON.TRC:
ORA-00604: error occurred at recursive SQL level 1
ORA-01001: invalid cursor
ORA-00601: cleanup lock conflict

Tue Mar 09 09:54:15 2010
Thread 1 cannot allocate new log, sequence 227
All online logs needed archiving
  Current log# 3 seq# 226 mem# 0: G:\ORACLE\ORADATA\ORCL\REDO03.LOG
Tue Mar 09 12:04:21 2010
Restarting dead background process EMN0
EMN0 started with pid=24
Tue Mar 09 12:04:21 2010
Shutting down instance: further logons disabled
Shutting down instance (immediate)
License high water mark = 13
Tue Mar 09 12:04:22 2010
Errors in file G:\oracle\admin\orcl\bdump\ORA00280.TRC:
ORA-01089: immediate shutdown in progress - no operations are permitted
ORA-01089: immediate shutdown in progress - no operations are permitted

Tue Mar 09 12:04:22 2010
Errors in file G:\oracle\admin\orcl\bdump\ORA00976.TRC:
ORA-01089: immediate shutdown in progress - no operations are permitted
ORA-00604: error occurred at recursive SQL level 1
ORA-01089: immediate shutdown in progress - no operations are permitted

Tue Mar 09 12:04:23 2010
Errors in file G:\oracle\admin\orcl\bdump\ORA01620.TRC:
ORA-01089: immediate shutdown in progress - no operations are permitted
ORA-01089: immediate shutdown in progress - no operations are permitted)



请朋友们帮我分析下是什么原因导致的这个问题,谢谢了。

论坛徽章:
0
2 [报告]
发表于 2010-03-09 14:43 |只看该作者
查一下你的归档目录是否满了

论坛徽章:
0
3 [报告]
发表于 2010-03-09 16:22 |只看该作者
与归档日志没啥关系,以前我碰到过rac环境不能使用taf连接不同节点的问题,oracle官方认为是一个bug

楼主看看是否可以按照文档所说解决问题:

到metalink上找到一篇文档364855.1,上面介绍了9207存在的这种情况:

RAC Connection Redirected To Wrong Host/IP ORA-12545 [ID 364855.1]   

--------------------------------------------------------------------------------

  修改时间 01-MAY-2008     类型 PROBLEM     状态 PUBLISHED   


In this Document
  Symptoms
  Cause
  Solution
  References



--------------------------------------------------------------------------------



Applies to:
Oracle Net Services - Version: 9.1 to 10.2
This problem can occur on any platform.


Symptoms
When we try to connect to a RAC service name we sometimes get redirected by the first node's listener to the public address/hostname of the second node instead of its VIP address. An ORA-12545 error may be generated if that public hostname is not configured in DNS.


We were expecting the connection to eventually be redirected to the VIP of the other node.



Cause
The Database on one RAC node remote registers with the wrong local IP address to the listener on the other RAC node (e.g. the public IP address instead of the wanted VIP address).

The PMON process handles database registration to the local and remote listeners. For remote listeners registration PMON will have to find out what is the IP address of the local system in order to present it to the remote listener as database contact address.

In the default Oracle configuration, for hosts which have more than one IP address configured on the network interfaces,  it is undefined which IP address will be selected for remote registration.



Solution
Modify the local_listener database parameter to point to the local VIP address. For the parameter value use either an alias name which contains in the DESCRIPTION field only the VIP address or use an explicit connection statement like the following:


alter system set LOCAL_LISTENER="(ADDRESS=(PROTOCOL=TCP)(HOST=<VIP_address>)(PORT=1521))" scope=both sid='instance_name';  Where "instance_name" is the unique instance name.   Issue this statement for all instances in the cluster.



The LOCAL_LISTENER database parameter will give PMON a hint in respect of which IP address it should use for remote registration with other nodes' listener(s).

References
NOTE:235562.1 - Issues affecting Automatic Service Registration
NOTE:256275.1 - Dynamic Registration Fails On Multiple Network Interface Server

论坛徽章:
0
4 [报告]
发表于 2010-03-09 17:46 |只看该作者
归档没满  还有600多G的空间呢

论坛徽章:
0
5 [报告]
发表于 2010-03-09 18:01 |只看该作者
期待高手的解决

论坛徽章:
0
6 [报告]
发表于 2010-03-09 18:09 |只看该作者
我找翻译软件看了  3 楼的帖子   那个VIP地址是不就是双机虚拟出的地址   ?   我查了在LOCAL_LISTENER 里使用的是这个虚拟地址

论坛徽章:
0
7 [报告]
发表于 2010-03-09 18:14 |只看该作者
3楼给个中文的解决办法吧   这英文翻译的有点乱  实在是搞不定

论坛徽章:
0
8 [报告]
发表于 2010-03-09 18:48 |只看该作者
反复测试了几次  发现问题了  双机切换以后  oracle就不自动归档了   不知道为什么?

论坛徽章:
0
9 [报告]
发表于 2010-03-09 19:03 |只看该作者
高手帮忙给个解决办法    服务切换到另一台服务器上后   自动归档就禁用   不知道什么原因?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP