subprocess failed with exit code 255,

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
akonda
Participant
Posts: 97
Joined: Wed Feb 28, 2007 6:15 am

subprocess failed with exit code 255,

Post by akonda »

Guys

I am trying to SFTP a text file using FTP stage and facing below error.

Error: "subprocess failed with exit code 255,FTP_Enterprise"

Does anybody know why this is occurring ??

Thanks
prdpreddy
Participant
Posts: 3
Joined: Wed Sep 29, 2010 1:42 am
Location: Hyderabad

Post by prdpreddy »

Please check if the public key installed for that user and the server you are transferring the file .
akonda
Participant
Posts: 97
Joined: Wed Feb 28, 2007 6:15 am

Post by akonda »

Yes, Its Installed correctly and I am able to put a file manually in remote server. But not with FTP stage. Is there any where I need to mention Public key in FTP stage ?
akonda
Participant
Posts: 97
Joined: Wed Feb 28, 2007 6:15 am

Post by akonda »

I got this resolved. It was due wrong user mentioned in FTP stage. But I ended up with another issue in the same.

File is transferring but job is failing with below error

error: ftp returned
ftp msg: Couldn't canonicalise: No such file or directory

Any thoughts ??
akonda
Participant
Posts: 97
Joined: Wed Feb 28, 2007 6:15 am

Post by akonda »

found the solution.

wrong:
sftp://HOSTNAME/home/svcnet/Sales_10042010.txt

right:
sftp://HOSTNAME//home/svcnet/Sales_10042010.txt

Thanks.
Post Reply