HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

Telnet connection problem

 

Telnet connection problem

I try to configure telnet in vain.
I have check the line witch refer telnet in /etc/services et /etc/inetd.conf, in both files this lines are uncomment.
When I do netstat -a | grep *.telnet I got the following messages:Reading from a core file is no longer supported.
I don't know what core the system refers about.
Are someone that have any idea
Thx
4 REPLIES
Steven Schweda
Honored Contributor

Re: Telnet connection problem

As usual, some basic information about the
system would be nice to have.

uname -a

Also as usual, showing actual commands with
their actual output (copy+paste) might be
more helpful than vague descriptions and
interpretations.

> [...] netstat -a | grep *.telnet [...]

If you're using a normal UNIX shell, then
you should expect it to expand a wildcard
like "*.telnet". You might get better
results from:

netstat -a | grep telnet
or:
netstat -a | grep '*.telnet'


> I try to configure telnet in vain.

Does Telnet not work? Did you try it? How?
What happened when you did?
Kevin Lister
Frequent Advisor

Re: Telnet connection problem

Howdy,

Did you HUP the inetd daemon?

Try this:

ps -ef |grep inetd

Make a note of the process id of the inetd daemon running on your system.

The run this command:

kill -1 PID

Replace PID with the process number that you found in the ps command output.

Make sure you use the -1 (that's the number one and not the letter ell) switch!

The -1 switch will "hang up" the daemon and will cause it to re-read the inetd.conf.

If you forget the -1 in the kill command it will KILL the inetd daemon instead of just "restarting" it.

Hope this helps.

kev

Steven Schweda
Honored Contributor

Re: Telnet connection problem

> Try this:
> [...]

man inetd

Look for "-c".
Matti_Kurkela
Honored Contributor

Re: Telnet connection problem

> When I do netstat -a | grep *.telnet I got the following messages:
Reading from a core file is no longer supported.

In this case, "core file" refers to /dev/kmem. On PA-RISC hardware, the netstat command apparently got the information by accessing kernel structures directly through /dev/kmem. On Itanium hardware, the interface is apparently somewhat different.

Is your system currently running a "previous" or "backup" kernel configuration (i.e. booted with "hpux vmunix.prev", "hpux backup/vmunix" or "boot backup/vmunix" on Itanium hardware)? In that case, some commands may behave oddly, unless told to use the correct kernel configuration.

(Those commands need to read some data from kernel configuration files in /stand to correctly interpret the information they get from /dev/kmem or whatever...)

Or has someone deleted/renamed/corrupted your /stand/system file or the /dev/kmem device?

MK
MK