- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Not able to login to the server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2009 03:25 AM
тАО03-27-2009 03:25 AM
Not able to login to the server
We are not able to log in to an hp-ux server using ssh.We logged in to the box from console .While we checked the number of users logged on to the box ,we can see lot users with the following status.
$ w
10:55am up 183 days, 21:17, 50 users, load average: 0.11, 0.13, 0.20
User tty login@ idle JCPU PCPU what
nrv727 console 12:34pm -sh
gpy166 ttyp1 10:11am 2 -su
iwv646 ttyp2 10:54am -sh
aze016 ttyp4 9:49am 11 -su
hqb255 ttyp5 12:59pm1557:49 -
hqb255 ttyp6 11:10am355:26 -
qnf025 ttyp7 2:28pm334:33 -
hqb255 ttyp8 2:39pm2778:36 -
dhi147 ttyp9 3:22pm1345:42 -
hqb255 ttypa 3:41pm4878:27 -
gpy166 ttypb 4:35pm4799:01 -
dhi147 ttypc 4:54pm2274:36 -
gpy166 ttypd 10:49am5717:11 -
gpy166 ttype 11:55am2063:50 -
cls375 ttypf 12:06pm42885:54 -
The total number us users currently present on the server is 54.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2009 03:29 AM
тАО03-27-2009 03:29 AM
Re: Not able to login to the server
#kctune| grep -i pty
npty 60 Default
nstrpty 60 60
check:
man npty
man nstrpty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2009 03:30 AM
тАО03-27-2009 03:30 AM
Re: Not able to login to the server
Does sshd run actually? You could stop/start ssh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2009 03:31 AM
тАО03-27-2009 03:31 AM
Re: Not able to login to the server
do you notice any error messages on the console.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2009 03:33 AM
тАО03-27-2009 03:33 AM
Re: Not able to login to the server
Kill those old sessions if not required,
and as a permanent fix, increase 'npty'
regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2009 03:37 AM
тАО03-27-2009 03:37 AM
Re: Not able to login to the server
the current values are
$ kmtune | grep -i pty
npty 60 - 60
nstrpty 60 - 60
Also we checked from glance and seen that the used value of npty is 6 only.
Also we cant restart the sshd daemon as this is a db production server .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2009 03:51 AM
тАО03-27-2009 03:51 AM
Re: Not able to login to the server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2009 03:24 PM
тАО03-27-2009 03:24 PM
Re: Not able to login to the server
It's possible there is a connection between a corrupted /etc/utmp file and being unable to login to your server. It may forget to free the tty and update utmp?
See this other thread about corrupted utmp:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1327261