RAC启动监听报错:TNS-12555 TNS-12560 TNS-00525 Linux Error: 1: Operation not permitted

[grid@rac1 admin]$ srvctl start listener
PRCR-1079 : 无法启动资源 ora.LISTENER.lsnr
CRS-5016: 进程 "/u01/app/11.2.0/grid/bin/lsnrctl" (由代理 "/u01/app/11.2.0/grid/bin/oraagent.bin" 衍生, 用于操作 "start") 失败: 详细信息见 "(:CLSN00010:)" (位于 "/u01/app/11.2.0/grid/log/rac1/agent/crsd/oraagent_grid/oraagent_grid.log")

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 22-12月-2014 10:57:57

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

启动/u01/app/11.2.0/grid/bin/tnslsnr: 请稍候...

TNSLSNR for Linux: Version 11.2.0.1.0 - Production
系统参数文件为/u01/app/11.2.0/grid/network/admin/listener.ora
写入/u01/app/grid/diag/tnslsnr/rac1/listener/alert/log.xml的日志信息
监听该对象时出错: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
TNS-12555: TNS: 权限被拒绝
 TNS-12560: TNS: 协议适配器错误
  TNS-00525: 无足够权限以执行操作
   Linux Error: 1: Operation not permitted


监听程序未能启动。请参阅上面的错误消息...

CRS-5016: 进程 "/u01/app/11.2.0/grid/bin/lsnrctl" (由代理 "/u01/app/11.2.0/grid/bin/oraagent.bin" 衍生, 用于操作 "start") 失败: 详细信息见 "(:CLSN00010:)" (位于 "/u01/app/11.2.0/grid/log/rac1/agent/crsd/oraagent_grid/oraagent_grid.log")

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 22-12月-2014 10:57:59

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
TNS-12541: TNS: 无监听程序
 TNS-12560: TNS: 协议适配器错误
  TNS-00511: 无监听程序
   Linux Error: 111: Connection refused

CRS-2674: 未能启动 'ora.LISTENER.lsnr' (在 'rac1' 上)

排错:

[grid@rac1 tmp]$ strace lsnrctl start

...

close(5)                                = 0
munmap(0x2b112fe18000, 4096)            = 0
uname({sys="Linux", node="rac1", ...})  = 0
access("/var/tmp/.oracle", F_OK)        = 0
chmod("/var/tmp/.oracle", 01777)        = -1 EPERM (Operation not permitted)
socket(PF_FILE, SOCK_STREAM, 0)         = 5
access("/var/tmp/.oracle/sLISTENER", F_OK) = 0
connect(5, {sa_family=AF_FILE, path="/var/tmp/.oracle/sLISTENER"...}, 110) = -1 
ECONNREFUSED (Connection refused)

access("/var/tmp/.oracle/sLISTENER", F_OK) = 0
nanosleep({0, 100000000}, {16, 140734842600960}) = 0
close(5)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 5
connect(5, {sa_family=AF_FILE, path="/var/tmp/.oracle/sLISTENER"...}, 110) = -1 
ECONNREFUSED (Connection refused)
access("/var/tmp/.oracle/sLISTENER", F_OK) = 0
nanosleep({0, 200000000}, {140734842602080, 47352773724001}) = 0
close(5)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 5
connect(5, {sa_family=AF_FILE, path="/var/tmp/.oracle/sLISTENER"...}, 110) = -1 
ECONNREFUSED (Connection refused)
access("/var/tmp/.oracle/sLISTENER", F_OK) = 0
nanosleep({0, 10000000}, {140734842602080, 47352773724001}) = 0
close(5)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 5

...

[grid@rac1 .oracle]$ ls -al sLISTENER
srwxrwxrwx 1 oracle oinstall 0 12-22 08:57 sLISTENER

[grid@rac1 .oracle]$ chown grid:oinstall sLISTENER
chown: 正在更改 “sLISTENER” 的所有者: 不允许的操作


[grid@rac1 .oracle]$ exit
logout
[root@rac1 nscd]# cd /var/tmp/.oracle/
[root@rac1 .oracle]# ls -al sLISTENER
srwxrwxrwx 1 oracle oinstall 0 12-22 08:57 sLISTENER


[root@rac1 .oracle]# chown grid:oinstall sLISTENER

[grid@rac1 ~]$ lsnrctl start


LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 22-DEC-2014 11:16:30

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

Starting /u01/app/11.2.0/grid/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u01/app/11.2.0/grid/network/admin/listener.ora
Log messages written to /u01/app/grid/diag/tnslsnr/rac1/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date                22-DEC-2014 11:16:32
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File         /u01/app/grid/diag/tnslsnr/rac1/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
Services Summary...
Service "orcl1" has 1 instance(s).
  Instance "orcl1", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully


你可能感兴趣的:(ORACLE_RAC)