File Movement on SCP Server

Six Stars

File Movement on SCP Server

Hi All

 

I'm facing below error :

Starting job t_SCP_GET_HLTHSTRM_bkp at 22:43 22/07/2017.

[statistics] connecting to socket on port 3454
[statistics] connected
2017-07-22 22:43:34|eM1fh1|eM1fh1|eM1fh1|5312|TALEND_DEFAULT|t_SCP_GET_HLTHSTRM_bkp|_06w_cG9PEeeMDc-rZzDcJA|0.1|Default||begin||
[FATAL]: talend_default.t_scp_get_hlthstrm_bkp_0_1.t_SCP_GET_HLTHSTRM_bkp - tSCPFileExists_1 The execute request failed.
Exception in component tSCPFileExists_1
java.io.IOException: The execute request failed.
at ch.ethz.ssh2.channel.ChannelManager.requestExecCommand(ChannelManager.java:764)
at ch.ethz.ssh2.Session.execCommand(Session.java:256)
at ch.ethz.ssh2.Session.execCommand(Session.java:229)
at talend_default.t_scp_get_hlthstrm_bkp_0_1.t_SCP_GET_HLTHSTRM_bkp.tSCPFileExists_1Process(t_SCP_GET_HLTHSTRM_bkp.java:927)
at talend_default.t_scp_get_hlthstrm_bkp_0_1.t_SCP_GET_HLTHSTRM_bkp.tSCPConnection_1Process(t_SCP_GET_HLTHSTRM_bkp.java:787)
at talend_default.t_scp_get_hlthstrm_bkp_0_1.t_SCP_GET_HLTHSTRM_bkp.runJobInTOS(t_SCP_GET_HLTHSTRM_bkp.java:8062)
at talend_default.t_scp_get_hlthstrm_bkp_0_1.t_SCP_GET_HLTHSTRM_bkp.main(t_SCP_GET_HLTHSTRM_bkp.java:7876)
Caused by: java.io.IOException: The server denied the request.
at ch.ethz.ssh2.channel.ChannelManager.waitForChannelSuccessOrFailure(ChannelManager.java:235)
at ch.ethz.ssh2.channel.ChannelManager.requestExecCommand(ChannelManager.java:760)
... 6 more
2017-07-22 22:43:35|eM1fh1|eM1fh1|eM1fh1|TALEND_DEFAULT|t_SCP_GET_HLTHSTRM_bkp|Default|6|Java Exception|tSCPFileExists_1|java.io.IOException:The execute request failed.|1
2017-07-22 22:43:35|eM1fh1|eM1fh1|eM1fh1|5312|TALEND_DEFAULT|t_SCP_GET_HLTHSTRM_bkp|_06w_cG9PEeeMDc-rZzDcJA|0.1|Default||end|failure|1465
[statistics] disconnected
Job t_SCP_GET_HLTHSTRM_bkp ended at 22:43 22/07/2017. [exit code=1]

 

I'm able to connect to scp server but when I'm doing ls command its throwing error of server denied. Attaching my job screenshot. please guide me.

 

Thanks!

Irshad

 


Accepted Solutions
Eight Stars

Re: File Movement on SCP Server

This is probably a permissions issue: what user are you connecting as, and what are the directory permissions set to? If you are able, you can test this by setting the directory permissions to 777, then see if you can list it.

Good luck!

David
Six Stars

Re: File Movement on SCP Server

Thanks for you response. My issues was fixed . I changed the port to 22 and was able to connect.


All Replies
Eight Stars

Re: File Movement on SCP Server

This is probably a permissions issue: what user are you connecting as, and what are the directory permissions set to? If you are able, you can test this by setting the directory permissions to 777, then see if you can list it.

Good luck!

David
Six Stars

Re: File Movement on SCP Server

Thanks for you response. My issues was fixed . I changed the port to 22 and was able to connect.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Download