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