我正在将Oracle上的数据库从Linux导出到Windows。
我已经尝试过Stack Overflow上的所有答案。
使用exp时,我会收到:
Message 206 not found; No message file for product=RDBMS, facility=EXP
Copyright (c) 1982, 2009, Oracl
Invalid format of Export utility name
Verify that ORACLE_HOME is properly set
Export terminated unsuccessfully
EXP-00000: Message 0 not found; No message file for product=RDBMS, facility=EXP
我已导出ORACLE_HOME,ORACLE_SID和PATH:
export ORACLE_HOME=u01/app/oracle/product/11.2.0/xe
export ORACLE_SID=xe
export PATH=$PATH:$ORACLE_HOME
我也尝试过使用expdp,这给了我这个错误:
UDE-00013: Message 13 not found; No message file for product=RDBMS, facility=UDE
UDE-00019: You may need to set ORACLE_HOME to your Oracle software directory
我现在真的很难找到答案。
感谢您提前提供任何帮助。
编辑: Oracle_env.sh
答案 0 :(得分:0)
您的ORACLE_HOME
路径错误,错过了初始/
。这意味着他的Oracle工具无法看到他们需要的文件,因此您看到的错误。您对PATH
的修改也应该在该家中添加bin
目录:
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
export ORACLE_SID=xe
export PATH=$PATH:$ORACLE_HOME/bin
如果将这些命令放入文件中,则必须获取文件,以使更改适用于当前会话。您也可以直接在shell配置文件脚本中设置它们(例如~/.bash_profile
),将这三行复制到该文件中 - 然后将自动设置它们以供将来登录。
Oracle provide a file to set up the environmet,所以不要自己设置,而是可以:
. /u01/app/oracle/product/11.2.0/xe/oracle_env.sh
每次登录时手动,或者通过将该行添加到shell配置文件脚本中更有用。