View previous topic :: View next topic
|
Author |
Message |
Prabhu Kvvsrt
New User
Joined: 06 Dec 2006 Posts: 7 Location: Hyderabad
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Prabhu Kvvsrt
New User
Joined: 06 Dec 2006 Posts: 7 Location: Hyderabad
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|