If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Error during db2load with dumpfile

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-05-07, 12:17
diwakar123 diwakar123 is offline
Registered User
 
Join Date: Jan 2007
Posts: 33
Error during db2load with dumpfile

Hi,

I am using db2 udb v8.2 on linux.
I am trying to use dumpfile with path. It works fine in windows, but when use in linux it fails with following error:

load client from "/home/db2inst3/db2load/inputfile/ivrdata.del" of del modified by coldel| dumpfile="/home/db2inst3/db2load/log/a.dmp" dateformat="YYYYMMDD" timeformat="HHMM" USEDEFAULTS savecount 50 messages "/home/db2inst3/db2load/mesg.db2load" replace into schema.case_ivr(col1,col2) FOR EXCEPTION schema.CASE_EXCP NONRECOVERABLE indexing mode autoselect
SQL2036N The path for the file or device
"/home/db2inst3/db2load/log/a.dmp.load.000" is not valid.

but when I used dumpfile="/tmp/a.dmp" it worked, but I cannot see the a.dmp in /tmp folder...

I read some article and it says permission issue. I tried to chmod 777 to the log folder, but same errors.

Any idea why I am getting this issue.

Thanks
Diwakar
Reply With Quote
  #2 (permalink)  
Old 04-05-07, 13:02
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Look for /tmp/a.dmp.000

To confirm the path is 'write'able, as instance owner :
touch /home/db2inst3/db2load/log/test

May be one of the parent directories do have have execute permission for the instance owner

HTH

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 04-05-07, 14:44
diwakar123 diwakar123 is offline
Registered User
 
Join Date: Jan 2007
Posts: 33
Sathya,

I have verified it. I can see
-rw-rw-rw- 1 db2inst3 db2grp1 0 Apr 5 13:22 a.dmp.load.000

but it does not write the rejected rows to this file.....

I also verified the directory. Here is the o/p:

[db2inst3@bosidb2 db2inst3]$ touch /home/db2inst3/db2load/log/test
[db2inst3@bosidb2 db2inst3]$

Still it does not work.
Thanks
Diwakar
Reply With Quote
  #4 (permalink)  
Old 04-10-07, 05:44
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Your notify log and diag log may give more information.
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #5 (permalink)  
Old 04-16-07, 14:22
diwakar123 diwakar123 is offline
Registered User
 
Join Date: Jan 2007
Posts: 33
I have checked notify and db2diag log, but I did not find any entry..

Any idea why I am not able to see the file.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On