首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux下 sqlplus命令无效,如何解决

2012-05-06 
linux下 sqlplus命令无效,怎么解决提示:[oracle@localhost /]$ sqlplusbash: sqlplus: command not found

linux下 sqlplus命令无效,怎么解决
提示:
[oracle@localhost /]$ sqlplus
bash: sqlplus: command not found

我的provile设置:

.bah_profile:
# .bash_profile

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

# User specific environment and startup programs

PATH=$HOME/bin:$ORACLE_HOME/bin:$PATH

export PATH

ORACLE_HOME=/u01/app/oracle/db_1; export ORACLE_HOME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_SID=demo1; export ORACLE_SID


[解决办法]
PATH=语句放在ORACLE_HOME=的后面,再export

热点排行