1834650 Members
2135 Online
110069 Solutions
New Discussion

Unable to login

 
Rajeev Andrews
Advisor

Unable to login

Hi All,

I am new HP-UX administration.We have a L class system.Problem I am facins is that I am not able to login to the system either thru telnet or ftp.I tried to access the machine by attaching the consloe.Still I am not getting the logine prompt.I am able to ping the machine.

Please help me to solve this problem.If more information is required ,please let me know..
Thanksin advacnce

Rajeev Andrews
17 REPLIES 17
Muthukumar_5
Honored Contributor

Re: Unable to login

Can you able to login with ssh / rlogin? If you are able to ping then you can do with any one of login service.

hth.
Easy to suggest when don't know about the problem!
Devender Khatana
Honored Contributor

Re: Unable to login

Hi,

What error does "telnet IP_Address" give ?

Also is there some session allready running ?

Regards,
Devender
Impossible itself mentions "I m possible"
Mark Grant
Honored Contributor

Re: Unable to login

I don't wish to sound dumb but if you can't get a login on the console, the machine isn't up or the console is configured a bit weird. I would boot the machine with the console attached some stuff should start happening eventually which might give some clues.
Never preceed any demonstration with anything more predictive than "watch this"
yut
Advisor

Re: Unable to login

try to reboot your system and make sure your network and ip address is ok and fixed serial cable from console monitor to server.

hopes can help!

-yut-
Devender Khatana
Honored Contributor

Re: Unable to login

Hi,

You can use Ctrl+B to go to the GSP on system console. Even if the system is not up but powered you will get GSP prompt. Does GSP give show some recent error logs?

If you do not even get GSP prompt on the console you are trying from your console configuration should have problems. You can go to console from GSP menu as well.

HTH,
Devender
Impossible itself mentions "I m possible"
Rajeev Andrews
Advisor

Re: Unable to login

Hi All,

Thanks for the replies,

When I connected to telnet it's not giving any error.It shows that it got connected.But I am not getting the login prompt.If the machine is down,how I able to ping and even telnet to the machine(showing it got connected).

When I reboot the machine,it start working.Is there is any log files where I can see the any problems in the Hardaware(like disk,memory etc)

Thanks & Regards
Rajeev Andrews
Muthukumar_5
Honored Contributor

Re: Unable to login

You can use dmesg or /var/adm/syslog/syslog.log or /var/adm/shutdown.log.

hth.
Easy to suggest when don't know about the problem!
Devender Khatana
Honored Contributor

Re: Unable to login

Hi,

/var/adm/syslog/OLDsyslog.log is the log you should be looking for. Also look for something in /var/tombstones for some latest files.

Check GSP logs as well.

HTH,
Devender
Impossible itself mentions "I m possible"
Rgomes
Valued Contributor

Re: Unable to login

Hi,

It might be related with your corrupted 'wtmp' file.

You can go to single user mode and try to recreate (touch) the 'wtmp' file.

regards,
Richard

rmueller58
Valued Contributor

Re: Unable to login

Make sure you check "diskspace" in your /home and /var directories.. It does sounds as though you have a space issue. Something is filling up syslog.

if you have auditing on, turn it off, and clean up the logs.

Rajeev Andrews
Advisor

Re: Unable to login

Hi All,

When I am giving the last command it's giving the output "pid exceeds MAXPID: wtmp file corrupted". As Rgomes suggested I created the wtmp file in single usermode and rebooted,now I am getting the output for last command.

/var filesystem has enough space and found that / filesytem is occupig more space.Now I cleaned the filesytem now.

As one expert suggested,how I will turn off the audit if it is on.

Is the wtmp file corruption is the real problem .Please advice on this.

Thanks to all

Rajeev Andrews
Muthukumar_5
Honored Contributor

Re: Unable to login

To check system auditation details,

# audsys
cannot open and lock /.secure/etc/audnames;
verify that the auditing system has been installed properly,
and the /.secure/etc directory exists, prior to running this command

It says It is turned on. If else, you can turn it off as,

# audsys -f

hth.
Easy to suggest when don't know about the problem!
Rgomes
Valued Contributor

Re: Unable to login

Raj D.
Honored Contributor

Re: Unable to login

Hi Rajeev ,

For log checking :

Check /var/adm/syslog/syslog.log for any error.

1.# cat, more or vi /var/adm/syslog/syslog.log
2.# dmesg

and /var/adm/syslog/OLDsyslog.log [ This is the file available , if you rebooted the system and want to analyse the old log ]
3.# /etc/shutdownlog

also check
4.# /var/opt/resmon/log/event.log ( for any error through EMS notification).

Hope this will help.
Cheers ,

Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Rajeev Andrews
Advisor

Re: Unable to login

Hi All,

Thanks for the reponses.

Richard ,if i touch the wtmp file in /var/adm/ ,do you think this will solve this problem.I checkd the daemon which is in the url you have specified.There is no process in that name.It's mention it can due to some other daemons also.
I have touched the wtmp file and monitoring the machine.

Thanks & Regards
Rajeev Andrews
Rgomes
Valued Contributor

Re: Unable to login

Hi Rajeev,

In my case it worked. Did you bring back the server at run level 3? From your reply, I understand you can access the server now. Pls check for any process that is taking your server's resources and trying to write in wtmp file.


regards,
Richard
John E.Ophious
Regular Advisor

Re: Unable to login

Howdy Rajeev,

Sounds like your console path is not set correctly on boot. That is why you are not seeing anything on the console screen. You may need to reset the server to factory default settings.

Take it easy,

John E. Ophius