Lsnrctl status/start hangs

转载请注明出处:http://blog.csdn.net/xiaofan23z

Environment:

HPUX B11.31 + oracle 10.2.0.4 three nodes rac

Symptom:

The listener on the first node was stoped and can’t be start use crs_start or lsnrctl start,restart the instance symptom still exist;

Crs_stat rac1.lsnr offline

Use lsnrctl status/start command will be stuck。

Use crs_startora.sfc12rc1.LISTENER_SFC12RC1.lsnr command will be stuck.

Restart this instance symptom still exist; there is no way to shutdown this node,but users complained the program sometimes hangs when it open;

There is no error information in alert.log listener.log。

Solution:

the program sometimes hangs when it open,sometimes is normal。

Check that:

Crs_stat –t –vinstance was down

Use commandPs –ef|grep tnsfind listener_sfc12rc1 still alive….. this is the root of the program。

Kill -9 ospidkill this listener on os;

Startup database solve the problem out;

转载请注明出处:http://blog.csdn.net/xiaofan23z

Tworelateddocumentationon MOS

Intermittent TNS Listener Hang, New Child Listener Process Forked [ID 340091.1]

Modified03-JUN-2011TypeALERTStatusPUBLISHED

Applies to:

Oracle Net Services - Version: 10.1.0.3.0 to 10.2.0.2.0 - Release: 10.1 to 10.2

Information in this document applies to any platform.

All new connections via TNS listener hang, no errors reported

Checked for relevance on 05-FEB-2010.

Description

Intermittently the TNS listener hangs and new connections to the database are not possible.

Likelihood of Occurrence

The issue is that the TNS listener can hang under load if a second spawned listener process is not closed (remains persistent). Secondary listener processes are not unusual, depending on traffic as well as when the OS grep snapshot is taken. However, a persistent secondary process (longer than say 5 second) is not normal and may be a result of this referenced problem.

TNS listener can hang at any time and effect standalone or RAC systems

Possible Symptoms

Listener process can also consume high amount of CPU

Child TNS listener process is seen when doing a ps on the listener process, eg.:

$ ps -ef | grep tnslsnrora10g 8909 1 0 Sep 15 ? 902:44 /u05/10GHOME/DBHOME/bin/tnslsnr sales -inheritora10g 22685 8909 0 14:19:23 ? 0:00 /u05/10GHOME/DBHOME/bin/tnslsnr sales -inherit

Killing the child process allows new connections to work until the problem reoccurs

Workaround or Resolution

Issue is fixed in 10.2.0.3 Patch Set

Oracle Support recommends patching to 10.2.0.5 as this the lastest release

- OR -

Apply Patch 4518443 for the problem (if a patch is available)

- OR -

As a workaround, two steps should be done:

1. The following parameter can be added to listener.ora

SUBSCRIBE_FOR_NODE_DOWN_EVENT_=OFF

Where should be replaced with the actual listener name configured in the LISTENER.ORA file. This parameter is to be placed by itself on an empty line / at the end of file.

For example, if the listener name is LISTENER (default), the parameter would be:

SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF

2. Locate the ons.config file in the 10g(rdbms) home and rename it to something else.

For example:

cd $ORACLE_HOME/opmn/conf

mv ons.config ons.config.orig

The listener needs to be restarted after these changes.

This will both prevent the listener from registering against ONS (Oracle Notification Services), which is the area affected by bug:4518443, as well as disable ONS itself. For more information on ONS, please refer to the specific Oracle documentation, for example, for 10.2, see the Oracle10g Release 2 Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide.

Please note, that adding the SUBSCRIBE_FOR_NODE_DOWN_EVENT_ to listener.ora file on RAC and disabling the ONS file, will mean that FAN (fast application notification) will not be possible. SeeNote 220970.1 RAC: Frequently Asked Questions for further information on FAN. Therefore, if you have a RAC configuration, then apply the patch and do not disable ONS or FAN.

Also, please note that this might happen with ANY 10g installation, whether it is RAC related or not, and whether there is an Oracle Application installation or not.

Patches

ApplyPatch 4518443 for the problem (if a patch is available)

Modification History

References

Related

Products

·Oracle Database Products > Oracle Database > Net Services > Oracle Net Services

Keywords

HIGH CPU USAGE; INTERMITTENT; LISTENER HANGS; NOTIFICATION SERVICES; SERVICES; TNSLSNR

Extproc Listener Spinning / Hanging [ID 406269.1]

Modified21-AUG-2007     Type PROBLEM     Status MODERATED

This document is being delivered to you via Oracle Support'sRapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

Applies to:

Oracle Net Services - Version: 10.2.0.2

This problem can occur on any platform.

UNIX platforms

Symptoms

On 10.2.x (On UNIX platforms):

- Trying to start extproc listener as non-'oracle' user

- lsnrctl hangs and the tnslsnr process spins (consumes excessive cpu).

- Works fine when started as the 'oracle' user.

- No errors as such just spinning/hanging and inabillity to connect to extproc listener.

- Listener log file indicates that listener has started.

- On node that works the listener log also contains the message:

'Listener completed notification to CRS on start'.

- This doesn't appear on node with problem.

- Trace file also indicates that the listener is trying to contact CRS. As not using RAC.

- Trying workaround of the bug 4518443 by setting:

'SUBSCRIBE_FOR_NODE_DOWN_EVENT_=OFF', but problem still occurs.

Cause

- The problem is caused by lack of world read permission on $ORACLE_HOME/log.

- This probably had been set on the working system earlier.

- The script changePerm.sh does evidently doesn't set this ,although it might be expected to.

Solution

DIAGNOSTIC DETAILS:

==================

Running truss -feao /tmp/truss.log $ORACLE_HOME/bin/tnslsnr EXTPROC_MERLYN1

on non-working system shows the following:

- Listener is looping while trying to access:

$ORACLE_HOME/log/ukblx187/client

,but failing with err# 13.

- Notice that on working system (ukblx186) permissions on:

$ORACLE_HOME/log

were 755 (world read+execute)

,while on non-working they were 750

- Change the permission of:

$ORACLE_HOME/log

on non-working to be 755 , however it might still not work.

- Then rm -rf $ORACLE_HOME/log/ukblx187

retry and all works, the above directory being automatically recreated.

NOTES / ISSUES:

=============

1 - The $ORACLE_HOME/log/ directory doesn't get recreated once deleted

2 - It is not needed to delete it and grant execute to world (read isn't needed) on:

$ORACLE_HOME/log

before the listener would work.

3 - It is possible that after implementing this ,the extproc listener now starts up as a non-oracle user

but when trying to to invoke the extproc program, it fails with:

ORA-12518 - Couldn't hand off client Connection

- This can be fixed by granting world read and execute permission on

$ORACLE_HOME/lib/libagtsh.so.1.0

4 - One further problem might be encountered:

The extproc process failed with:

ORA 28595 - Extproc Agent Invalid DLL path

- This is because a third party supplied shared library was needed which have been stored outside $ORACLE_HOME.

- The solution is covered in Note 198523.1

References

NOTE:198523.1 - External Procedure Calls and ORA-28595 In Versions 9.2 through 10gR2

NOTE:340091.1 - Intermittent TNS listener hang, new child listener process forked.

Related

Products

Oracle Database Products > Oracle Database > Net Services > Oracle Net Services

Keywords

EXTPROC; HANGING; INVALID DLL PATH; LSNRCTL; PROCESS SPINS; SPINNING PROCESS; START LISTENER; TNSLSNR

Errors

ORA-12518

Copyright (c) 2007, 2010, Oracle. All rights reserved. Legal Notices and Terms of Use | Privacy Statement

转载请注明出处:http://blog.csdn.net/xiaofan23z

oracle卡在started状态,Lsnrctl status/start 卡住问题及解决办法相关推荐

  1. oracle 服务器硬盘满了,【案例】Oracle服务器diag进程占据了12g的磁盘空间分析解决办法...

    [案例]Oracle服务器diag进程占据了12g的磁盘空间分析解决办法 时间:2016-11-13 20:10   来源:Oracle研究中心   作者:网络   点击: 次 天萃荷净 Oracle ...

  2. oracle分区list,Oracle 分区表中存在range-list表分区时遇到问题及解决办法

    Oracle 分区表中存在range-list表分区时遇到问题及解决办法 我们遇到的通常是list分区这种居多,我就不介绍了. 以下解决的是 复合分区情况 表已存在,需要在范围分区中增加一个分区 我们 ...

  3. oracle锁mode,【案例】Oracle dml操作产生TM锁 lmode=6 分析原因和解决办法

    [案例]Oracle dml操作产生TM锁 lmode=6 分析原因和解决办法 时间:2016-12-04 20:22   来源:Oracle研究中心   作者:网络   点击: 次 天萃荷净 Ora ...

  4. oracle operation_type,案例:Oracle报错performing DML/DDL operation over object in bin解决办法

    天萃荷净 运维DBA在巡检时发现alert日志文件中出现Oracle报错performing DML/DDL operation over object in bin,分析原因为回收站中的对象执行了d ...

  5. oracle job enq tx,【学习笔记】Oracle等待事件 enq:TX–allocate ITL entry产生原因和解决办法...

    天萃荷净 运维DBA反映Oracle数据库出现enq:TX–allocate ITL entry等待事件,结合案例分析该等待事件产生原因和解决办法 今天在分析一份awr中发现了较为明显的enq: TX ...

  6. oracle数据库报错代码,【案例】Oracle数据库dbv检查坏块时报错代码:6106解决办法...

    [案例]Oracle数据库dbv检查坏块时报错代码:6106解决办法 时间:2016-10-24 21:02   来源:Oracle研究中心   作者:HTZ   点击: 次 天萃荷净 Oracle研 ...

  7. 动卡空间服务器显示正在加载,绝地求生进不去游戏一直卡在加载画面是什么原因?附解决办法...

    原标题:绝地求生进不去游戏一直卡在加载画面是什么原因?附解决办法 要说玩<绝地求生>的时候最恼人的事情是什么,非加载页面那个一直在转的圈圈莫属了.不知道有多少玩家体验过一直等着那个圈圈转完 ...

  8. NuxtServerError:Request failed with status code 500 我的解决办法与思路

    目录 一.问题来源 二.解决思路 三.解决办法 四.总结 一.问题来源 平时使用nuxt和部署上线都是正常运行的,偶尔有一天报500的错误; Nuxt.js运行(npm run dev)报错如下: 服 ...

  9. Oracle 11g R2安装过程中遇到的报错及解决办法

    1.提示Check if the DISPLAYvariable is set.    Failed<<<< 解决方案: #xhost +  //切换到root用户输入 #su ...

最新文章

  1. mysql怎么用_面试官都是这样发问的,连环冲锋炮,看你怎么抵挡(上)
  2. OpenCV 高斯滤波
  3. 转)使用C/C++扩展Python
  4. 满分简便代码:1009 说反话 (20分)
  5. 金立软件测试员,6GB运存有多强 金立M2017打开APP测试
  6. 数据分析中的统计概率_了解统计和概率:成为专家数据科学家
  7. PHPmysqli的 预处理执行查询语句
  8. Pantera Capital合伙人:ETH已成为机构资产类别
  9. 【PAT乙】1069 微博转发抽奖 (20分) set
  10. JSP三大指令、七大动作、九大对象
  11. 华为[ENSP]OSPF的配置实例(单区域+多区域)
  12. Maven:mvn 命令的基本使用
  13. 数学建模冲刺篇(灵敏度分析)
  14. xrd精修教程_XRD精修干货和三元材料的XRD精修实例
  15. STM32入门:STM32F401CDU6库函数工程文件搭建
  16. 【每日一题】一起冲击蓝桥杯吧——Day07【蓝桥真题一起练】
  17. 我的python3.0 + RIDE搭建之路 ---全是血泪史
  18. 一分钟教会你音频配音乐怎么制作
  19. 2021年中国机动车、汽车和新能源汽车保有量及驾驶人和驾驶证业务办理情况分析「图」
  20. 苹果手机还原网络设置会怎样_苹果手机老是信号不好,只要掌握这4个小技巧,信号便能立马增强...

热门文章

  1. rcs文件分享java_TestRcsTwo RCS通过java编程实现NML消息通讯的功能 Linux Network 网络 240万源代码下载- www.pudn.com...
  2. Vagrant详细教程
  3. 彼得大帝理工大学短期交流总结
  4. 致那些奋斗的青春岁月(下)
  5. 深度剖析以太坊虚拟机(EVM)的未来:Ewasm
  6. 拐点已至!被比亚迪赶超,大众中国打响「翻身战」
  7. 微信小程序视频全屏显示4种方式
  8. android layout 下添加xml文件,解决android中Layout文件下的xml文件配好后,R类中不能自动生成相应代码...
  9. 你不是脾气太坏,而是格局太小
  10. 链接符计算机,excel中连接符的使用教程全解