首页 > 代码库 > rac下/tmp/bootstrap权限问题
rac下/tmp/bootstrap权限问题
原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明以下出处,否则追究版权法律责任。
深蓝的blog:http://blog.csdn.net/huangyanlong/article/details/40456349
rac下/tmp/bootstrap权限问题
环境:CentOS5.6 64bit、linux.x64_11gR2_grid.zip
1、报错
[grid@node1 grid]$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -fixup -verbose
/bin/rm: cannot remove directory `/tmp/bootstrap‘: Operation not permitted
./runcluvfy.sh: line 99: /tmp/bootstrap/ouibootstrap.log: Permission denied
--无法进行校验,报错对bootstrap目录无权限
2、解决
[grid@node1 grid]$ cd /tmp/
--到目录下查看具体文件权限信息
[grid@node1 tmp]$ ls
bootstrap mapping-root scim-socket-frontend-root
CVU_11.2.0.1.0_grid orbit-root ssh-smaAZS3757
gconfd-root scim-helper-manager-socket-root virtual-root.tcSh8x
keyring-Iz5Y7v scim-panel-socket:0-root
[grid@node1 tmp]$ ls -ll
total 32
drwxr-xr-x 2 root root 4096 Oct 25 15:50 bootstrap
drwxr-xr-x 3 grid oinstall 4096 Oct 25 15:20 CVU_11.2.0.1.0_grid
drwx------ 3 root root 4096 Oct 25 15:40 gconfd-root
drwx------ 2 root root 4096 Oct 25 15:40 keyring-Iz5Y7v
srwxr-xr-x 1 root root 0 Oct 25 15:41 mapping-root
drwx------ 2 root root 4096 Oct 25 15:42 orbit-root
srw------- 1 root root 0 Oct 25 15:41 scim-helper-manager-socket-root
srw------- 1 root root 0 Oct 25 15:41 scim-panel-socket:0-root
srw------- 1 root root 0 Oct 25 15:40 scim-socket-frontend-root
drwx------ 2 root root 4096 Oct 25 15:40 ssh-smaAZS3757
drwx------ 2 root root 4096 Oct 25 15:41 virtual-root.tcSh8x
[root@node1 ~]# chown -R grid:oinstall /tmp/bootstrap
--为grid赋权
补充:为避免其它应用使用,权限改变为777
[root@node1 ~]# chmod -R 777 /tmp/bootstrap
补充完毕
[root@node1 ~]# su - grid
[grid@node1 ~]$ cd /soft/grid
[grid@node1 grid]$ ls
doc response runcluvfy.sh sshsetup welcome.html
install rpm runInstaller stage
[grid@node1 grid]$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -fixup -verbose
[LOCAL] : SEND[0]: window-change (rows: 36, cols: 80)
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "node1"
Destination Node Reachable?
------------------------------------ ------------------------
node1 yes
node2 yes
Result: Node reachability check passed from node "node1"
......
......
......
......
......
......
已经可以正常检查grid安装环境了
后续:一个有些疑惑的问题,虽然解决了,但不知道为什么会遇到这个小问题。记下来便于以后查看吧。
原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明以下出处,否则追究版权法律责任。
深蓝的blog:http://blog.csdn.net/huangyanlong/article/details/40456349
rac下/tmp/bootstrap权限问题