1835844 Members
2658 Online
110085 Solutions
New Discussion

Re: telnetd: Fatal error

 

telnetd: Fatal error

Hi.

I've been seeing the next message in syslog.log

...telnetd[#####]: Fatal error: telnet device
drivers missing: No such device.

Any idea ?

Rafael G.
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor

Re: telnetd: Fatal error

As root from the console, cd to /dev.
insf -e to recreate the device nodes.
If it ain't broke, I can fix that.
Joseph C. Denman
Honored Contributor

Re: telnetd: Fatal error

Looks like you lost some device drivers for whatever reason. Rebuild with "insf"

i.e

insf -e (as root)
If I had only read the instructions first??
Wieslaw Krajewski
Honored Contributor

Re: telnetd: Fatal error

Hi,

Using insf -e command does not help because this should be used when you want to recreate device files.
Drivers are kernel modulus.

Message from syslog.log says that you have no pseudo drivers used by telnetd.
Assuming that you use HP-UX11 these drivers are:
telm and tels.
You can check this using for example
kmsystem | grep telm
kmsystem | grep tels

Moreover have a look into /stand/system file.
If there is no lines containing

telm
tels

just add them and rebuild your kernel.

Hope this helps.

Rgds.

Permanent training makes master
A. Clay Stephenson
Acclaimed Contributor

Re: telnetd: Fatal error

Actually, insf -e will work if there is a major device number disagreement with the telnet subsystem otherwise you are correct.
I've never built an 11.x system in which the drivers were not included. In any event, try insf -e it will do no harm.
If it ain't broke, I can fix that.
Insu Kim
Honored Contributor

Re: telnetd: Fatal error

You should modify the values of kernel parameters associated with telnet sessions like npty, nstrpty, nstrtels on SAM or manually.

After increaseing them and rebooting the system, create device files for more telnet sessions.

ll /dev/pty* | wc -l show you how many device files are currently in the system.

# insf -d pty -n -e
# insf -d pts -n -e

Regards,
Never say "no" first.