- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
4#
发表于 2013-1-10 10:19:22
FYI
[root@dm01db02 bin]# strace -o crs.log ./crsctl disable crs
CRS-4621: Oracle High Availability Services autostart is disabled.
[root@dm01db02 bin]# grep open crs.log|grep -v so|grep -v msb
open("/dev/tty", O_RDWR|O_NONBLOCK) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
open("/proc/meminfo", O_RDONLY) = 3
open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3
open("./crsctl", O_RDONLY) = 3
open("/u01/app/11.2.0.3/grid/nls/data/lx1boot.nlb", O_RDONLY) = 3
open("/u01/app/11.2.0.3/grid/nls/data/lx00001.nlb", O_RDONLY) = 3
open("/u01/app/11.2.0.3/grid/nls/data/lx20001.nlb", O_RDONLY) = 3
open("/u01/app/11.2.0.3/grid/nls/data/lx10001.nlb", O_RDONLY) = 3
open("/u01/app/11.2.0.3/grid/nls/data/lx40011.nlb", O_RDONLY) = 3
open("/etc/nsswitch.conf", O_RDONLY) = 3
open("/etc/passwd", O_RDONLY) = 3
open("/etc/group", O_RDONLY) = 3
open("/u01/app/11.2.0.3/grid/network/admin/sqlnet.ora", O_RDONLY) = 3
open("/u01/app/11.2.0.3/grid/network/admin/sqlnet.ora", O_RDONLY) = 3
open("/etc/oracle/olr.loc", O_RDONLY) = 3
open("/etc/oracle/ocr.loc", O_RDONLY) = 3
open("/etc/oracle/scls_scr/dm01db02/root/ohasdstr", O_RDONLY) = 3
open("/etc/oracle/scls_scr/dm01db02/root/ohasdstr", O_WRONLY|O_TRUNC) = 3
[root@dm01db02 scls_scr]# cd dm01db02/
[root@dm01db02 dm01db02]# ls
grid root
[root@dm01db02 dm01db02]# ls -lR *
grid:
total 4
-rw-r--r-- 1 grid root 8 Sep 7 06:14 cssfatal
root:
total 12
-rw-r--r-- 1 root root 7 Sep 7 06:14 crsstart
-rw-r--r-- 1 root oinstall 8 Sep 7 22:10 ohasdrun
-rw-r--r-- 1 root oinstall 8 Jan 9 21:07 ohasdstr
[root@dm01db02 dm01db02]# cd root/
[root@dm01db02 root]# cat ohasdstr
disable
[root@dm01db02 root]# cat crsstart
enable
[root@dm01db02 root]# cat ohasdrun
restart
[root@dm01db02 root]# /u01/app/11.2.0.3/grid/bin/crsctl enable has
CRS-4622: Oracle High Availability Services autostart is enabled.
[root@dm01db02 root]#
[root@dm01db02 root]# cat ohasdstr
enable
|
|