Serial Console Login Fails
Aman
aman at mistralsoftware.com
Wed Apr 23 23:46:35 EST 2003
Hi Martin
I have the etc/securetty file with entry ttyS0. Actually I cant see the log
messages since the linux boots up and gets struck in the login itself . Is
there any other way to get the log messages. In my board , I don't have
network support. So each I time I have to modify the ramdisk image and run
it. I tried putting in /bin/login, however I getting the following error
"/bin/login: error while loading shared libraries: cannot open shared object
file
: cannot load shared object file: No such file or directory"
I think the related shared libraries is not there , how to find related
shared libraries for any file.
Thanking you in advance
Regards
Aman
----- Original Message -----
From: "Mark Hatle" <fray at mvista.com>
To: "Martin Hicks" <mort at bork.org>
Cc: "Aman" <aman at mistralsoftware.com>; "linuxppc embedded"
<linuxppc-embedded at lists.linuxppc.org>
Sent: Wednesday, April 23, 2003 6:29 PM
Subject: Re: Serial Console Login Fails
> Martin Hicks wrote:
> > On Wed, Apr 23, 2003 at 07:41:40AM +0530, Aman wrote:
> >
> >>"T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100"
> >>Bcos of which during the linux bootup , there wont be console message on
the
> >>screen , after some time , there is a login prompt
> >><none>login:
> >>If I try login then it waits for some seconds and then display the same
i.e
> >><none>login:
> >
> >
> > You don't have "ttyS0" in /etc/securetty
>
> Actually if that was the case you'd get a login denied message of some
type..
> If you don't have an /etc/securetty then it allows all logins.. (that is
the
> typical setup of systems we recommend for our customers development
systems..)
>
> The problem is that they are missing either the pam libraries or they are
> missing /bin/login. Turn on syslogd, set a console to go right to a shell
and
> look at the output of /var/log/messages. This will tell you what is
missing.
> It is usually /bin/login is missing, secondary cause is PAM (or a module)
is
> missing, or that your /etc/passwd and/or /etc/group files are missing or
corrupt.
>
> (I wonder if we should create a FAQ for this list and post it once a
month..
> this question/answer come up at _LEAST_ once a week.. doesn't anyone read
the
> list archives?)
>
> --Mark
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list