[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Parallel Bug Reports Unable to execute remote commands to server
From: |
Andreas Bernauer |
Subject: |
Re: GNU Parallel Bug Reports Unable to execute remote commands to servers running SunOS |
Date: |
Wed, 07 Aug 2013 16:48:50 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 |
On 8/7/13 15:29, Zhi Shen wrote:
> Hi,
>
> After upgrading to "20130722" from "20130422", we are unable to execute
> remote commands to servers running SunOS. Hope someone can help.
>
> $ ./parallel -V
> GNU parallel 20130722
> $ ./parallel --nonall --cleanup -k -v -v -S serverA "uptime"
> ssh -tt -oLogLevel=quiet serverA 'eval `echo $SHELL | grep
> "/t\{0,1\}csh" > /dev/null && echo setenv PARALLEL_SEQ
> '$PARALLEL_SEQ'\; setenv PARALLEL_PID '$PARALLEL_PID' || echo
> PARALLEL_SEQ='$PARALLEL_SEQ'\;export PARALLEL_SEQ\;
> PARALLEL_PID='$PARALLEL_PID'\;export PARALLEL_PID` ;' tty\
> \>/dev/null\ \&\&\ stty\ isig\ -onlcr\ -echo\;uptime\ ;
>
> $ ./parallel -V
> GNU parallel 20130422
> $ ./parallel --nonall --cleanup -k -v -v -S serverA "uptime"
> stty: : Invalid argument
> grep: illegal option -- E
> Usage: grep -hblcnsviw pattern file . . .
> ssh serverA 'eval `echo $SHELL | grep -E "/(t)?csh" > /dev/null &&
> echo setenv PARALLEL_SEQ '$PARALLEL_SEQ'\; setenv PARALLEL_PID
> '$PARALLEL_PID' || echo PARALLEL_SEQ='$PARALLEL_SEQ'\;export
> PARALLEL_SEQ\; PARALLEL_PID='$PARALLEL_PID'\;export PARALLEL_PID` ;'
> uptime\ ;
> 9:16am up 353 day(s), 21:05, 3 users, load average: 0.10, 0.08, 0.09
>
Are you missing output from the first call (20130722)? Because the
latter one (20130422) only worked by accident in the first place, as the
grep call did not work. I don't understand where the stty error message
came from, though.
Andreas.