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
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 ~]$
上一篇: PHP正则过滤中文
下一篇: PHP脚本数据库功能详解(中)_PHP
推荐阅读
-
MySQL 启动报错:File ./mysql-bin.index not found (Errcode: 13)_MySQL
-
apache配置PHP5.5后启动服务报错 求大神帮忙
-
详解SpringBoot注册Windows服务和启动报错的原因
-
解决eclipse启动时报错Failed to create the Java Virtural Machine.问题的方法
-
解决maven启动Spring项目报错的问题
-
解决eclipse启动时报错Failed to create the Java Virtural Machine.问题的方法
-
解决maven启动Spring项目报错的问题
-
mysql启动报错MySQL server PID file could not be found
-
启动Tomcat报错Unsupported major.minor version xxx的解决方法
-
Android启动模拟器报错解决方法