- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Pty Sessions
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
10-28-2005 02:30 PM
10-28-2005 02:30 PM
I gotta a prob related to pty sessions.
It starts like this, whenever I login my screen displays some junjk o/p and I never get my prompt.I may have to repeat sometimes and getan indep.session. I could see upto pts/60
sessions were already alloted(I wondered)..then
I come to kno the pty para configured in my kernel shows,
npty - 256
nstrpty - 60
My Query is,
--> This issue hasnt araised for the past 2 yrs,as the system config. has not changed after tht,
--> I tried restarting ptydaemon, now it stopped, bt its not getting started,
--> Any ways to clear those old sessions, if they are not actually running any programs,
--> Is there any option to resolve this issue without restarting my server, since this runs my job.
Awaiting for all precious replies..points guaranteed.
NOTE: As obvious, im able to login thro' console.
regds, Granite
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2005 02:33 PM
10-28-2005 02:33 PM
Re: Pty Sessions
Forgot to say, Im running only ssh and there is no telnet/remote connections.
regds..Granite
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2005 06:11 PM
10-28-2005 06:11 PM
Re: Pty Sessions
Pls check the variable PTYDAEMON_START in the file /etc/rc.config.d/ptydaemon. This value of this variable should be 1 in order to start the ptydaemon.
PTYDAEMON_START=1
Try starting the ptydaemon
Then try to login to the server.
Try using PUTTY for connecting to the server. It has option for telnet, rlogin and SSH
I am attaching the exe file of putty.
Regards
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2005 07:41 AM
10-29-2005 07:41 AM
Re: Pty Sessions
As I said telnet/rlogin are disabled and we are already using putty for opening sessions..The pty is also enabled at bootup.
Regds, Granite
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2005 06:57 PM
10-29-2005 06:57 PM
SolutionYou also might have lost some of your dev files.
First try
insf -e -n 256 -s 60
if that does not work You might consider changing nstrpty to 256.
and then do.
insf -e -n 256 -s 256
Rory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2005 02:12 AM
10-31-2005 02:12 AM
Re: Pty Sessions
Thxs for your input. Atlast I took downtime,changed the "nstrpty" value and rebooted..
Thxs saju
Regds, Granite