1834798 Members
2484 Online
110070 Solutions
New Discussion

Re: Telnet ioctl error

 
dipesh_2
Regular Advisor

Telnet ioctl error

Hi all,

I am trying to connect through telnet to my sun server. But i am receiving an error like this,
"telnetd: ioctl I_PUSH ptem: Inappropriate ioctl for device"
.
Connection to host lost.


what should i do to resolve this issue.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Telnet ioctl error

Shalom,

Check the servers error log.

/var/adm/syslog/syslog.log on hpux.

Kind of wondering why the question is here? Are sun forums so bad?

If hpux is involved here at all, make sure you have enough possible terminal devices in the kernel nstrel defaults to 60 and you may need more.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Yogeeraj_1
Honored Contributor

Re: Telnet ioctl error

hi,

According to the SUN website (http://docs.sun.com/app/docs/doc/802-2022/6i610sjc9?a=view), the error message:
"Inappropriate ioctl for device"

Cause:
This is a programming error.

Action:
Ask the program's author to fix this condition. The program needs to be changed so it employs a device driver that can accept special character device controls.

Technical Notes The ioctl() system call was given as an argument for a file that is not a special character device. This message replaces the traditional but puzzling "Not a typewriter" message.

The symbolic name for this error is ENOTTY, errno=25.

Can you try to login from another host?

maybe telnet access on the Sun server is disabled.

hope this helps!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
dipesh_2
Regular Advisor

Re: Telnet ioctl error

problem resolve