环境:
REDHAT 5.3 64BIT
ORACLE11G
RAM 2G
在安装到最后执行root.sh脚本的时候遇到以下错误:
./root.sh: line 4: /oracle/app/oracle/product/11.2.0/grid/install/unix/rootadd.sh: Permission denied
./root.sh: line 9: /oracle/app/oracle/product/11.2.0/grid/network/install/sqlnet/setowner.sh: Permission denied
./root.sh: line 14: /oracle/app/oracle/product/11.2.0/grid/rdbms/install/rootadd_rdbms.sh: Permission denied
./root.sh: line 16: /oracle/app/oracle/product/11.2.0/grid/rdbms/install/rootadd_filemap.sh: Permission denied
经检查发现以上的四个sh脚本都没有+x权限,
于是给四个文件都赋给执行权限后重新执行OK.
chmod +x /oracle/app/oracle/product/11.2.0/grid/network/install/sqlnet/setowner.sh
[root@localhost grid]# chmod +x /oracle/app/oracle/product/11.2.0/grid/rdbms/install/rootadd_rdbms.sh
[root@localhost grid]# chmod +x /oracle/app/oracle/product/11.2.0/grid/rdbms/install/rootadd_filemap.sh[@more@]
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10130206/viewspace-1036894/,如需转载,请注明出处,否则将追究法律责任。