Operating System - HP-UX
1831462 Members
3212 Online
110025 Solutions
New Discussion

Re: unable to log in to the server using putty

 
SOLVED
Go to solution
apple
Super Advisor

unable to log in to the server using putty

dear hpux gurus,
i was unable to log in to the server using putty. when i tried to ping, the server is up. when go physically to the server, was unable to get the #prompt. what could be the possibly reason for this? we need to shutdown the database before we can force shutdown the server. afraid force shutdown before shutdown the database properly. hope to hear from you
6 REPLIES 6
Khairy
Esteemed Contributor
Solution

Re: unable to log in to the server using putty

hi,

putty is telnet/ssh client.

1) identify whether telnet/ssh is enable in that server.
# netstat -a | grep -e telnet -e ssh

If its running, you shld see the process and it should be listening (LISTEN).

2) check whether the ports are open. (23-telnet and 22-ssh)
From your pc command prompt, type :
C:> telnet 23
or
C:> telnet 22

If you receive a blank, that means the port is open and you could connect to the server.

And lastly, Identify whether you choose correct mode of connection of you putty.

Assign some points if this answer your question,...

Thanks
Dennis Handly
Acclaimed Contributor

Re: unable to log in to the server using putty

>when i tried to ping, the server is up.

No, if you can't login, the server is by definition "down". It doesn't matter if you can ping it. Typically ping is so low level it works where the machine could still be hung.

But as Khairy said, there may be different reasons putty, rlogin, telnet, console may fail.
Paul Sperry
Honored Contributor

Re: unable to log in to the server using putty

I think Khairy has you covered.

But you could have shutdown the database when you were at the console.
Tim Nelson
Honored Contributor

Re: unable to log in to the server using putty

Just to cut though all the possibilities.

Is the server up ? don't know
Is sshd running ? don't know
Is the server hung ? don't know.
....
.....

Please connect to the system console and attempt to log in. This will initially prove or disprove if the server is responding at all.

You mention very little in your post ( unable to login using putty ), but leave open a lot of speculation ( need to shutdown database before we force server shutdown ).
Geoff Wild
Honored Contributor

Re: unable to log in to the server using putty

Maybe telnet or ssh is down?

Login to the console and see what is enabled...

netstat -an |grep LISTEN

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Mridul Shrivastava
Honored Contributor

Re: unable to log in to the server using putty

Simplest way to check if telent is working or not. Login to console and then execute telnet 0 If this gives you login prompt then telent is working fine.

May be you can try restarting the inetd services.

Time has a wonderful way of weeding out the trivial