Operating System - HP-UX
1751816 Members
5820 Online
108781 Solutions
New Discussion юеВ

Re: Telnet connection problem

 
richard_kouadio
Advisor

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 4
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