1748018 Members
3338 Online
108757 Solutions
New Discussion юеВ

Re: Login issue

 
SOLVED
Go to solution
bchinnat
Frequent Advisor

Login issue

Hi,

We have HP BL680 blade server which contains rhel 5.1. while connecting from the server physically(console)the following issue I am facing:

If login with the correct user/name password it is suddenly vanish and asking for login again, If I give wrong password then it is giving password incorrect.
Because of this we are not able to login to console for any trouble shooting.

I am expecting your valuable inputs.


Thanks,
Bala.
15 REPLIES 15
Steven E. Protter
Exalted Contributor
Solution

Re: Login issue

Shalom Bala,

You will need to check the /var/log/messages file on the server you are connecting to. See /var/log/secure

I think however a reset of the iLo card is in order here. Also check that the firmware is up to date.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
bullz
Super Advisor

Re: Login issue

Dude,

Buy a brand new servers, not seconds :)
Ok joks apart.

explain more about your console part, are you trying to connect it via web console from blade (or) it's a direct console access with putty of that ILO IPaddress?

If it's a new build and if you can reboot well, do that see.

Guess root FS might be full, you might have already doubted this :) as we all from the same bucket :P

Else, you may need to upgrade a firmware as suggested above.

:) mail me once you resolve this.

Good luck
bchinnat
Frequent Advisor

Re: Login issue

Thanks for the reply..

In /var/log/messages I am not finding any error but in /var/log/secure the below PAM error I am able to see exactly while I am loggin....

Jul 21 17:50:12 junldb02 login: PAM unable to dlopen(/lib/security/pam_limits.so)
Jul 21 17:50:12 junldb02 login: PAM [error: /lib/security/pam_limits.so: wrong ELF class: ELFCLASS32]
Jul 21 17:50:12 junldb02 login: PAM adding faulty module: /lib/security/pam_limits.so
Jul 21 17:50:16 junldb02 login: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Jul 21 17:50:16 junldb02 login: Module is unknown
Jul 21 17:50:19 junldb02 login: PAM unable to dlopen(/lib/security/pam_limits.so)
Jul 21 17:50:19 junldb02 login: PAM [error: /lib/security/pam_limits.so: wrong ELF class: ELFCLASS32]
Jul 21 17:50:19 junldb02 login: PAM adding faulty module: /lib/security/pam_limits.so
Jul 21 17:50:21 junldb02 login: pam_tally(login:account): option deny=3 allowed in auth phase only
Jul 21 17:50:21 junldb02 login: pam_tally(login:account): unknown option: reset
Jul 21 17:50:21 junldb02 login: pam_unix(login:session): session opened for user opssup by LOGIN(uid=0)
Jul 21 17:50:21 junldb02 login: Module is unknown


Thanks,
Bala.
Wilfred Chau_1
Respected Contributor

Re: Login issue

Are you running 64bit rhel?

Is the pam package also 64bit?
bchinnat
Frequent Advisor

Re: Login issue

We have 64-bit rhel...
bchinnat
Frequent Advisor

Re: Login issue

Any help on this.
FLQ
Valued Contributor

Re: Login issue

Hi Bala,

are you able to login at the console at least once or does it kick you out before you login?

According to the log files, you seem to have libs problems in PAM.

I would double check the PAM config files for typos.

Let us know.
Huc_1
Honored Contributor

Re: Login issue

At this time I do not have HP BL680 blade server which contains rhel 5.1 to check this on
but on a x86_64 GNU/Linux I find the following

# rpm -qla pam | grep pam_limits.so
/lib64/security/pam_limits.so

Not
/lib/security/pam_limits.so

Enjoy life.

Jean-Pierre Huc
Smile I will feel the difference
bchinnat
Frequent Advisor

Re: Login issue

No I am not able to login once, it suddenly disappear and asking for login again.