Chinaunix首页 | 论坛 | 博客
  • 博客访问: 707881
  • 博文数量: 759
  • 博客积分: 7000
  • 博客等级: 少将
  • 技术积分: 4775
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-22 15:16
文章分类

全部博文(759)

文章存档

2008年(759)

我的朋友

分类:

2008-09-25 15:56:10

我在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=$PATHHOME/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---------------------

阅读(662) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~