Hello we have a Problem with wrong Return Codes in some SSH Relases (3.1p1 and 3.6.1p2) under Solaris (6 and 8) Example: ssh system ls /xy echo $? The file exist or not ... Somtimes the ssh give a wrong return code Is the SSH compiled with the SUN WS Compiler (Versions 6 and 7) the supply more wrong return codes The problem is not so strong when we use the gnu-gcc compiler. the error comes sporadic (not so many errors as a sun ws compiled version). A Developer say to me that can be a Timing Problem... He says somthing with Race (Time!?) Conditons or so... The Problem is strong on Maschine with high load (Multi CPU Sparc Systems) Im not a Programmer :-) In the /var/adm/messages we have many errors Jun 22 03:14:31 d2cred2 sshd[20557]: error: Strange, wait returned pid 20648, expected 20762 Jun 22 03:14:33 d2cred2 sshd[21044]: error: session_by_pid: unknown pid 21190 Jun 22 03:14:38 d2cred2 sshd[15969]: error: Strange, wait returned pid 16649, expected 18111 Is this a seperate Problem ? We want to replace the rsh commands in scripts, but we dont can do this with this problem. Sorry for my bad bad English ;-) Greetings from Germany Frank
On Mon, Aug 18, 2003 at 09:33:08PM +0200, Frank Beckmann wrote:> Hello > > we have a Problem with wrong Return Codes in some SSH Relases (3.1p1 and > 3.6.1p2) under Solaris (6 and 8) > Example: > > ssh system ls /xy > echo $? > The file exist or not ... > Somtimes the ssh give a wrong return codecan you reproduce this?> Jun 22 03:14:31 d2cred2 sshd[20557]: error: Strange, wait returned pid > 20648, expected 20762 > Jun 22 03:14:33 d2cred2 sshd[21044]: error: session_by_pid: unknown pid > 21190 > Jun 22 03:14:38 d2cred2 sshd[15969]: error: Strange, wait returned pid > 16649, expected 18111does this always happen when a wrong return code is given? can you trace the pids? what process is 20648? and 20762?
Seemingly Similar Threads
- Two questions about metacharacter in regexprs and function return
- When will be released a new version of ffmpeg2theora?
- windows configuration on samba
- Probabilities outside [0, 1] using Support Vector Machines (SVM) in e1071
- IMQ + natin PREROUTING - it is almost 2 years since patch....