Unable to determine current working directory!

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
sekaran12
Participant
Posts: 20
Joined: Tue Sep 26, 2006 7:08 am
Location: Chennai

Unable to determine current working directory!

Post by sekaran12 »

Hi All ,

I got below error in prod environment.

buffer(30),4: Internal Error: (0):util/pathutils.C: 349: Unable to determine current working directory! This very likely due to a problem with file permissions on the directory or directories above this point. The error was Interrupted system call
Traceback: msgAssertion__13APT_FatalPathFPCcRC11APT_UStringPCci() at 0xd13b5c70
APT_getUsefulWorkingDirectory__Fb() at 0xd140fa88
initializeSystemWorkingDirectory__Fv() at 0xd5c80a84
__ct__15APT_OperatorRepFP12APT_Operator() at 0xd5c8004c
__ct__12APT_OperatorFv() at 0xd5cae964
__ct__18APT_BufferOperatorFv() at 0xd5d46b84
make__18APT_BufferOperatorFv() at 0xd5d468d8
instantiate__24APT_InstantiatorRegistryCFPCc() at 0xd13efbd0
instantiate__22APT_PersistentRegistryFPCc() at 0xd13ed2a0
instantiate__14APT_PersistentFPCc() at 0xd13edf94

The job is running fine for past one month.Today i got this error ,Again i restarted twice it gets aborted but third time ran fine. I dont know whats the exact issue,could you please help me how to resove this issue.



Thanks,
Raj
Raj
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Is the PWD environment variable set? If not, set it to ".".
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sekaran12
Participant
Posts: 20
Joined: Tue Sep 26, 2006 7:08 am
Location: Chennai

Post by sekaran12 »

ray.wurlod wrote:Is the PWD environment variable set? If not, set it to ".". ...
Hi Ray ,

I have type the cmd env in unix box, and i saw the pwd variable it set like as below

PWD=/users/n104799

Anything i need to do further..

Thanks,
raj
Raj
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What you type in is for your user ID. DataStage jobs probably do not run under your user ID. Look at the second event in the job log to determine whether the PWD environment variable is set.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sekaran12
Participant
Posts: 20
Joined: Tue Sep 26, 2006 7:08 am
Location: Chennai

Post by sekaran12 »

Hi Ray,

Please find below

PWD=/dwdsadm/home/Ascential/DataStage/DSEngine

Thanks,
Raj
Raj
Post Reply