您当前的位置: 首页 > 数据库教程 > Oracle教程 > Oracle-ASM-PRCR-1079-监听启动报错

Oracle-ASM-PRCR-1079-监听启动报错

作者:不详 来源:网络 发布时间: 2014-08-25 17:21 点击:
1.1. ASM:PRCR-1079 ASM的监听启动失败。 报错原因: 没有配置LD_LIBRARY_PATH变量导致oraagent.bin找不到库文件。 解决方法: 配置LD_LIBRARY_PATH变量。 解决步骤: 以grid身份启动监听的时候报错: [grid@rolequery ~]$ srvctl start listener PRCR-1079 : Failed

Oracle-ASM-PRCR-1079-监听启动报错

  1.1. ASM:PRCR-1079

  ASM的监听启动失败。

  报错原因:

  没有配置LD_LIBRARY_PATH变量导致oraagent.bin找不到库文件。

  解决方法:

  配置LD_LIBRARY_PATH变量。

  解决步骤:

  以grid身份启动监听的时候报错:

  [grid@rolequery ~]$ srvctl start listener

  PRCR-1079 : Failed to start resourceora.LISTENER.lsnr

  CRS-5016: Process"/home/U01/app/grid/11.2.3/bin/lsnrctl" spawned by agent"/home/U01/app/grid/11.2.3/bin/oraagent.bin" for action"start" failed: details at "(:CLSN00010:)" in"/home/U01/app/grid/11.2.3/log/rolequery/agent/ohasd/oraagent_grid/oraagent_grid.log"

  CRS-5016: Process"/home/U01/app/grid/11.2.3/bin/lsnrctl" spawned by agent "/home/U01/app/grid/11.2.3/bin/oraagent.bin" foraction "start" failed: details at "(:CLSN00010:)" in"/home/U01/app/grid/11.2.3/log/rolequery/agent/ohasd/oraagent_grid/oraagent_grid.log"

  CRS-2674: Start of 'ora.LISTENER.lsnr' on'rolequery' failed

  查看日志:

  [ora.LISTENER.lsnr][3550127872] {0:0:264}[start] (:CLSN00010:)LSNRCTL for Linux: Version 11.2.0.3.0 - Production on30-MAR-2014 12:31:00

  [ora.LISTENER.lsnr][3550127872] {0:0:264}[start] (:CLSN00010:)Copyright (c) 1991, 2011, Oracle. All rights reserved.

  [ora.LISTENER.lsnr][3550127872] {0:0:264}[start] (:CLSN00010:)Connecting to(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))

  [ora.LISTENER.lsnr][3550127872] {0:0:264}[start] (:CLSN00010:)TNS-12541: TNS:no listener

  [ora.LISTENER.lsnr][3550127872] {0:0:264}[start] (:CLSN00010:) TNS-12560: TNS:protocol adapter error

  [ora.LISTENER.lsnr][3550127872] {0:0:264}[start] (:CLSN00010:) TNS-00511: Nolistener

  [ora.LISTENER.lsnr][3550127872] {0:0:264}[start] (:CLSN00010:) Linux Error: 111:Connection refused

  [ora.LISTENER.lsnr][3550127872] {0:0:264}[start] (:CLSN00010:) TNS-00525:Insufficient privilege for operation

  [ora.LISTENER.lsnr][3550127872] {0:0:264}[start] (:CLSN00010:) Linux Error: 1:Operation not permitted

  [ora.LISTENER.lsnr][3550127872] {0:0:264}[start] (:CLSN00010:)Listener failed to start. See the error message(s)above...

  ...

  [ AGENT][3550127872] {0:0:264} UserErrorException: Locale is

  [ora.LISTENER.lsnr][3550127872] {0:0:264}[start] clsnUtils::error Exception type=2 string= CRS-5016: Process"/home/U01/app/grid/11.2.3/bin/lsnrctl" spawned by agent "/home/U01/app/grid/11.2.3/bin/oraagent.bin" foraction "start" failed: details at "(:CLSN00010:)" in"/home/U01/app/grid/11.2.3/log/rolequery/agent/ohasd/oraagent_grid/oraagent_grid.log"

  [ AGFW][3550127872] {0:0:264} sending status msg [CRS-5016: Process"/home/U01/app/grid/11.2.3/bin/lsnrctl" spawned

  by agent "/home/U01/app/grid/11.2.3/bin/oraagent.bin"for action "start" failed: details at "(:CLSN00010:)"

  in"/home/U01/app/grid/11.2.3/log/rolequery/agent/ohasd/oraagent_grid/oraagent_grid.log"]

  for start for resource: ora.LISTENER.lsnrrolequery 1

  手动调用/home/U01/app/grid/11.2.3/bin/oraagent.bin命令:

  [grid@rolequery ~]$ /home/U01/app/grid/11.2.3/bin/oraagent.bin

  /home/U01/app/grid/11.2.3/bin/oraagent.bin:error while loading shared libraries: libocr11.so: cannot open shared objectfile: No such file or directory

  查看library文件是否存在:

  [grid@rolequery ~]$ ls -l/home/U01/app/grid/11.2.3/lib/libocr11.so

  -rw-r----- 1 grid oinstall 1590995 Sep 3 2011/home/U01/app/grid/11.2.3/lib/libocr11.so

  说明: libor11.so库文件是存在的,但是grid用户找不到。

  查看LD_LIBRARY_PATH变量的配置:

  echo $LD_LIBRARY_PATH

  空(即未配置)

  配置LD_LIBRARY_PATH变量:

  vim ~/.asmprofile

  添加export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH

  source ~/.bash_profile

  启动监听:

  [grid@rolequery ~]$ srvctl start listener

  [grid@rolequery ~]$ srvctl statuslistener

  Listener LISTENER is enabled

  Listener LISTENER is running on node(s):rolequery

  [grid@rolequery ~]$
分享到:
本文"Oracle-ASM-PRCR-1079-监听启动报错"由远航站长收集整理而来,仅供大家学习与参考使用。更多网站制作教程尽在远航站长站。
顶一下
(0)
0%
踩一下
(0)
0%
[点击 次] [返回上一页] [打印]
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 密码: 验证码:
关于本站 - 联系我们 - 广告合作 - 网站声明 - 友情连接- 网站地图 - 站点地图 - 返回顶部
Copyright © 2007-2013 www.yhzhan.com(远航站长). All Rights Reserved .
远航站长:为中小站长提供最佳的学习与交流平台,提供网页制作与网站编程等各类网站制作教程.
官方QQ:445490277 网站群:26680406 网站备案号:豫ICP备07500620号-4