- 最后登录
- 2014-7-9
- 在线时间
- 1 小时
- 威望
- 0
- 金钱
- 7
- 注册时间
- 2014-7-2
- 阅读权限
- 10
- 帖子
- 2
- 精华
- 0
- 积分
- 0
- UID
- 1909
|
3#
发表于 2014-7-9 11:41:10
通过# strace -f -t -o /tmp/crschk.trc crsctl check crs进行跟踪
Content of the generated output file :/tmp/crschk.trc is as follows:
write(1, "CSS appears healthy\n", 20) = 20
24514 11:03:40 brk(0x144bd000) = 0x144bd000
24514 11:03:40 brk(0x144df000) = 0x144df000
24514 11:03:40 brk(0x14501000) = 0x14501000
24514 11:03:40 access("/u01/app/oracle/product/10.2.0/crs_1/log/crfdb1/ ", F_OK) = -1 ENOENT (No such file or directory)
24514 11:03:40 access("/u01/app/oracle/product/10.2.0/crs_1/log/crfdb1/client/clsc.ini", F_OK) = -1 ENOENT (No such file or directory)
24514 11:03:40 access("/u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora", F_OK) = -1 ENOENT (No such file or directory)
24514 11:03:40 access("/u01/app/oracle/product/10.2.0/crs_1/network/admin/sqlnet.ora", F_OK) = -1 ENOENT (No such file or directory)
24514 11:03:40 getrlimit(RLIMIT_NOFILE, {rlim_cur=64*1024, rlim_max=64*1024}) = 0
24514 11:03:40 brk(0x14524000) = 0x14524000
24514 11:03:40 brk(0x1455f000) = 0x1455f000
24514 11:03:40 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
24514 11:03:40 bind(3, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
24514 11:03:40 getsockname(3, {sa_family=AF_INET, sin_port=htons(40770), sin_addr=inet_addr("127.0.0.1")}, [47888885350416]) = 0
24514 11:03:40 getpeername(3, 0x7fff22c6786c, [47888885350416]) = -1 ENOTCONN (Transport endpoint is not connected)
24514 11:03:40 getsockopt(3, SOL_SOCKET, SO_SNDBUF, [262144], [4]) = 0
24514 11:03:40 getsockopt(3, SOL_SOCKET, SO_RCVBUF, [1048576], [4]) = 0
24514 11:03:40 fcntl(3, F_SETFD, FD_CLOEXEC) = 0
24514 11:03:40 fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
24514 11:03:40 times(NULL) = 1869111068
24514 11:03:40 gettimeofday({1404875020, 996993}, NULL) = 0
24514 11:03:40 access("/var/tmp/.oracle", F_OK) = 0
24514 11:03:40 chmod("/var/tmp/.oracle", 01777) = -1 EPERM (Operation not permitted)
24514 11:03:40 socket(PF_FILE, SOCK_STREAM, 0) = 4
24514 11:03:40 chmod(0x2, 0777) = -1 EFAULT (Bad address)
24514 11:03:40 access("/var/tmp/.oracle/sCRSD_UI_SOCKET", F_OK) = 0
24514 11:03:40 connect(4, {sa_family=AF_FILE, path="/var/tmp/.oracle/sCRSD_UI_SOCKET"...}, 110) = 0
24514 11:03:40 fcntl(4, F_SETFD, FD_CLOEXEC) = 0
24514 11:03:40 rt_sigaction(SIGPIPE, {0x1, ~[ILL ABRT BUS FPE SEGV USR2 XCPU XFSZ SYS RTMIN RT_1], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x38ee80e7c0}, {0x1, ~[ILL ABRT BUS FPE KILL SEGV USR2 STOP XCPU XFSZ SYS RTMIN RT_1], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x38ee80e7c0}, 8) = 0
24514 11:03:40 gettimeofday({1404875020, 997832}, NULL) = 0
24514 11:03:40 gettimeofday({1404875020, 997904}, NULL) = 0
24514 11:03:40 fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
24514 11:03:40 write(4, "0\0\0\0\1\0\1\0\1\0\1\0\1\0\0\0\0\0\0\0\1\0\0\0\30\267\23Z\0\0\0\0"..., 48) = 48
24514 11:03:40 gettimeofday({1404875020, 998155}, NULL) = 0
24514 11:03:40 times(NULL) = 1869111068
24514 11:03:40 poll([{fd=3, events=POLLIN|POLLRDNORM}, {fd=4, events=POLLIN|POLLOUT|POLLRDNORM}], 2, -1) = 1 ([{fd=4, revents=POLLIN|POLLOUT|POLLRDNORM}])
24514 11:03:40 times(NULL) = 1869111068
24514 11:03:40 times(NULL) = 1869111068
24514 11:03:40 read(4, "0\0\0\0\1\0\1\0\1\0\1\0\1\0\0\0\0\0\0\0\1\0\0\0\30\267\23Z\0\0\0\0"..., 32768) = 168
24514 11:03:40 gettimeofday({1404875020, 998625}, NULL) = 0
24514 11:03:40 times(NULL) = 1869111068
24514 11:03:40 times(NULL) = 1869111068
24514 11:03:40 write(4, "4\0\0\0\1\0\2\0\1\1\1\1\2\0\0\0\0\0\0\0\1\0\0\0\30\267\23Z\0\0\0\0"..., 52) = 52
24514 11:03:41 times(NULL) = 1869111068
24514 11:03:41 open("/u01/app/oracle/product/10.2.0/crs_1/crs/auth/A0660125/95bf1f61", O_WRONLY|O_CREAT|O_EXCL, 0644) = 5
24514 11:03:41 fchmod(5, 0644) = 0
24514 11:03:41 write(5, "4j\335\236", 4) = 4
24514 11:03:41 close(5) = 0
24514 11:03:41 write(4, "4\0\0\0\2\0\2\0\1\1\1\1\3\0\0\0\0\0\0\0\1\0\0\0\30\267\23Z\0\0\0\0"..., 52) = 52
24514 11:03:41 write(4, "8\0\0\0\3\0\2\0\1\1\1\1\4\0\0\0\0\0\0\0\1\0\0\0\30\267\23Z\0\0\0\0"..., 56) = 56
24514 11:03:41 times(NULL) = 1869111068
24514 11:03:41 gettimeofday({1404875021, 1250}, NULL) = 0
24514 11:03:41 times(NULL) = 1869111068
24514 11:03:41 poll([{fd=3, events=POLLIN|POLLRDNORM}, {fd=4, events=POLLIN|POLLRDNORM}], 2, -1) = 1 ([{fd=4, revents=POLLIN|POLLRDNORM}])
24514 11:03:41 times(NULL) = 1869111068
24514 11:03:41 times(NULL) = 1869111068
24514 11:03:41 read(4, "8\0\0\0\3\0\2\0\1\1\1\1\3\0\0\0\0\0\0\0\1\0\0\0\30\267\23Z\0\0\0\0"..., 32768) = 56
24514 11:03:41 write(4, "9\1\0\0PC\0\0\t\2\2\0\5\0\0\0\0\0\0\0\1\0\0\0\30\267\23Z\0\0\0\0"..., 313) = 313
24514 11:03:41 gettimeofday({1404875021, 1847}, NULL) = 0
24514 11:03:41 times(NULL) = 1869111068
24514 11:03:41 poll([{fd=3, events=POLLIN|POLLRDNORM}, {fd=4, events=POLLIN|POLLRDNORM}], 2, -1) = 1 ([{fd=4, revents=POLLIN|POLLRDNORM}])
24514 11:03:41 times(NULL) = 1869111069
24514 11:03:41 times(NULL) = 1869111069
24514 11:03:41 read(4, "y\3\0\0PC\0\0\t\2\2\0\4\0\0\0\0\0\0\0\1\0\0\0\30\267\23Z\0\0\0\0"..., 32768) = 937
24514 11:03:41 gettimeofday({1404875021, 7550}, NULL) = 0
24514 11:03:41 times(NULL) = 1869111069
24514 11:03:41 times(NULL) = 1869111069
24514 11:03:41 times(NULL) = 1869111069
24514 11:03:41 fcntl(4, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
24514 11:03:41 fcntl(4, F_SETFL, O_RDWR) = 0
24514 11:03:41 close(4) = 0
24514 11:03:41 close(3) = 0
24514 11:03:41 write(1, "CRS appears healthy\n", 20) = 20
24514 11:03:41 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
24514 11:03:41 bind(3, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
24514 11:03:41 getsockname(3, {sa_family=AF_INET, sin_port=htons(29108), sin_addr=inet_addr("127.0.0.1")}, [47888885350416]) = 0
24514 11:03:41 getpeername(3, 0x7fff22c6918c, [47888885350416]) = -1 ENOTCONN (Transport endpoint is not connected)
24514 11:03:41 getsockopt(3, SOL_SOCKET, SO_SNDBUF, [262144], [4]) = 0
24514 11:03:41 getsockopt(3, SOL_SOCKET, SO_RCVBUF, [1048576], [4]) = 0
24514 11:03:41 fcntl(3, F_SETFD, FD_CLOEXEC) = 0
24514 11:03:41 fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
24514 11:03:41 geteuid() = 500
24514 11:03:41 times(NULL) = 1869111069
24514 11:03:41 gettimeofday({1404875021, 9446}, NULL) = 0
24514 11:03:41 socket(PF_FILE, SOCK_STREAM, 0) = 4
24514 11:03:41 chmod(0x2, 0777) = -1 EFAULT (Bad address)
24514 11:03:41 access("/var/tmp/.oracle/sSYSTEM.evm.acceptor.auth", F_OK) = 0
24514 11:03:41 connect(4, {sa_family=AF_FILE, path="/var/tmp/.oracle/sSYSTEM.evm.acceptor.auth"...}, 110) = 0
24514 11:03:41 fcntl(4, F_SETFD, FD_CLOEXEC) = 0
24514 11:03:41 rt_sigaction(SIGPIPE, {0x1, ~[ILL ABRT BUS FPE SEGV USR2 XCPU XFSZ SYS RTMIN RT_1], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x38ee80e7c0}, {0x1, ~[ILL ABRT BUS FPE KILL SEGV USR2 STOP XCPU XFSZ SYS RTMIN RT_1], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x38ee80e7c0}, 8) = 0
24514 11:03:41 gettimeofday({1404875021, 10142}, NULL) = 0
24514 11:03:41 gettimeofday({1404875021, 10211}, NULL) = 0
24514 11:03:41 fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
24514 11:03:41 write(4, "0\0\0\0\1\0\1\0\1\0\1\0\1\0\0\0\0\0\0\0\1\0\0\0\"\267\23Z\0\0\0\0"..., 48) = 48
24514 11:03:41 gettimeofday({1404875021, 10453}, NULL) = 0
24514 11:03:41 times(NULL) = 1869111069
24514 11:03:41 poll([{fd=3, events=POLLIN|POLLRDNORM}, {fd=4, events=POLLIN|POLLOUT|POLLRDNORM}], 2, -1) = 1 ([{fd=4, revents=POLLOUT}])
24514 11:03:41 times(NULL) = 1869111069
24514 11:03:41 times(NULL) = 1869111069
24514 11:03:41 gettimeofday({1404875021, 10828}, NULL) = 0
24514 11:03:41 times(NULL) = 1869111070
24514 11:03:41 poll([{fd=3, events=POLLIN|POLLRDNORM}, {fd=4, events=POLLIN|POLLRDNORM}], 2, -1) = 1 ([{fd=4, revents=POLLIN|POLLRDNORM}])
24514 11:03:41 times(NULL) = 1869111070
24514 11:03:41 times(NULL) = 1869111070
24514 11:03:41 read(4, "0\0\0\0\1\0\1\0\1\0\1\0\1\0\0\0\0\0\0\0\1\0\0\0\"\267\23Z\0\0\0\0"..., 32768) = 48
24514 11:03:41 gettimeofday({1404875021, 11299}, NULL) = 0
24514 11:03:41 times(NULL) = 1869111070
24514 11:03:41 times(NULL) = 1869111070
24514 11:03:41 write(4, "4\0\0\0\1\0\2\0\1\1\1\1\2\0\0\0\0\0\0\0\1\0\0\0\"\267\23Z\0\0\0\0"..., 52) = 52
24514 11:03:41 times(NULL) = 1869111070
24514 11:03:41 gettimeofday({1404875021, 11657}, NULL) = 0
24514 11:03:41 times(NULL) = 1869111070
24514 11:03:41 poll([{fd=3, events=POLLIN|POLLRDNORM}, {fd=4, events=POLLIN|POLLRDNORM}], 2, -1) = -1 EINTR (Interrupted system call)
CAUSE:
24514 11:03:41 poll([{fd=3, events=POLLIN|POLLRDNORM}, {fd=4, events=POLLIN|POLLRDNORM}], 2, -1) = -1 是不是poll函数调用失败,检测不到socket信息?
处理方式:
是否killing evmd.bin process,然后进行crsctl check crs?
|
|