VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   Secure Shell (https://forums.vandyke.com/forumdisplay.php?f=15)
-   -   Getting exit-status: 259 randomly (https://forums.vandyke.com/showthread.php?t=14492)

Jorgen 04-09-2021 03:59 AM

Getting exit-status: 259 randomly
 
Hi All,

Reasently changed application server and was forced to move the VShell server 4.0.3 to the new Windows 2016 box.
Now when running the vsh command line utility (v.5.0.0) against the VShell server it is randomly failing for about 50% of the time with exit-status: 259.
Cannot see any differences in the client log between a working and non-working execution.

Server side log for a failed execution;
2021-04-06 23:27:33 VShellSSH2 auth 56 - - WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: Client specified user name userXXX, resolved as WIN-6MFHSRM3ENJ\userXXX"
2021-04-06 23:27:33 VShellSSH2 auth 56 192.168.52.27 4695 WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: none for user WIN-6MFHSRM3ENJ\userXXX rejected because it is unavailable"
2021-04-06 23:27:33 VShellSSH2 auth 56 192.168.52.27 4695 WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: password for user WIN-6MFHSRM3ENJ\userXXX accepted"
2021-04-06 23:27:33 VShellSSH2 dbg 56 - - - - - 0 0 0 0 - - "00056: [LOCAL DEBUG] RECV: CHANNEL_OPEN[session]"
2021-04-06 23:27:33 VShellSSH2 conn 56 192.168.52.27 4695 WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: Session channel open request accepted"
2021-04-06 23:27:33 VShellSSH2 conn 56 192.168.52.27 4695 WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: Session channel failing unsupported x11-req request"
2021-04-06 23:27:33 VShellSSH2 conn 56 192.168.52.27 4695 WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: Started agent forwarding from VShell.2192.56.0.4.SSH_AUTH_SOCK"
2021-04-06 23:27:33 VShellSSH2 dbg 56 192.168.52.27 4695 WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: Process SessionChannel exec request: \msysTV4\bin\sh --login -c '/tv/inst/tv4/prod/bin/CreateAgtSchedDetail -s04/05/21 -e04/18/21' 1>> vsh_log.txt 2>>&1"
2021-04-06 23:27:33 VShellSSH2 dbg 56 - - WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: Queued worker thread to load user environment"
2021-04-06 23:27:33 VShellSSH2 dbg 56 - - - - - 0 0 0 0 - - "00056: Worker thread starting user environment load. User name=userXXX Logon Server=WIN-6MFHSRM3ENJ Profile Path=''"
2021-04-06 23:27:33 VShellSSH2 dbg 56 - - - - - 0 0 0 0 - - "00056: Worker thread finished user environment load"
2021-04-06 23:27:33 VShellSSH2 dbg 56 - - WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: VSHELL_HOME is not valid, trying profile for user's home directory"
2021-04-06 23:27:33 VShellSSH2 dbg 56 - - WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: Profile home directory is not valid, trying 'My Documents' for user's home directory"
2021-04-06 23:27:33 VShellSSH2 dbg 56 - - WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: Using home directory 'C:\Users\userXXX\Documents' for user userXXX"
2021-04-06 23:27:33 VShellSSH2 dbg 56 192.168.52.27 4695 WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: Received request to start \msysTV4\bin\sh --login -c '/tv/inst/tv4/prod/bin/CreateAgtSchedDetail -s04/05/21 -e04/18/21' 1>> vsh_log.txt 2>>&1"
2021-04-06 23:27:33 VShellSSH2 dbg 56 192.168.52.27 4695 WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: started user process (31384)"
2021-04-06 23:28:01 VShellSSH2 dbg 56 192.168.52.27 4695 WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: Received EOF on stderr from running program"
2021-04-06 23:28:01 VShellSSH2 dbg 56 192.168.52.27 4695 WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: Received EOF on stdout from running program"
2021-04-06 23:28:01 VShellSSH2 dbg 56 192.168.52.27 4695 WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: Process 31384 has exited, exit-status: 259"
2021-04-06 23:28:01 VShellSSH2 dbg 56 192.168.52.27 4695 WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: Initiating close on session channel"
2021-04-06 23:28:01 VShellSSH2 conn 56 192.168.52.27 4695 WIN-6MFHSRM3ENJ\userXXX - - 0 0 0 0 - - "00056: Session channel has been closed (pid: 31384)"
2021-04-06 23:28:01 VShellSSH2 dbg 56 - - - - - 0 0 0 0 - - "00056: [LOCAL DEBUG] RECV: TCP/IP close"
2021-04-06 23:28:01 VShellSSH2 dbg 56 - - - - - 0 0 0 0 - - "00056: [LOCAL DEBUG] Changing state from STATE_CONNECTION to STATE_CLOSED"
2021-04-06 23:28:01 VShellSSH2 dbg 56 - - - - - 0 0 0 0 - - "00056: [LOCAL DEBUG] Connected for 28 seconds, 2257 bytes sent, 1426 bytes received"
2021-04-06 23:28:01 VShellSSH2 conn 56 - - - - - 0 0 0 0 - - "00056: Connection closed"

Any idea what is going on and what the exit-status 259 means?

All help is appreciated.

Thanks

bgagnon 04-09-2021 08:41 AM

Hi Jorgen,

VShell version 4.3 was the first with support for Server 2016.

Changes in VShell 4.3 (Beta 1) -- May 18, 2017
----------------------------------------------
New features:

  • Support added for Windows Server 2016.
Please send email to support@vandyke.com and reference Attn Brenda - Forum Thread #14492.

Please include your VShell serial number in that email and attach vsh_log.txt.


All times are GMT -6. The time now is 12:19 PM.