我在AS4下安装ORACLE一切正常 装完后 将.bash_profile文件中的ORACLE_HOME进行设置。推出后用命令evn|grep ORA
查看 ,但文件没执行。后运行 source .bash_profile有如下错误提示:
[oracle@localhost ~]$ source .bash_profile
bash: id: command not found
bash: id: command not found
bash: id: command not found
bash: [: too many arguments
bash: dircolors: command not found
bash: grep: command not found
bash: grep: command not found
bash: id: command not found
bash: [: =: unary operator expected
bash: : command not found
bash: /OD/oracle/oracle/product/10.2.0/db_1/bin: 没有那个文件或目录
请各位给我看看 是怎么回事
还有 .bash_profile文件配置如下
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH
HOME/bin
export PATH
unset USERNAME
ORACLE_BASE=/OD/oracle
ORACLE_SID=laester
export ORACLE_BASE ORACLE_SID
ORACLE_HOME=/OD/oracle/oracle/product/10.2.0/db_1
PATH=/OD/oracle/oracle/product/10.2.0/db_1/bin ;$PATH
export ORACLE_HOME PATH
unset TNS_ADMIN
各位高手请帮帮忙吧
现在这个文件不能生效。oracle就不能正常运行啊
--------------------next---------------------