centos 6.3 装oracle 11g 出现:OUI-10182:The effective user ID does not match the owner of the file

OUI-10182:The 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

第1个回答  2012-12-27
错误是用户权限问题
1.确保安装的ORACLE_BASE目录是属于oinstall组。2.用root帐户在/etc下建立oraInst.loc,并写入以下内容:inventory_loc=/app/oraInventoryinst_group=oinstall3.重新执行安装程序。另外:当在安装检测参数是,出现libgcc-3.4.4等包错误是,可以忽略
另外建议调整下内核参数:
修改 /etc/sysctl.conf 文件,加上如下参数
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
应用配置
# /sbin/sysctl -p
修改用户限制
修改 /etc/security/limits.conf 文件,加上下面的参数
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536追问

我看了这个链接地址的文章,http://www.cnblogs.com/mchina/archive/2012/11/06/2737472.html,最后出现了这个问题。刚学linux,老多地方都不懂。朋友你有centos 下装oracle的详细方法吗?我百度了很多文章试着去一步一步做,但是还是装不上。

追答

1.确保安装的ORACLE_BASE目录是属于oinstall组。
2.用root帐户在/etc下建立oraInst.loc,并写入以下内容:
inventory_loc=/app/oraInventory
inst_group=oinstall
3.重新执行安装程序。
另外:当在安装检测参数是,出现libgcc-3.4.4等包错误是,可以忽略
这三步做了吗?出的错误提示有没有变化?
另外,你给的参考文档我看了,重点检查第3、4步

追问

这个问题解决了。但是有又出现了这个问题,你知道怎么解决吗?

追答

"调用目标install(在makefile /exprot/home/oracel/orant/cts/lib/ins_ctx.mk)出错"
在oracle用户下执行make,如果找不到,把它加到路径里。
安装时ignore可以,结束后到$ORACLE_HOME/bin下,
用oracle用户运行(先确认make可以执行):
relink all
然后再建库(安装时别建库)

追问

朋友:我用oracle用户已经创建了这个路径的文件夹怎么还是包这个错误啊?晕死了,装一个oracle这么麻烦!

追答

1. 注意下斜杠和范斜杠,/ \
2. 检查下目录权限

本回答被提问者采纳
第2个回答  2012-12-27
权限不够,可以试下这样
chown -R oracle.oinstall /path
chmod -R 775 /path追问

path具体指什么啊?是安装路径吗?菜鸟不懂!呵呵

相似回答