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条回答
默认
最新
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
墨值悬赏


评论
