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

php中文网
发布: 2016-06-07 16:21:29
原创
2637人浏览过

1.1. ASM:PRCR-1079 ASM的监听启动失败。 报错原因: 没有配置LD_LIBRARY_PATH变量导致oraagent.bin找不到库文件。 解决方法: 配置LD_LIBRARY_PATH变量。 解决步骤: 以grid身份启动监听的时候报错: [grid@rolequery ~]$ srvctl start listener 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

MarsCode
MarsCode

字节跳动旗下的免费AI编程工具

MarsCode 279
查看详情 MarsCode

  [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 ~]$

最佳 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号