Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "libclntsh.so: cannot open shared object file: No such file or directory". #673

Open
basketballboy opened this issue Jul 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@basketballboy
Copy link

2024-07-04 17:37:21 [JobThread.run-130]
----------- datax-web job execute start -----------
----------- Param:
2024-07-04 17:37:21 [ScriptJobHandler.execute-82] ----------- script file:/u01/datax/datax-web-2.1.2/modules/datax-executor/bin/../data/applogs/executor/jobhandler/gluesource/157298_1720085839000.py -----------
2024-07-04 17:37:21 [ScriptUtil.execToFile-81] ------------------Process id: 87901
2024-07-04 17:37:21 [ProcessCallbackThread.callbackLog-186]
----------- datax-web job callback finish.
Traceback (most recent call last):
File "/u01/datax/datax-web-2.1.2/modules/datax-executor/bin/../data/applogs/executor/jobhandler/gluesource/157298_1720085839000.py", line 12, in
connection = cx_Oracle.connect(**oracle_config)
cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "libclntsh.so: cannot open shared object file: No such file or directory". See https://cx-oracle.readthedocs.io/en/latest/user_guide/installation.html for help
2024-07-04 17:37:21 [JobThread.run-165]
----------- datax-web job execute end(finish) -----------
----------- ReturnT:ReturnT [code=500, msg=script exit value(1) is failed, content=null]
2024-07-04 17:37:21 [TriggerCallbackThread.callbackLog-186]
----------- datax-web job callback finish.

@basketballboy basketballboy added the bug Something isn't working label Jul 4, 2024
@devbiu
Copy link

devbiu commented Jul 11, 2024

在datax启动路径前面 有一个 /u01 应该是直接复制路径导致最前面有一个隐藏字符
建议在配置文件中删除datax路径(可以删除整行, 因为有一个不可见字符)然后手动输入 datax路径, 例如: /datax/datax-web-2.1.2/modules/datax-executor/bin/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants