SSH_TUNNEL=FALSE gives RC=103

Discussion of the Co:Z Co-Processing Toolkit for z/OS
Post Reply
tsdjim
Posts: 64
Joined: Fri May 07, 2010 2:21 am

SSH_TUNNEL=FALSE gives RC=103

Post by tsdjim » Wed Jun 15, 2016 3:57 am

We have recently upgraded our processor from z10 to z13. We have always used SSH-TUNNEL=FALSE. Now SSH_TUNNEL=FALSE gives RC=103 but SSH_TUNNEL=TRUE works. I am including the trace below.

1
ّ08:19:26.114772ٍ CoZLauncherّNٍ: version: 3.6.3 2016-05-15
ّ08:19:26.115912ٍ CoZLauncherّNٍ: Copyright (C) Dovetailed Technologies, LLC. 2006-2015. All rights reserved.
ّ08:19:26.115934ٍ CoZLauncherّDٍ: target_user="tsdjim", target_host="10.1.1.202", target_port="NULL"
ّ08:19:26.115968ٍ CoZLauncherّTٍ: -> CoZLauncher()
ّ08:19:26.116028ٍ CoZLauncherّDٍ: sysname=TEST, user=TSDJIM, uid=0, euid=0, pid=50331749, ppid=1
ّ08:19:26.116054ٍ CoZLauncherّTٍ: <- CoZLauncher()
ّ08:19:26.116067ٍ CoZLauncherّTٍ: -> run()
ّ08:19:26.116084ٍ CoZLauncherّTٍ: -> logRegionSize()
ّ08:19:26.116097ٍ CoZLauncherّDٍ: region size requested = 32768K, Actual below/above limit = 9192K / 32768K
ّ08:19:26.116114ٍ CoZLauncherّTٍ: <- logRegionSize()
ّ08:19:26.116140ٍ CoZLauncherّTٍ: -> loadEtcInitOptionsEnv()
ّ08:19:26.116644ٍ CoZLauncherّTٍ: loadEtcInitOptionsEnv: TZ="EST5EDT"
ّ04:19:26.117413ٍ CoZLauncherّTٍ: <- loadEtcInitOptionsEnv()
ّ04:19:26.117439ٍ CoZLauncherّTٍ: -> loadConfiguration()
ّ04:19:26.122478ٍ CoZLauncherّDٍ: server-path=/usr/local/coz363/bin/cozserver
ّ04:19:26.122504ٍ CoZLauncherّDٍ: server-ports=8040-8048
ّ04:19:26.122521ٍ CoZLauncherّDٍ: ssh-tunnel=false
ّ04:19:26.122534ٍ CoZLauncherّDٍ: ssh-le-options=HEAP(8M,1M,ANYWHERE,FREE),ENVAR("_CEE_REALLOC_CONTROL=256K,25")
ّ04:19:26.122551ٍ CoZLauncherّDٍ: server-host=10.1.1.202
ّ04:19:26.122564ٍ CoZLauncherّDٍ: server-env-COZ_TRSUB_US-ASCII=ISO8859-1
ّ04:19:26.122577ٍ CoZLauncherّDٍ: server-env-COZ_TRSUB_ANSI_X3.4-1968=ISO8859-1
ّ04:19:26.122594ٍ CoZLauncherّIٍ: Agent output WTO is OFF
ّ04:19:26.122611ٍ CoZLauncherّIٍ: ssh tunnelling is OFF
ّ04:19:26.122624ٍ CoZLauncherّTٍ: <- loadConfiguration()
ّ04:19:26.122637ٍ CoZLauncherّTٍ: -> setServerEnvironment()
ّ04:19:26.122650ٍ CoZLauncherّTٍ: -> loadEtcInitOptionsEnv()
ّ04:19:26.122906ٍ CoZLauncherّTٍ: loadEtcInitOptionsEnv: TZ="EST5EDT"
ّ04:19:26.123039ٍ CoZLauncherّTٍ: <- loadEtcInitOptionsEnv()
ّ04:19:26.123065ٍ CoZLauncherّDٍ: Set server environment variable:'COZ_TRSUB_US-ASCII'='ISO8859-1'
ّ04:19:26.123087ٍ CoZLauncherّDٍ: Set server environment variable:'COZ_TRSUB_ANSI_X3.4-1968'='ISO8859-1'
ّ04:19:26.123108ٍ CoZLauncherّDٍ: COZ_RECV_MSG_WAITALL was not found, setting to "Y"
ّ04:19:26.123125ٍ CoZLauncherّTٍ: <- setServerEnvironment()
ّ04:19:26.123143ٍ CoZLauncherّTٍ: -> generateAuthToken()
ّ04:19:26.124222ٍ CoZLauncherّDٍ: open(/dev/random) - EDC5157I An internal error has occurred. (errno2=0x05DA05FC)
ّ04:19:26.124244ٍ CoZLauncherّDٍ: /dev/random (ICSF) not available, using random()
ّ04:19:26.124261ٍ CoZLauncherّTٍ: generateAuthToken: STCKE=00D0E20B 6D0E4E18 24000000 07280001
ّ04:19:26.124308ٍ CoZLauncherّTٍ: <- generateAuthToken()
ّ04:19:26.124322ٍ CoZLauncherّTٍ: -> determineServerPort()
ّ04:19:26.124352ٍ CoZLauncherّDٍ: Server port range: 8040-8048
ّ04:19:26.124369ٍ CoZLauncherّDٍ: Attempting to start socket listener on port 8040
ّ04:19:26.124390ٍ CoZLauncherّTٍ: -> startSocketListener(host=0.0.0.0, port=8040)
ّ04:19:26.180426ٍ CoZLauncherّTٍ: startSocketListener: nextAI= 0.0.0.0:8040
ّ04:19:26.180684ٍ CoZLauncherّTٍ: startSocketListener: CoZServer listener socket bound to: 0.0.0.0:8040
ّ04:19:26.180818ٍ CoZServerUtilّDٍ: Socket SO_SNDBUF set to 184320
ّ04:19:26.180856ٍ CoZServerUtilّDٍ: Socket SO_RCVBUF set to 184320
ّ04:19:26.180933ٍ CoZLauncherّTٍ: startSocketListener: server_listensock=0, server_port=8040
ّ04:19:26.180964ٍ CoZLauncherّTٍ: <- startSocketListener()
ّ04:19:26.180981ٍ CoZLauncherّNٍ: CoZServer listening on 0.0.0.0:8040
ّ04:19:26.180994ٍ CoZLauncherّTٍ: <- determineServerPort()
ّ04:19:26.181011ٍ CoZLauncherّTٍ: -> launchServer()
ّ04:19:26.181024ٍ CoZLauncherّTٍ: -> buildServerCommand()
ّ04:19:26.181041ٍ CoZLauncherّDٍ: server_cmd...
/usr/local/coz363/bin/cozserver -sockfd 3
ّ04:19:26.181080ٍ CoZLauncherّTٍ: <- buildServerCommand()
ّ04:19:26.181162ٍ CoZLauncherّTٍ: -> spawnServer()
ّ04:19:26.181286ٍ CoZLauncherّTٍ: server fd_mapّ-1,-1,2,0ٍ
ّ04:19:26.181304ٍ CoZLauncherّTٍ: server_stderr_fd=1
ّ04:19:26.183354ٍ CoZLauncherّDٍ: Started CoZServer process: 33554537
ّ04:19:26.183418ٍ CoZLauncherّTٍ: <- spawnServer()
ّ04:19:26.188781ٍ CoZLauncherّTٍ: <- launchServer()
ّ04:19:26.188820ٍ CoZLauncherّTٍ: -> launchAgent()
ّ04:19:26.188837ٍ CoZLauncherّTٍ: -> buildAgentCommand()
ّ04:19:26.188855ٍ CoZLauncherّDٍ: agent_cmd...
/bin/ssh -l tsdjim -oLoglevel=INFO 10.1.1.202 /opt/dovetail/coz/bin/cozagent
ّ04:19:26.188884ٍ CoZLauncherّTٍ: <- buildAgentCommand()
ّ04:19:26.188898ٍ CoZLauncherّTٍ: -> spawnAgent()
ّ04:19:26.189074ٍ CoZLauncherّTٍ: agent_fd_mapّ2,5,7ٍ
ّ04:19:26.189091ٍ CoZLauncherّTٍ: agent_fdsّ3,4,6ٍ
ّ04:19:26.189760ٍ CoZLauncherّTٍ: -> serverStderrThread()
ّ04:19:26.193374ٍ CoZLauncherّDٍ: Started CoZAgent process: 16777748
ّ04:19:26.193426ٍ CoZLauncherّTٍ: <- spawnAgent()
ّ04:19:26.193443ٍ CoZLauncherّTٍ: agent FDS=ّ3,4,6ٍ
ّ04:19:26.193826ٍ CoZLauncherّTٍ: -> waitForTargetPortAssignment()
ّ04:19:26.193843ٍ CoZLauncherّTٍ: <- waitForTargetPortAssignment()
ّ04:19:26.193933ٍ CoZLauncherّDٍ: Sent agent environment variable:'COZ_SERVER_HOST'='10.1.1.202'
ّ04:19:26.193959ٍ CoZLauncherّDٍ: Sent agent environment variable:'COZ_SERVER_PORT'='8040'
ّ04:19:26.193985ٍ CoZLauncherّDٍ: Sent agent environment variable:'COZ_SERVER_PROTOCOL_VERSION'='2'
ّ04:19:26.194015ٍ CoZLauncherّDٍ: About to start target command: ''
ّ04:19:26.194198ٍ CoZLauncherّTٍ: <- launchAgent()
ّ04:19:26.194224ٍ CoZLauncherّTٍ: -> waitForChildren()
ّ04:19:26.194676ٍ CoZLauncherّTٍ: -> agentStdinThread()
ّ04:19:26.195299ٍ CoZLauncherّTٍ: -> agentStderrThread()
ّ04:19:26.195704ٍ CoZLauncherّTٍ: -> agentStdoutThread()
ّ04:19:35.111373ٍ CoZLauncherّDٍ: First agent message received:
cozagentّNٍ: version: 1.2.0 2015-05-01
todsn-client(36306)ّEٍ: startSocketConnection timeout: host="10.1.1.202", port="8040": Transport endpoint is not
connected
todsn-client(36306)ّEٍ: Error: no exit code received from CoZServer
todsn-client(36305)ّEٍ: startSocketConnection timeout: host="10.1.1.202", port="8040": Transport endpoint is not
connected
todsn-client(36305)ّEٍ: Error: no exit code received from CoZServer
fromdsn-client(36304)ّEٍ: startSocketConnection timeout: host="10.1.1.202", port="8040": Transport endpoint is not
connected
fromdsn-client(36304)ّEٍ: Error: no exit code received from CoZServer
ّ04:19:35.122745ٍ CoZLauncherّDٍ: CoZAgent: completed with RC=103
ّ04:19:35.122779ٍ CoZLauncherّTٍ: -> handleAgentCompletion(103)
cozagentّEٍ: STDIN DD Reader(36304) ended with RC=102
cozagentّEٍ: STDOUT DD Writer(36305) ended with RC=102
cozagentّEٍ: STDERR DD Writer(36306) ended with RC=102
ّ04:19:35.125529ٍ CoZLauncherّDٍ: agentStderrThread completed
ّ04:19:35.128575ٍ CoZLauncherّTٍ: <- agentStderrThread()
ّ04:19:35.131111ٍ CoZLauncherّTٍ: -> waitStatusAgent()
ّ04:19:35.131163ٍ CoZLauncherّEٍ: CoZAgent process (16777748) ended with RC=103
ّ04:19:35.131188ٍ CoZLauncherّEٍ: tsdjim@10.1.1.202 target command '<default shell>' ended with RC=103
ّ04:19:35.131210ٍ CoZLauncherّTٍ: <- waitStatusAgent(rc=103)
ّ04:19:35.131232ٍ CoZLauncherّDٍ: Killing child process CoZServer (33554537) with signal 15
ّ04:19:35.131369ٍ CoZLauncherّDٍ: Waiting for CoZServer
ّ04:19:35.134342ٍ CoZLauncherّDٍ: serverStderrThread completed
ّ04:19:35.134381ٍ CoZLauncherّTٍ: <- serverStderrThread()
ّ04:19:35.137161ٍ CoZLauncherّTٍ: -> waitStatusServer()
ّ04:19:35.137186ٍ CoZLauncherّDٍ: CoZServer process (33554537) ended with RC=0
ّ04:19:35.137208ٍ CoZLauncherّTٍ: <- waitStatusServer(rc=0)
ّ04:19:35.137229ٍ CoZLauncherّTٍ: <- waitForChildren(rc=103)
ّ04:19:35.137242ٍ CoZLauncherّTٍ: -> cleanup()
ّ04:19:35.138656ٍ CoZLauncherّTٍ: <- agentStdinThread()
ّ04:19:35.142405ٍ CoZLauncherّTٍ: <- handleAgentCompletion()
ّ04:19:35.142672ٍ CoZLauncherّTٍ: <- agentStdoutThread()
ّ04:19:35.146347ٍ CoZLauncherّTٍ: <- cleanup()
ّ04:19:35.146372ٍ CoZLauncherّEٍ: CoZLauncher ended with RC=103
ّ04:19:35.146389ٍ CoZLauncherّTٍ: <- run()
ّ04:19:35.146406ٍ CoZLauncherّTٍ: -> فCoZLauncher()
ّ04:19:35.146436ٍ CoZLauncherّTٍ: <- فCoZLauncher()

dovetail
Site Admin
Posts: 1910
Joined: Thu Jul 29, 2004 12:12 pm

Re: SSH_TUNNEL=FALSE gives RC=103

Post by dovetail » Mon Jun 20, 2016 1:50 pm

These error messages:
todsn-client(36306)ّEٍ: startSocketConnection timeout: host="10.1.1.202", port="8040": Transport endpoint is not connected

mean that the remote client is not able to connect back into the originating z/OS batch job.

I believe that this is because you have misconfigured your "server-host" ip address to point to the target server rather than the z/OS ip address. 10.1.1.201 is the target server's ip address.

Post Reply