Page 1 of 1

error while loading db2

Posted: Sun May 20, 2018 7:44 am
by raji33
Hello,

We have a error while doing bulk load to db2 table.
Any suggestions please.

Error 2 occured from mkfifo while creating named pipe.
same job is working fine in other project.

Job Design

Dataset-------db2udb

i checked the space and also looked at permissions everthing looks good. i tried creating and deleting a pipe manually in that location and i can. Not sure what i am missing here.


Thanks

Posted: Sun May 20, 2018 10:09 pm
by ray.wurlod
Are you able to verify the pathname of the directory in which mkfifo was attempting to create the named pipe file? And whether the executing process (that is, the user specified in Engine Credentials) has read, write and execute permission there?

Re: error while loading db2

Posted: Mon May 21, 2018 4:20 am
by raji33
Yes. i checked the path and it exists. The user has all the required permissions. If i point the location somewhere else , the job run successfully.

Posted: Mon May 21, 2018 4:49 am
by qt_ky
If you open the job with the error in Director and go to the log and double click a log entry and look at the value in the User field, is it the same user account you were expecting to find there? In some setups the users are mapped to other accounts.

Posted: Mon May 28, 2018 4:09 pm
by raji33
yes its the same user.

Re: error while loading db2

Posted: Mon May 28, 2018 5:52 pm
by chulett
raji33 wrote:The user has all the required permissions. If i point the location somewhere else , the job run successfully.
Those two statements seem a bit contradictory to me.

Posted: Tue May 29, 2018 8:40 am
by PaulVL
And what path would that be that the named pipe is using?

I believe it would be using whatever is defined in the TMPDIR project variable.

Are you sure that your APT file which may be using other hosts has a proper path and permission for all of the potential hosts?

Posted: Wed May 30, 2018 12:12 pm
by raji33
we are writing the named pipe files to scratch location as we have more space there.