- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Pseudo Terminal Session Number/Name Options
Operating System - HP-UX
1752322
Members
5709
Online
108786
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО09-04-2007 10:16 AM
тАО09-04-2007 10:16 AM
Re: Pseudo Terminal Session Number/Name Options
Hi Clay,
I ran the scripts, and they ran fine. I uncommented out the rm and mknod parts. Ran on the console, all appeared to run fine.
After it was done the contents of /dev/pts was as expected. All looked good.
However, when I telnet into the Server I get:
telnetd: /dev/pts/ta: No such file or directory
I have bounced the Server.
I can back it out, I've just be establishing and breaking a mirror each time. So, I have an easy back out.
Do you have any idea what else needs to be changed?
Thanks in advance.
Gareth
I ran the scripts, and they ran fine. I uncommented out the rm and mknod parts. Ran on the console, all appeared to run fine.
After it was done the contents of /dev/pts was as expected. All looked good.
However, when I telnet into the Server I get:
telnetd: /dev/pts/ta: No such file or directory
I have bounced the Server.
I can back it out, I've just be establishing and breaking a mirror each time. So, I have an easy back out.
Do you have any idea what else needs to be changed?
Thanks in advance.
Gareth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2007 10:50 AM
тАО09-04-2007 10:50 AM
Re: Pseudo Terminal Session Number/Name Options
Without know the internals of the newer pty/ptm driver, it's nothing more than a guess --- which is why I warned you to back everything up before doing this. You actually could have created a slighty modified version of the second script to restore things as they were.
It's time to fix the problem rather than trying to fix the symptoms; fix that stupid COBOL ---- and this was a state-of-the-art stupid method of generating temporary file names.
It's time to fix the problem rather than trying to fix the symptoms; fix that stupid COBOL ---- and this was a state-of-the-art stupid method of generating temporary file names.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2007 11:51 AM
тАО09-04-2007 11:51 AM
Re: Pseudo Terminal Session Number/Name Options
Well thanks for responding Clay, I appreciate it.
It's just not realistic to change all the reports in the next 1.5 weeks, which is when we were needing to go live. There are 100's of them. Programmers, sys admins all inherited this mess, sadly.
There seems to be the same amount of special files in /dev as there are in /dev/pts. Could the same name change need to take place there too?
We're running 11.11.
Thanks again for your help.
It's just not realistic to change all the reports in the next 1.5 weeks, which is when we were needing to go live. There are 100's of them. Programmers, sys admins all inherited this mess, sadly.
There seems to be the same amount of special files in /dev as there are in /dev/pts. Could the same name change need to take place there too?
We're running 11.11.
Thanks again for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2007 03:14 PM
тАО09-04-2007 03:14 PM
Re: Pseudo Terminal Session Number/Name Options
>Could the same name change need to take place there too?
You could try but I think the kernel is just keeping track of the free device by a number then it translates that into the character string. And you by removing those devices, get that missing /dev/pts/ta for 10.
>JRF: typeset TMPDIR=${TMPDIR:=/var/tmp}/...
Any reason you use typeset? You want these to be local to a function?
Also, the correct syntax is ":-", not ":=". When you use ":=", you typically use it as:
$ YY=${XX:=abc} # set two variables
$ : $(XX:=abc} # only set XX
With ":-", you don't have to worry about setting TMPDIR twice. ;-)
You could try but I think the kernel is just keeping track of the free device by a number then it translates that into the character string. And you by removing those devices, get that missing /dev/pts/ta for 10.
>JRF: typeset TMPDIR=${TMPDIR:=/var/tmp}/...
Any reason you use typeset? You want these to be local to a function?
Also, the correct syntax is ":-", not ":=". When you use ":=", you typically use it as:
$ YY=${XX:=abc} # set two variables
$ : $(XX:=abc} # only set XX
With ":-", you don't have to worry about setting TMPDIR twice. ;-)
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP