如何修复与环境变量相关的这些错误?

时间:2017-10-17 00:59:55

标签: oracle postgresql ora2pg

我正在尝试将oracle数据库迁移到postgresql,我运行ora2pg命令并且我收到这些错误:

root@ubuntu:~# ora2pg

DBI connect('host=localhost;sid=XE;port=1521','HR',...) 
failed: ERROR OCIEnvNlsCreate. Check ORACLE_HOME (Linux) env var or PATH (Windows) 
and or NLS settings, permissions, etc. at /usr/local/share/perl/5.24.1/Ora2Pg.pm 
line 1491.
FATAL: -1 ... ERROR OCIEnvNlsCreate. Check ORACLE_HOME (Linux) env var or PATH 
(Windows) and or NLS settings, permissions, etc.
Aborting export...

这一步对于开始迁移数据库非常重要,因为我知道我配置了ORACLE_HOME变量LD_LIBRARY_PATH

0 个答案:

没有答案