[求助]关于DB2的load
本帖最后由 kenshinsee 于 2011-11-19 20:29 编辑大家好,我碰到一个DB2 无法load 一个文件到表中,用户是有load权限的,且换一个平面文件即可正常load,但就是用户本身export的无法load,import是可以正常执行的。$ db2 "load from /home/hong/test.del of del insert into test"
SQL3501WThe table space(s) in which the table resides will not be placed in
backup pending state since forward recovery is disabled for the database.
SQL3109NThe utility is beginning to load data from file
"/home/hong/test.del".
SQL2036NThe path for the file or device "/home/hong/test.del" is not valid.
SQL3107WThere is at least one warning message in the message file.
Number of rows read = 0
Number of rows skipped = 0
Number of rows loaded = 0
Number of rows rejected = 0
Number of rows deleted = 0
Number of rows committed = 0
$ 我觉得可能是平面文件权限的问题,但我给了777还是不行,大家帮忙看一下吧,谢谢了! 用load client 回复 2# shenzhenzsf
你好,我是在SERVER上运行的,而且load和load client都试过,都不行。但我用这个load是可以导入db2inst1这个用户export的文件的,所以我觉得会不会是文件的owner或者owner group的问题? 找到原因了。。。DB2没有访问我导出文件所在文件夹的权限。。。anyway, thanks for your prompt response !
页:
[1]