SSH stty error
Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
7 posts
Page 1 of 1
- Posts: 14
- Joined: Wed May 21, 2014 9:00 am
When calling a shell script using the ExecSSH task I get the following error in the job log:
I've already looked at the .profiles and can't see any stty calls
Thanks
Chris
Code: Select all
Is there an easy way to stop this?2/7/14 16:02:45 ERROR stty: tcgetattr: A specified file does not support the ioctl system call.
I've already looked at the .profiles and can't see any stty calls
Thanks
Chris
- Support Specialist
- Posts: 590
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
-
Chris,
It's hard to tell what is happening just from the information you posted.
Can you send us a copy of your XML and the Job log (in Debug mode) so that we can review to see if there is an issue that we can help with.
Thanks!
It's hard to tell what is happening just from the information you posted.
Can you send us a copy of your XML and the Job log (in Debug mode) so that we can review to see if there is an issue that we can help with.
Thanks!
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
- Posts: 14
- Joined: Wed May 21, 2014 9:00 am
The code I use to call the unix script is:
This is an extract of the output from calling the script in debug mode:
Code: Select all
Which work and does start the process.<execSSH label="BATCH_APAY_DISBURSEMENTS" resourceId="${SCP_SERVER}" command="~/batch/batch_apay_disbursements.sh ${ADMINISTRATOR_USERNAME} ${ADMINISTRATOR_PASSWORD} ${ADMINISTRATOR_BUSGROUP}" version="1.0" onError="continue" />
This is an extract of the output from calling the script in debug mode:
03-Jul-2014 17:03:21 INFO Start Date and Time: 3/7/14 17:03:21
03-Jul-2014 17:03:21 INFO Job Number: 1000000000105
03-Jul-2014 17:03:21 INFO Project Name: /RETA Batch DEV/Rerun Disbursements
03-Jul-2014 17:03:21 INFO Submitted By: chris.evans
03-Jul-2014 17:03:21 INFO GoAnywhere Director 4.6.1 running on Windows Server 2012 6.2 (amd64)
03-Jul-2014 17:03:21 INFO ******************** Debug Mode ********************
03-Jul-2014 17:03:30 INFO Executing task 'execSSH 1.0 (BATCH_APAY_DISBURSEMENTS)'
03-Jul-2014 17:03:30 ERROR stty: tcgetattr: A specified file does not support the ioctl system call.
03-Jul-2014 17:03:30 INFO 20140703 170330:batch_apay_disbursements.sh:START
03-Jul-2014 17:03:30 INFO 20140703 170330:batch_apay_disbursements.sh:Starting program czmp222
03-Jul-2014 17:03:30 INFO Disbursement Interface Process running. Please wait...
03-Jul-2014 17:03:31 INFO 0 Records output to MP_BACSREC
03-Jul-2014 17:03:31 INFO 0 Records output to MP_ACCOUNTING
03-Jul-2014 17:03:31 INFO Disbursement Interface Process completed successfully.
03-Jul-2014 17:03:31 INFO 20140703 170330:batch_apay_disbursements.sh:Program czmp222 completed successfully
03-Jul-2014 17:03:31 INFO 20140703 170330:batch_apay_disbursements.sh:Starting program czmp264
03-Jul-2014 17:03:31 INFO Processing Started.....
03-Jul-2014 17:03:31 INFO 0 records output to file
03-Jul-2014 17:03:31 INFO Processing has completed successfully
03-Jul-2014 17:03:31 INFO 20140703 170331:batch_apay_disbursements.sh:Program czmp264 completed successfully
03-Jul-2014 17:03:31 INFO 20140703 170331:batch_apay_disbursements.sh:Starting program czmp223
03-Jul-2014 17:03:31 INFO BACS Extract running. Please wait...
03-Jul-2014 17:03:31 INFO Written 0 records to the BACS Output File.
03-Jul-2014 17:03:31 INFO Process completed successfully.
03-Jul-2014 17:03:31 INFO 20140703 170331:batch_apay_disbursements.sh:Program czmp223 completed successfully
03-Jul-2014 17:03:31 INFO 20140703 170331:batch_apay_disbursements.sh:END
03-Jul-2014 17:03:31 INFO The Command executed successfully with return code '0'.
03-Jul-2014 17:03:31 INFO Finished task 'execSSH 1.0 (BATCH_APAY_DISBURSEMENTS)'
- Support Specialist
- Posts: 590
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
-
Chris,
This error seems to be an issue with running the command on the remote server, not the connection to that server via the ExecSSH Task.
Look into wrapping your command in Double Quotes ("command") then trying the project again.
This error seems to be an issue with running the command on the remote server, not the connection to that server via the ExecSSH Task.
Look into wrapping your command in Double Quotes ("command") then trying the project again.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
- Posts: 14
- Joined: Wed May 21, 2014 9:00 am
Hi Rick,
Double quotes didn't seem to help on this one.
It looks like it's something on the Unix side rather than the GoAnywhere side so I'll keep digging.
C.
Double quotes didn't seem to help on this one.
It looks like it's something on the Unix side rather than the GoAnywhere side so I'll keep digging.
C.
- Posts: 14
- Joined: Wed May 21, 2014 9:00 am
it's the bourne shell
7 posts
Page 1 of 1