日期:2014-05-16  浏览次数:20667 次

在linux5安装完oralce 10执行 ./netca提示如下信息
RACLE_HOME environment variable not set!
  ORACLE_HOME should be set to the main
  directory that contains Oracle products.
  Set and export ORACLE_HOME, then re-run.




------解决方案--------------------
在.profile或.bash_profile中设置oracle的环境变量,如: 
export ORACLE_BASE=/u01/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0

------解决方案--------------------
安装完后,请用oracle用户登录linux,其它用户未有环境变量(如:root等是不行的)
------解决方案--------------------
探讨
RACLE_HOME environment variable not set!
ORACLE_HOME should be set to the main
directory that contains Oracle products.
Set and export ORACLE_HOME, then re-run.

------解决方案--------------------
首先,安装文档上难道没让你设 环境变量吗?
其次,设环境变量以后,直接oracle用户下执行 netca就行,而不是./netca
------解决方案--------------------
錯誤提示清楚又明白,樓主照著做就行了。