Sqluldr2 libclntsh.so报错处理

Sqluldr2 libclntsh.so报错处理

 

 

 

 

处理报错

[oracle@oracledg tmp]$ ./sqluldr2linux64.bin

./sqluldr2linux64.bin: error while loading shared libraries: libclntsh.so: cannot open shared object file: No such file or directory

 

 

[root@oracledg ~]# cp /u01/app/oracle/product/11.2.0.3/db_1/lib/libclntsh.so /usr/lib64/

 

 

 

 

 

导出语句

请注意最后一定得在对应目录下

 

[oracle@oracledg nod]$ ls -lh
total 4.0K
drwxr-xr-x 2 oracle oinstall 4.0K Jan 17 14:25 tmp

 

 

[oracle@oracledg tmp]$ ./sqluldr2linux64.bin sys/orcl query=sys.vm_info file=/nod/tmp/vm_info.txt
0 rows exported at 2019-01-17 14:24:14, size 0 MB.
696320 rows exported at 2019-01-17 14:24:16, size 50 MB.
output file /nod/tmp/vm_info.txt closed at 696320 rows, size 50 MB.
[oracle@oracledg tmp]$ ls
sqluldr2linux64.bin sys.vm_info_sqlldr.ctl vm_info.txt

 

 

###模拟创建100条语句

create table nod (id int)

begin
for i in 1 .. 100 loop
insert into nod (id) values (i);
end loop;
end;

 

posted on 2019-01-17 11:04  90500042陈  阅读(2620)  评论(0编辑  收藏  举报