问题描述
安装11g rac,运行root.sh报错如下:
ksh: : Cannot access parent directories. Run root.sh from a directory that has read/execute access to the grid owner ‘grid'
专家解答
查看rootcrs_rac1.log
2014-03-15 20:00:06: Running as user grid: pwd 2014-03-15 20:00:06: s_run_as_user2: Running /bin/su grid -c ' pwd ' 2014-03-15 20:00:06: Removing file /tmp/aaaXpboya 2014-03-15 20:00:06: Successfully removed file: /tmp/aaaXpboya 2014-03-15 20:00:06: /bin/su exited with rc=1 2014-03-15 20:00:06: Failed to get current working directory 11.2 Grid Infrastructure root.sh Failed with "error retrieving current directory" (文档 ID 1114203.1)
搜索mos,文档显示需要进入$ORACLE_HOME目录下执行
root@hxcrmdb2[/opt/ORCLcluster] # cd /oracle/grid/app/product/11.2.0/gi/ root@hxcrmdb2[/oracle/grid/app/product/11.2.0/gi] # root@hxcrmdb2[/oracle/grid/app/product/11.2.0/gi] # sh root.sh
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。