暂无图片
分享
董小姐
暂无图片
2020-07-23
部署19c RAC安装数据库时报错ERROR: Unable to run the setup script as user (oracle).

问题描述:安装19cRAC ,GI安装后在安装数据库是提示报错

[oracle@ora19c01 dbhome]$ unzip /opt/LINUX.X64_193000_db_home.zip -d /u01/app/oracle/product/19.3.0/dbhome
[oracle@ora19c01 dbhome]$ ./runInstaller 
ERROR: Unable to run the setup script as user (oracle). Run the setup script from a location where the Oracle Database software image is owned by user (oracle).

问题步骤:
1、查看环境变量

[oracle@ora19c01 ~]$ cat .bash_profile 
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin

export PATH
export PATH
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/19.3.0/dbhome
export ORACLE_SID=htz1
export PATH=$ORACLE_HOME/bin:$PATH
export TNS_ADMIN=$ORACLE_HOME/network/admin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:/lib/usr/lib:/usr/local/lib
export TEMP=/tmp
export TMP=/tmp
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export NLS_OS_CHARSET=ZHS16GBK
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
set -o vi
stty erase ^h
if [ -t 0 ]; then
   stty intr ^C
fi
umask 022

2、查看oracle用户

[oracle@ora19c01 ~]$ id oracle
uid=601(oracle) gid=600(oinstall) groups=600(oinstall),601(dba),602(asmdba),604(oper),605(backupdba),606(dgdba),607(kmdba),608(racdba)

未分析到原因需要指导,谢谢!

收藏
分享
1条回答
默认
最新
董小姐
暂无图片
问题已关闭: 问题已经得到解决
暂无图片 评论
暂无图片 有用 1
杨露瑶
2022-03-15
麻烦问一下是怎么解决的
Donnieyen
2022-10-05
咋解决的啊?分享一下
Donnieyen
2022-10-05
19c Installation fails with "ERROR: Unable to run the setup script as user (oracle)" (Doc ID 2767711.1) In this Document Symptoms Cause Solution APPLIES TO: Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later Information in this document applies to any platform. SYMPTOMS 19c runInstaller failed with below errors $./runInstaller ERROR: Unable to run the setup script as user (oracle). Run the setup script from a location where the Oracle Database software image is owned by user (oracle). Note: Here the Database Installation user is 'oracle'. CAUSE Though oracle user is granted with 775 permissions (rwx-rwx-),$ORACLE_BASE directory is still owned by some other user like 'orauser' $ls -la runIn* -rwxr-x--- 1 oracle oinstall 1783 Mar 08 2017 runInstaller $ls -ld $ORACLE_BASE drwxr-xr-x 8 orauser oinstall 4096 Jun 14 2019 /u01/app/oracle SOLUTION a)Change ownership of oracle base and underlying directories to Database Installation user 'oracle' as below chown -R oracle:oinstall /u01/app/oracle/ b)Re-run Installer ./runInstaller
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏