What does this error imply?

stty: tcgetattr: A specified file does not support the ioctl system call.
stty: tcgetattr: A specified file does not support the ioctl system call.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Where/when do you see this error? I would guess from the "[YOU HAVE NEW MAIL]" that you are seeing it when you login to AIX from a console or via telnet. Do you get this message on one or other or both ways of logging in? It is probably a message being issued by a "stty" command in your own .profile or .kshrc or /etc/profile or something else. What are the contents of these? I would guess that you have an "stty" call which is valid on a console login (via a "tty" device) but not on a telnet login (via a "pty" device).
JohnLucaniaAuthor Commented:
I am seeing this from a cron job for a custom ksh run.  
If you know the ksh file that the cron job is running, then remove the refrences for stty command from that file. A cron job which is non interactive doesn't require any terminal (tty) related commands. It would have been placed there for some testing and all but you can remove them if there's no impact.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.