* Logged out after 25 seconds or so?
@ 1999-07-26 4:00 James Puzzo
1999-07-27 4:00 ` Brian Candler
0 siblings, 1 reply; 4+ messages in thread
From: James Puzzo @ 1999-07-26 4:00 UTC (permalink / raw)
I've just installed RedHat 6.0 (kernel 2.0.35) on an AlphaStation 200
(4/166), and I've got an odd problem that I'm having difficulty figuring
out (partially due to the nature of the problem).
I get a login prompt (I'm not using X) and can log in as root.
Then, about 20-30 seconds later, I am magically booted out, and presented
with the login prompt again. This happens at every login attempt, regardless
of virtual console (i.e. ALT-Fn).
So far as I can tell (in the 20-30 seconds I have to check) whatever
process happened to be running when I got booted is killed off.
Has anyone encountered anything like this? Are there suggestions
as far as which linux related forum might best be able to help me figure
out what might be going on?
Your help is appreciated,
-James Puzzo
jamesp@dgii.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Logged out after 25 seconds or so?
1999-07-26 4:00 Logged out after 25 seconds or so? James Puzzo
@ 1999-07-27 4:00 ` Brian Candler
1999-07-28 4:00 ` bglbv
0 siblings, 1 reply; 4+ messages in thread
From: Brian Candler @ 1999-07-27 4:00 UTC (permalink / raw)
> I've just installed RedHat 6.0 (kernel 2.0.35) on an AlphaStation 200
> (4/166), and I've got an odd problem that I'm having difficulty figuring
> out (partially due to the nature of the problem).
>
> I get a login prompt (I'm not using X) and can log in as root.
>
> Then, about 20-30 seconds later, I am magically booted out, and presented
> with the login prompt again. This happens at every login attempt, regardless
> of virtual console (i.e. ALT-Fn).
Yes, I had that problem when I upgraded my Multia UDB from RH5.2 to
RH6.0. That was a stressful day :-)
If I remember correctly, the problem was that the UDB's bootloader was
still configured to load the old kernel, which is "vmlinux" (or similar)
in the root directory. I changed the bootloader to point at
"/boot/vmlinuz" (this is a symlink to the new kernel) and it was fine
after that.
Even better, if you compile a new kernel, you just have to update the
symlink and reboot - unlike the i386 where you have to mess around with
LILO :-)
HTH,
Brian.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Logged out after 25 seconds or so?
1999-07-27 4:00 ` Brian Candler
@ 1999-07-28 4:00 ` bglbv
1999-07-29 4:00 ` James Puzzo
0 siblings, 1 reply; 4+ messages in thread
From: bglbv @ 1999-07-28 4:00 UTC (permalink / raw)
Brian Candler <B.Candler@pobox.com> writes:
> > I get a login prompt (I'm not using X) and can log in as root.
> >
> > Then, about 20-30 seconds later, I am magically booted out, and presented
> > with the login prompt again. This happens at every login attempt, regardless
> > of virtual console (i.e. ALT-Fn).
> Yes, I had that problem when I upgraded my Multia UDB from RH5.2 to
> RH6.0. That was a stressful day :-)
> If I remember correctly, the problem was that the UDB's bootloader was
> still configured to load the old kernel, which is "vmlinux" (or similar)
> in the root directory. I changed the bootloader to point at
> "/boot/vmlinuz" (this is a symlink to the new kernel) and it was fine
> after that.
But a wrong pathname for the kernel file would not allow the system to
get as far as allowing users to log in.
Even PAM configuration errors are unlikely in this case, since the
failure is reported to occur later during the session, _after_ a
successful login. At least that's my reading of the problem report;
if on the other hand the phrase "can log in as root" does not imply
getting a shell prompt after entering the root password, I'd recommend
reading about those infamous Pluggable Authentication Modules and how
to configure them. Root logins tend to be disallowed on "insecure"
terminals, which shouldn't include the console or the serial ports
but...
I'd suggest rebooting the machine single-user and investigating.
Or, if non-root logins work normally, using the "su" command from
a non-root account.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Logged out after 25 seconds or so?
1999-07-28 4:00 ` bglbv
@ 1999-07-29 4:00 ` James Puzzo
0 siblings, 0 replies; 4+ messages in thread
From: James Puzzo @ 1999-07-29 4:00 UTC (permalink / raw)
bglbv@my-deja.com wrote:
: Brian Candler <B.Candler@pobox.com> writes:
: > If I remember correctly, the problem was that the UDB's bootloader was
: > still configured to load the old kernel, which is "vmlinux" (or similar)
: > in the root directory. I changed the bootloader to point at
: > "/boot/vmlinuz" (this is a symlink to the new kernel) and it was fine
: > after that.
:
: But a wrong pathname for the kernel file would not allow the system to
: get as far as allowing users to log in.
The former explanation was much closer to the mark than the latter.
In my particular case, the "old" kernel, i.e. "/vmlinux.gz" was the kernel
copied from the floppy disk I used to boot for installation. This diskette
had a 2.0.* kernel on it.
However, everything I installed (I found when poking around) was for a
2.2.* kernel... including the stuff sitting in "/boot".
Apparently the problem is related to incompatibility stuff when booting
an old kernel with much newer support files. The "logout" problems went
away when I pointed the bootloader to the "correct" kernel.
-James Puzzo
jamesp@dgii.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-07-29 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-26 4:00 Logged out after 25 seconds or so? James Puzzo
1999-07-27 4:00 ` Brian Candler
1999-07-28 4:00 ` bglbv
1999-07-29 4:00 ` James Puzzo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox