Re: SuSE 9.2 Login terminates immediately
From: Bernd Rieke (bernd_at_rhm.de)
Date: 02/17/05
- Next message: JPB: "Re: suse anticipating many windows users"
- Previous message: Robert Hull: "Re: when's the next version (9.3 or 10 whatever)"
- In reply to: Daniel Delin: "Re: SuSE 9.2 Login terminates immediately"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 17 Feb 2005 23:08:26 +0100
Daniel Delin schrieb:
> Hi!
>
> No solution, but I am seeing the same problem here.
> I am using Gridengine to submit jobs in a cluster, it sometimes fails
> because it canīt make a rsh connection. Also a "manual" rsh or rlogin
> connection like you describe show the same symptoms.
> No problem with Suse 9.0, 9.1 and SLES 9.
>
> Any tips would be useful.
>
> regards
> Daniel
>
Hi Daniel,
meanwhile I debugged the program login. As a result of this I posted
a thread to the linux=kernel mailing list (see below) Had no answer
til now. I found two other postings from poeple having same problems.
There seems to be a bigger problem behind this behaviour. The device
file, in our case a /dev/pts/nn disappers after a cleanup call to the
kernel function vhangup(), so login fails in reopening it.
We have a similar problem when we are hot replacing a SCSI disk. Then
at one point of the replacement procedur the device file, lets assume
/dev/sda disappers and never comes back. It's something in kernel 2.6.x
related to the devicefile handling. I'm not clear at this point, I have
to learn more about this handling.
Better to use ssh but some old UNIXes don't have it. And telnet, in
general let's say remote login, should work!
Bernd
--------------- to linux-kernel@vger.kernel.org ------------
Hi all, hope I'm not of topic here but had no response elsewhere...
we observe a problem with login starting with kernel 2.6. Actually
the problem still exists in 2.6.11-rc3-bk3-20050206171922-bigsmp
which we loaded from SuSE. We never saw this problem before and
we used nearly every release in the past. The problem:
When we try to login to a remote machine with telnet or rsh we
sometimes fall back immediately with the message 'connection closed'.
When we try again the login mostly succeeds. The ratio of bad/good
attempts over all is 1/10. It doesn't depend on the state of the
machines e.g. type if hardware or load. It happens on laptops as
well as smp-machines. In messages we see:
"login[xxx]: FATAL: can't reopen tty: No such file or directory"
We debugged login and tracked the problem down to the fopen of
/dev/pts/nn in function opentty() just after a call to the kernel
function vhangup().
The questions:
- why does /dev/pts/nn disappear (and never comes back)?
- is this a kernel bug? is there something wrong in vhangup()?
- is anybody else aware of this problem?
(there's only one additional posting from Yehavi Bourvine)
- is there a solution (pending)?
Thanks in advance for any hint, we are pretty losts...
-----------------------------------------------------------------
>
> Bernd Rieke <bernd@rhm.de> wrote in message news:<cuqmbi$jci$1@euler.space.net>...
>
>>Hi all,
>>
>>when we have to work on a remote machine we make the connection
>>for some historical reasons with rsh or telnet (we are comming
>>from old HPUX machines). Starting with SuSE 9.2 we sometimes have
>>a strange behaviour. The login takes place but immediately falls
>>back displaying the message 'connection closed'. Then when we
>>try again the login succeeds in most cases. The ration is 1 to 10,
>>one failure on ten successes. We trapped the problem down and saw
>>that the startup scripts (/etc/profile) are not called, the problem
>>comes out of program login or before. It doesn't depend on the load
>>of the remote machine. It takes place independently of the state of
>>the remote machine.
>>
>>It's quiet dangerious because people think they are remote but
>>still stay on the outgoing machine. Anybody observed this
>>problem, too?
>>
>>Here is what it looks:
>>
>> # rsh node456
>> Connection Closed
>> # rsh node456
>> Last login: Sat Feb......
>> Have a lot of fun
>> fritz@node456:~>
>>
>>Thanks in advance for any hint.
>>B. Rieke
- Next message: JPB: "Re: suse anticipating many windows users"
- Previous message: Robert Hull: "Re: when's the next version (9.3 or 10 whatever)"
- In reply to: Daniel Delin: "Re: SuSE 9.2 Login terminates immediately"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|