IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SFTP issue


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Prabhu Kvvsrt

New User


Joined: 06 Dec 2006
Posts: 7
Location: Hyderabad

PostPosted: Sat Aug 18, 2012 6:35 pm
Reply with quote

Hi,

Below is the error which i got while executing a SFTP step using BPXBATCH in JCL.It says server is not available but i was able to login to the same server using filezilla/psfstp command prompt.

OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: RNG is ready, skipping seeding
debug1: Rhosts Authentication disabled, originating port wi
debug2: ssh_connect: needpriv 0
debug1: Connecting to XXX.X.XX.XXX ÝXXX.X.XX.XXX¨ port 22.
socket: EDC5112I Resource temporarily unavailable.
ssh: connect to host XXX.X.XX.XXX port 22: EDC5112I Resourc
Connection closed

This is the corresponding jcl code.
STEP10 EXEC PGM=BPXBATCH,REGION=128M,TIME=NOLIMIT,
PARM=('PGM /bin/sftp -vvv -b /tmp/COMDASHZ/batchfile
comdash@XXX.X.XX.XXX')

Could anyone let us know , if any specific registration has to be made for this server for SFTP??

Thanks,
Prabhu
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sat Aug 18, 2012 7:10 pm
Reply with quote

1. Create a new topic for a new post -- don't piggyback on a topic inactive for well over 3 years. I split your post into a new topic.

2. Firewall problems could be the cause -- consult your network support group.
Back to top
View user's profile Send private message
Prabhu Kvvsrt

New User


Joined: 06 Dec 2006
Posts: 7
Location: Hyderabad

PostPosted: Wed Aug 22, 2012 8:01 pm
Reply with quote

I am able to find the solution, it is something to with TCPIP stacks that are installed in respective environments.
In test, TCPIP2 is set while TCPIP3 was not set while production has both.
So, when i "REMOVE" the entry
_BPXK_SETIBMOPT_TRANSPORT=TCPIP3 from STDENV or when i put
_BPXK_SETIBMOPT_TRANSPORT=TCPIP2, job is able to sftp successfully but not when the parm has _BPXK_SETIBMOPT_TRANSPORT=TCPIP3.

Thanks,
Prabhu
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Aug 22, 2012 8:20 pm
Reply with quote

In other words, the issue turned out to be something very specific to your site and only someone working AT YOUR SITE could possibly have found that out and helped.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Facing ABM3 issue! CICS 3
No new posts Panvalet - 9 Character name - Issue c... CA Products 6
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
Search our Forums:

Back to Top