I am using ssh with public key authentication without pass phrase. Hence I can connect remote machine without providing password.

devybld004$ ssh devybld003 hostname
devybld003

Everything worked OK until recently. But all of sudden my coshell server is not working anymore. Here is the debug level 5 output. Basically coshell distribute jobs on the machine where coshell server is running

coshell> r devybld004 ps
coshell: debug-4: open=0 override=0 sp=devybld004 mp=devybld004 xp=* dp=* dt=*
coshell: debug-4: devybld004: up=4d23h idle=% load=1.44 users=0 rank=6.10
coshell: debug-2: /u1/build/dev/ext/ast-2008-11-04/arch/sol8.sun4/bin/3d -c "HOSTNAME=devybld004 HOSTTYPE=sol8.sun4 COSHELL='/u1/build/dev/ext/ast-2008-11-04/arch/sol8.sun4/bin/coshell /dev/fdp/local/coshell/user' COINIT='rating=0;' /u1/build/dev/ext/ast-2008-11-04/arch/sol8.sun4/bin/3d /dev/fd/4 >/dev/null 2>&1 3</dev/tcp/172.16.96.34/57594 4<&3 5>&- 6>&- 7>&- 8>&- 9>&- &"
coshell: debug-1: devybld004: open shell pid=9774
coshell [cs library]: debug-4: csspoll: pending=1 polling=4 z=0 wakeup=60000 remain=56000 coshell [cs library]: debug-4: csspoll: pending=1 polling=5 z=1000 wakeup=60000 remain=56000
coshell: debug-3: -message: n 0 devybld004 9776
coshell: debug-5: job: {
trap 'set $?; trap "" 0; print -u3 x 10 $1 $(times); 3>&-; exit $1' 0 HUP INT QUIT TERM ERR
print '#00010.00009'
export\
NPROC='16' PATH=':/u1/build/dev/ext/ast-2008-11-04/arch/sol8.sun4/bin:/usr/local/devtools/binutils/bin:/usr/local/devtools/gcc/bin:/bin:/usr/bin:/usr/local/bin'
vpath - /#option/2d 2>/dev/null || :
umask 02
cd '/u1/lagerto/dev/lib/libcompat'

typeset -i32 ___=${!:-$$}
export COTEMP=2m10o12${___#32#}
eval 'ps
'
} </dev/null >/dev/tcp/172.16.96.34/57595 2>&1 &
print -u3 j 10 $!

coshell [cs library]: debug-4: csspoll: pending=1 polling=5 z=0 wakeup=60000 remain=55000
coshell: debug-3: devybld004-message: j 10 9796
coshell [cs library]: debug-4: csspoll: pending=1 polling=5 z=0 wakeup=60000 remain=55000 coshell [cs library]: debug-4: csspoll: pending=1 polling=6 z=1000 wakeup=60000 remain=55000 coshell [cs library]: debug-4: csspoll: pending=1 polling=6 z=0 wakeup=60000 remain=54000
PID TT TIME COMMAND
26759 ? 6.00s sshd
27839 ? 1.00s sshd
1911 ? 3.00s ssd
9776 ? 0 ksh
8980 ? 0 coshell
9077 pts/3 0 coshell
9034 pts/3 1.00s coshell_control
9797 ? 0 ps
9796 ? 0 ksh
26761 pts/3 1.00s tcsh
240 ? 0 ssh
27841 pts/4 0 tcsh
coshell [cs library]: debug-4: csspoll: pending=1 polling=6 z=0 wakeup=60000 remain=54000
coshell: debug-3: devybld004-message: x 10 0 user 0m0.03s sys 0m0.14s
coshell [cs library]: debug-4: csspoll: pending=1 polling=6 z=0 wakeup=60000 remain=54000
coshell> r devybld003 ps
coshell: debug-4: devybld003: up=1M17d idle=% load=0.48 users=0 rank=5.13
coshell: debug-4: devybld004: up=4d23h idle=% load=0.88 users=0 rank=6.62
coshell: debug-4: open=0 override=0 sp=devybld003 mp=devybld003 xp=* dp=* dt=*
coshell: debug-4: devybld003: up=1M17d idle=% load=0.48 users=0 rank=5.19
coshell: debug-2: /u1/build/dev/etc/astssh devybld003 "/u1/build/dev/ext/ast-2008-11-04/arch/sol8.sun4/bin/3d -c 'trap "" HUP; HOSTNAME=devybld003 HOSTTYPE=sol8.sun4 COSHELL= COINIT='\''rating=0;{ . ./.profile; eval test -f \$ENV \&\& . \$ENV; }
/dev/null 2>&1 </dev/null'\''
/u1/build/dev/ext/ast-2008-11-04/arch/sol8.sun4/bin/3d /dev/fd/4 >/dev/null 2>&1 3</dev/tcp/172.16.96.34/57594 4<&3 5>&- 6>&- 7>&- 8>&- 9>&- &'"
coshell: debug-1: devybld003: open shell pid=10110
coshell [cs library]: debug-4: csspoll: pending=1 polling=5 z=6000 wakeup=60000 remain=54000 coshell [cs library]: debug-4: csspoll: pending=1 polling=6 z=1000 wakeup=60000 remain=48000
coshell: debug-3: -message: n 0 devybld003 11348
coshell: debug-5: job: {
trap 'set $?; trap "" 0; print -u3 x 11 $1 $(times); 3>&-; exit $1' 0 HUP INT QUIT TERM ERR
print '#00011.00009'
export\
NPROC='16' PATH=':/u1/build/dev/ext/ast-2008-11-04/arch/sol8.sun4/bin:/usr/local/devtools/binutils/bin:/usr/local/devtools/gcc/bin:/bin:/usr/bin:/usr/local/bin'
vpath - /#option/2d 2>/dev/null || :
umask 02
cd '/u1/lagerto/dev/lib/libcompat'

typeset -i32 ___=${!:-$$}
export COTEMP=2m10o11${___#32#}
eval 'ps
'
} </dev/null >/dev/tcp/172.16.96.34/57595 2>&1 &
print -u3 j 11 $!

coshell [cs library]: debug-4: csspoll: pending=1 polling=6 z=0 wakeup=60000 remain=47000
coshell [cs library]: debug-2: read(8,8192,LINE) eof
coshell: debug-4: open=4 override=0 sp=* mp=* xp=* dp=* dt=*
coshell [cs library]: debug-4: csspoll: pending=0 polling=5 z=47000 wakeup=60000 remain=47000 coshell: debug-4: open=0 override=0 sp=devybld003 mp=devybld003 xp=* dp=* dt=*
coshell: debug-4: devybld003: up=1M17d idle=% load=0.48 users=0 rank=5.34
coshell: debug-2: /u1/build/dev/etc/astssh devybld003 "/u1/build/dev/ext/ast-2008-11-04/arch/sol8.sun4/bin/3d -c 'trap "" HUP; HOSTNAME=devybld003 HOSTTYPE=sol8.sun4 COSHELL= COINIT='\''rating=0;{ . ./.profile; eval test -f \$ENV \&\& . \$ENV; }
/dev/null 2>&1 </dev/null'\''
/u1/build/dev/ext/ast-2008-11-04/arch/sol8.sun4/bin/3d /dev/fd/4 >/dev/null 2>&1 3</dev/tcp/172.16.96.34/57594 4<&3 5>&- 6>&- 7>&- 8>&- 9>&- &'"
coshell: debug-1: devybld003: open shell pid=10247
coshell [cs library]: debug-4: csspoll: pending=1 polling=5 z=5000 wakeup=60000 remain=60000 coshell [cs library]: debug-4: csspoll: pending=1 polling=6 z=1000 wakeup=60000 remain=55000
coshell: debug-3: -message: n 0 devybld003 12154
coshell: debug-5: job: {
trap 'set $?; trap "" 0; print -u3 x 11 $1 $(times); 3>&-; exit $1' 0 HUP INT QUIT TERM ERR
print '#00011.00009'
export\
NPROC='16' PATH=':/u1/build/dev/ext/ast-2008-11-04/arch/sol8.sun4/bin:/usr/local/devtools/binutils/bin:/usr/local/devtools/gcc/bin:/bin:/usr/bin:/usr/local/bin'
vpath - /#option/2d 2>/dev/null || :
umask 02
cd '/u1/lagerto/dev/lib/libcompat'

typeset -i32 ___=${!:-$$}
export COTEMP=2m10o11${___#32#}
eval 'ps
'
} </dev/null >/dev/tcp/172.16.96.34/57595 2>&1 &
print -u3 j 11 $!

coshell [cs library]: debug-4: csspoll: pending=1 polling=6 z=0 wakeup=60000 remain=54000
coshell [cs library]: debug-2: read(7,7,EXACT) eof
devybld004$ coshell [cs library]: debug-2: read(8,8192,LINE) eof

Thank you Sang
On Mar 26, 2009 9:10pm, Glenn Fowler <[email protected]> wrote:


the per-user coshell daemon requires password-less ssh or rsh access

to the remote machine pool



first make sure your per-user coshell defaults are set up for

the proper choice of { ssh rsh }

then make sure you can run

ssh host-in-pool date

(or rsh) without a passwd prompt



On Fri, 27 Mar 2009 00:52:52 +0000 [email protected] wrote:

> Hi All, I have been using coshell since the beginning of this year for both=

> Solaris and Linux platforms. So far I was able to distribute C++ compilati=

> on jobs to multiple remote machines without any issues.

But for=

> some unknown reasons, only my coshell server can not open remote shell any=

> more even though my co-worker=92s coshell works perfectly. I have bounced c=

> oshell server multiple times and removed all files in my home directory to =

> have clean environment. But still coshell is not working for me.

> >I have noticed that coshell try to open connection to remote shell but som=

> e reason coshell can not start background ksh via ssh even though remote ma=

> chine is up and running

coshell> o devyxsv001
coshell>=



_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to