- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: login. STDERR -->> stty: : Not a typewriter No...
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
тАО01-05-2010 10:31 PM
тАО01-05-2010 10:31 PM
How do I get rid of this error:
login. STDERR -->>
stty: : Not a typewriter
Not a terminal
What should be my terminal settings? is there anything that I should edit under /etc/profile and or .profile file of the user experiencing this error message?
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2010 10:33 PM
тАО01-05-2010 10:33 PM
SolutionHope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2010 11:02 PM
тАО01-05-2010 11:02 PM
Re: login. STDERR -->> stty: : Not a typewriter Not a terminal
When ControlM logs into the box to call and execute the script, this error appears in my log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2010 11:03 PM
тАО01-05-2010 11:03 PM
Re: login. STDERR -->> stty: : Not a typewriter Not a terminal
20100106 143401 Failed to submit job.
20100106 143401 Found empty sysout file.
20100106 143401 Possible cause of problem:
1. Job submission aborted due to error is user profile.
2. Job submission aborted due to error is Autoedit variables.
login. STDOUT -->>
logout
login. STDERR -->>
ksh: /CTRLM/Agent/Unix/ctm/sysout/test_sh.LOG_00go35_00001: cannot create
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2010 12:25 AM
тАО01-06-2010 12:25 AM
Re: login. STDERR -->> stty: : Not a typewriter Not a terminal
It is probably because of your stty settings in the ctlM user's profile
Check this thread
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=72142
Rgds!
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2010 04:50 AM
тАО01-06-2010 04:50 AM
Re: login. STDERR -->> stty: : Not a typewriter Not a terminal
I suspect you now know the answer since you also posted into this very old thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=72142
Essentially, anytime you cause your '.profile' to be sourced, (because you did something like 'su - username -c somescript') _but_ your script isn't associated with a terminal because you 'cron'ed it, then the 'stty' process which runs in your '.profile' complains that the environment isn't interactive (i.e. "not a typewriter").
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2010 07:55 PM
тАО01-06-2010 07:55 PM
Re: login. STDERR -->> stty: : Not a typewriter Not a terminal
For HP-UX logins that use the POSIX or ksh shell, you can use tty to determine if a terminal (interactive) session is active during the profile setup, something like this:
tty -s
if [ $? -eq 0 ]
then
stty ...
tabs
fi
Be sure to look at /etc/profile as well as .profile (and other shell profiles if used).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2010 01:24 AM
тАО03-02-2010 01:24 AM
Re: login. STDERR -->> stty: : Not a typewriter Not a terminal
I had similar issue with control-m and resolved after the etrust restart.