03-26-2004
Knowing the pid won't help if the connection is in FINWAIT2.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I am connecting to a unix host from NT workstation via telnet. After working for around two hours I get the message "connection to host lost" What could the problem be? (1 Reply)
Discussion started by: nbiketi
1 Replies
2. UNIX for Dummies Questions & Answers
hi all,
When I telnet my W2k machine to my Solaris8 machine, after typing my login name and password prompt, I get the following msg immediately.
====
Not on System Console.
Connection to host lost.
====
The 2 machines are connected on the same kingston workgroup hub. Can someone pls help? (3 Replies)
Discussion started by: andrec
3 Replies
3. UNIX for Dummies Questions & Answers
I keep receiving this message when trying to connect using telnet to SunOS 5.8 running Solaris 8 from W2k.
I checked system and inetd.conf and they seem to be ok.
I can ping the host ok.
ftp also works fine.
Any suggestion would be greatly appreciated. (2 Replies)
Discussion started by: goose
2 Replies
4. IP Networking
Hi,
I am having a problem with our AIX 4.3.3 Server accessing FTP. The error is " Connection Closed By Remote Host".
Scenario:
Since i put a default gateway on the server FTP connection is having a problem but when i remove the default gateway it will works fine..
Is there any way not... (1 Reply)
Discussion started by: mouglybean
1 Replies
5. Shell Programming and Scripting
hi
i am trying to connect the frontend server using ssh
i got the following error
ssh_exchange_identification: Connection closed by remote host
can anyone help please (1 Reply)
Discussion started by: Satyak
1 Replies
6. Shell Programming and Scripting
I am using KSH and I need to check whether the remote host has been configured with ssh public key. Is there any way we can check inside a script? (6 Replies)
Discussion started by: praveenbvarrier
6 Replies
7. UNIX for Dummies Questions & Answers
Hi Everyone,
Good day.
Scenario:
2 unix servers -- A (SunOS) and B (AIX)
I have an ftp script to sftp 30 files from A to B which happen almost instantaneously i.e 30 sftp's happen at the same time.
Some of these sftp's fail with the following error:
ssh_exchange_identification: Connection... (1 Reply)
Discussion started by: jeevan_fimare
1 Replies
8. UNIX for Advanced & Expert Users
Suppose host B does not allow public/private key authentication - only secureID authentication. I already have a master ssh connection from host A to host B. Host A does allow public/private key authentication. Is there any way to connect from host C to host B by way of the master ssh connection... (2 Replies)
Discussion started by: cpp6f
2 Replies
9. HP-UX
I am trying to connect to my HP server from remote machine.
It gets connected but once credential are provided the connection is closed.
adroit:/home/seo/hitendra 32 ] telnet myserv1
Trying...
Connected to myserv1.
Escape character is '^]'.
Local flow control on
Telnet TERMINAL-SPEED... (4 Replies)
Discussion started by: hiten.r.chauhan
4 Replies
10. Shell Programming and Scripting
Hi All,
I have a basic question.
In my system i maintained multiple unix server, and only one server has public ip, and all the servers are behind load balancing BIG ip server.
To access any server, user need to access server with public IP then from there they can establish ssh connection to... (2 Replies)
Discussion started by: dilipsn
2 Replies
LEARN ABOUT CENTOS
__pmconnectlogger
PMCONNECTLOGGER(3) Library Functions Manual PMCONNECTLOGGER(3)
NAME
__pmConnectLogger - connect to a performance metrics logger control port
C SYNOPSIS
#include <pcp/pmapi.h>
#include <pcp/impl.h>
int __pmConnectLogger(const char *hostname, int pid);
cc ... -lpcp
DESCRIPTION
Each instance of the Performance Co-Pilot (PCP) archive logger program pmlogger(1) supports a control port on which __pmControlLog(3)
requests are received, and responses sent. Optionally, the pmlogger(1) instance may be designated the ``primary'' logger.
__pmConnectLogger may be used to establish a control port connection to the pmlogger(1) instance identified by process id pid on the host
hostname.
One special case is supported; for the reserved pid value of PM_LOG_CONTROL_PORT the requested connection is to the control port for the
``primary'' logger, whatever its process id might be.
On success, __pmConnectLogger returns a non-negative integer, that is a file descriptor that may be used in subsequent communication with
the pmlogger(1) instance, e.g. for __pmControlLog(3).
As the control port to pmlogger(1) is not mulitplexed, applications using __pmConnectLogger should use close(2) to terminate the connection
to pmlogger(1) as soon as they have finished communicating.
If the application connects, and the pmlogger(1) instance subsequently terminates, e.g. because the associated pmcd(1) instance is termi-
nated, the application will have to explicitly re-establish connection to a re-started pmlogger(1) instance by calling __pmConnectLogger
again.
SEE ALSO
pmcd(1), pmlc(1), pmlogger(1), PMAPI(3) and __pmControlLog(3).
DIAGNOSTICS
PM_ERR_PERMISSION
no permission to connect to the specified pmlogger(1) instance
-ECONNREFUSED
the designated pmlogger(1) instance does not exist
-EEADDRINUSE
the requested control port is already in use
Performance Co-Pilot PCP PMCONNECTLOGGER(3)