- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unable to get pty error while opening termina...
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
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
тАО05-20-2009 08:39 PM
тАО05-20-2009 08:39 PM
Unable to get pty error while opening terminal in CDE
Unable to get pty
*** STDERR(1): (/usr/dt/bin/dtexec) /usr/dt/bin/dtterm: PID 20991: Thu May 21 09:54:10 2009
ptsname: Permission denied
Warning:
Name: dtTerm
Class: DtTerm
unable to get pty
*** [187]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 08:42 PM
тАО05-20-2009 08:42 PM
Re: Unable to get pty error while opening terminal in CDE
What is the npty value? and how many users are login into the server?
increas the npty value then check
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 08:48 PM
тАО05-20-2009 08:48 PM
Re: Unable to get pty error while opening terminal in CDE
it is large enough
kctune |grep pty
npty 4096 4096
nstrpty 4096 4096
I tried runing insf -e
Itv was running fine before reboot. Issue started after reboot. ssh telnet is fine for non-root users.
Regards,
Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 08:55 PM
тАО05-20-2009 08:55 PM
Re: Unable to get pty error while opening terminal in CDE
There are no dtterm device files. They must be recreated.
#kctune |grep pty
npty 4096 4096
nstrpty 4096 4096
#kctune | grep nstrtel
# insf -d pts -s 4096 -e #< where 4096 is the value of nstrpty >
# insf -d pty -n 4096 -e #< where 4096 is the value of npty >
# insf -d tels -s
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 09:18 PM
тАО05-20-2009 09:18 PM
Re: Unable to get pty error while opening terminal in CDE
insf -d pts -s 4096 -e
insf: Installing special files for pseudo driver pts
kctune | grep nstrtel
nstrtel 4096 4096
insf -d pty -n 4096 -e
insf: Installing special files for pseudo driver ptym
insf: Installing special files for pseudo driver ptys
insf -d tels -s 4096 -e
insf: Installing special files for pseudo driver tels
---------------------------------------------
bounced dtlogin deamons .. for root is working very fine do I missing any file permissions ..
Verified all /usr/dt , /etc/X11 , dev/pty ,/dev/ptm file with workingsystem and they looks fine..
don't know what is issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 09:31 PM
тАО05-20-2009 09:31 PM
Re: Unable to get pty error while opening terminal in CDE
What is the error messages your are getting, is there any error at syslog.log ?
Post the output or this below command
# ll /dev/pts/[0-9] /dev/pts/[0-9][0-9]
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 09:44 PM
тАО05-20-2009 09:44 PM
Re: Unable to get pty error while opening terminal in CDE
I assume you don't have problem accessing telnet sessions with the said non-root users and they can access their home directories.
Please check the .dtprofile and .profile of the non-root users. Try copying the standard .dtprofile and .profile from /usr/newconfig/...
Let me know the result.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 09:54 PM
тАО05-20-2009 09:54 PM
Re: Unable to get pty error while opening terminal in CDE
I moved .profile and .dtprofile from non-root user to to some other location and copied /usr/newconfig/.profile to user home.
I did'nt fine .dtprofile there but it got created after login..
But same issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 09:57 PM
тАО05-20-2009 09:57 PM
Re: Unable to get pty error while opening terminal in CDE
Please find the o/p of
ll /dev/pts/[0-9] /dev/pts/[0-9][0-9]as attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 10:07 PM
тАО05-20-2009 10:07 PM
Re: Unable to get pty error while opening terminal in CDE
How many users are currently loggin into the system ?
Please post this output
who -q
who -u
and what is the error message now you are getting while login as a normal user ?
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 10:14 PM
тАО05-20-2009 10:14 PM
Re: Unable to get pty error while opening terminal in CDE
Currently 27 users are logged in to the system/ telnet ssh is not as issue.
but through xmanager I user able to login but while opening teminal, get's error
! Unable to get pty .. user is not able to work on terminal, prompt doesn;t appear.
Everything is working for root ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 09:56 PM
тАО05-21-2009 09:56 PM
Re: Unable to get pty error while opening terminal in CDE
the issue has been resolved .. It was permission issue only. I was mission to check the folder permissons every time after running insf -e
.
if error is permission denied then it really mean.
No othre issue only look for /dev permissions .
Thanks a lot ... Suraj ganesh for your time.
Regards,
Vijay