DMDB -- 在通过 Ansible 执行 disql 时报错 error while loading shared libraries: libdisql_dll.so

错误:

error while loading shared libraries: libdisql_dll.so: cannot open shared object file: No such file or directory"

脚本:

/opt/dmdbms/bin/disql SYSDBA/SYSDBA@$1:5236 \`/fileTmp/user.sql

错误提示是找不到 /opt/dmdbms/bin 目录下的 libdisql_dll.so 文件(与 disql 同目录)

解决方法:

cd /opt/dmdbms/bin
/opt/dmdbms/bin/disql SYSDBA/SYSDBA@$1:5236 \`/fileTmp/user.sql
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章