linux中执行dbca提示command not found,由于oracle软件是安装成功,则检查oracle用户的环境变量文件.bash_profile ,发现环境变量没有修改,修改后,dbca能调出界面。具体如下:
[oracle@stxrhel7 ~]$ dbca
bash: dbca: command not found...
[oracle@stxrhel7 ~]$ xclock
Warning: Missing charsets in String to FontSet conversion
[oracle@stxrhel7 ~]$ 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
[oracle@stxrhel7 ~]$ cp .bash_profile .bash_profilebak20220208
[oracle@stxrhel7 ~]$ vi .bash_profile
[oracle@stxrhel7 ~]$ source .bash_profile
[oracle@stxrhel7 ~]$ dbca
^C[oracle@stxrhel7 ~]$
[oracle@stxrhel7 ~]$ cat .bash_profile
# .bash_profile
# Get the aliases and functions
if