原創(chuàng)作品,出自 “深藍的blog” 博客,歡迎轉(zhuǎn)載,轉(zhuǎn)載時請務(wù)必注明以下出處,否則追究版權(quán)法律責(zé)任。 深藍的blog:http://blog.csdn.net/huangyanlong/article/details/40456349 rac下/tmp/bootstrap權(quán)限問題 環(huán)境:CentOS5.6 64bit、linux.x64_11gR2_grid.z
原創(chuàng)作品,出自 “深藍的blog” 博客,歡迎轉(zhuǎn)載,轉(zhuǎn)載時請務(wù)必注明以下出處,否則追究版權(quán)法律責(zé)任。
深藍的blog:http://blog.csdn.net/huangyanlong/article/details/40456349
rac下/tmp/bootstrap權(quán)限問題
環(huán)境: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目錄無權(quán)限
2、解決
[grid@node1 grid]$ cd /tmp/
--到目錄下查看具體文件權(quán)限信息
[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賦權(quán)
補充:為避免其它應(yīng)用使用,權(quán)限改變?yōu)?77
[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"
......
......
......
......
......
......
已經(jīng)可以正常檢查grid安裝環(huán)境了
后續(xù):一個有些疑惑的問題,雖然解決了,但不知道為什么會遇到這個小問題。記下來便于以后查看吧。
原創(chuàng)作品,出自 “深藍的blog” 博客,歡迎轉(zhuǎn)載,轉(zhuǎn)載時請務(wù)必注明以下出處,否則追究版權(quán)法律責(zé)任。
深藍的blog:http://blog.csdn.net/huangyanlong/article/details/40456349
聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權(quán)等問題請及時與本網(wǎng)聯(lián)系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com