红联Linux门户
Linux帮助

ubuntu10.04下安装oracle11g,报OUI-10182

发布时间:2011-06-04 03:23:05来源:红联作者:cy_tong
ubuntu10.04下装oracle11g,一切准备就绪;
oracle用户下 已经启动runInstaller,到最后summary后点finish按钮开始安装时,报:
OUI-10182 - Th e effective user ID does not match the owner of the file, or the process is not the super-user, the system indicates that super-user privilege is required
怎么解决呢?

用户:oracle,组:oinstall,dba
#useradd -g oinstall -G dba -d /home/oracle -s /bin/bash oracle
...
#mkdir /home/oracle
#chown -R oracle:dba /home/oracle
...
# mkdir -p /u01/app/oracle
# chown -R oracle:dba /u01

环境变量为:
#oracle environment
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:$PATH
export EDITOR=/usr/bin/vi

详细配置见:http://www.pythian.com/news/13291/installing-oracle-11gr2-enterprise-edition-on-ubuntu-10-04-lucid-lynx/

u01/app/oracle/product/11.2.0/dbhome_1目录均属dba组,属主为oracle;
u01/app/oraInventory目录属root组,属主为root;

我怀疑是以上这些目录属主和属组不正确造成的,但不知道怎么设置好
文章评论

共有 0 条评论