01-23-2009
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a new SUN server from a sister company, and have been able to network it, and ping the server...however i can't telnet into the box.
When it was at the sister companies site, we were able to telnet in then...just not not its on out network!
Does anyone have a suggestion to what i need... (3 Replies)
Discussion started by: colesy
3 Replies
2. UNIX for Dummies Questions & Answers
Hi
Can someone help me what is the problem, when i try to login via ftp, though i entered the correct password, i got an error message
Connection refused.
please help. thanks (3 Replies)
Discussion started by: kaibiganmi
3 Replies
3. Shell Programming and Scripting
i have 2 servers
test1
production2
------------------------------------
i have script called naveed2.sh in test1.Actually i m trying to connect from scritp naveed2.sh into server production2.
below the contents of script naveed2.sh
#!/bin/ksh
telnet production2.com< n2.txt... (2 Replies)
Discussion started by: ali560045
2 Replies
4. Programming
Hello. I would like to know how to close an existing tcp socket. I have read some stuff and learned how to create a socket and then close it but have not found anything about how to close an existing tcp socket created by another application. The situation is this: I have an ODBC server running and... (6 Replies)
Discussion started by: raidzero
6 Replies
5. Shell Programming and Scripting
Hi. !
When I use the 'NOHUP' along with the '&', the process will be running in the background. Even when I attempt to close (Meaning 'EXIT') the session (say PUTTY in this case), it wont exit unless the process is completed.
But, say when I forcefully terminate the session (SHUT DOWN the... (2 Replies)
Discussion started by: WinBarani
2 Replies
6. Solaris
Hi,
I use solaris Unix .
I find there is some problem in application and it generate many "close-wait" tcp connect and stay in the server . it is generate by process id 7740
root@XX # netstat -an | grep CLOSE_WAIT | wc -l
285
root@XX # netstat -an | grep CLOSE_WAIT
10.158.35.4.34805 ... (2 Replies)
Discussion started by: abcdef
2 Replies
7. Shell Programming and Scripting
Hello people, I am creating a script that will alert me in an ftp or telnet account on my system expires. FTP part is ok, but when I am entering the 3 script, it stucks. I can see that the script will not close the telnet seession. Can you please check and let me know what I am doing wrong? What if... (7 Replies)
Discussion started by: drbiloukos
7 Replies
8. Solaris
Can ssh to server. Asks for password.
Then seems to time out and close the connection. Any ideas?
---------- Post updated at 09:30 AM ---------- Previous update was at 07:51 AM ----------
Here is output from ssh -vvv -l user <IPaddress>
debug3: packet_send2: adding 64 (len 59 padlen 5... (4 Replies)
Discussion started by: psychocandy
4 Replies
9. UNIX for Dummies Questions & Answers
I'm trying to remotely run an upgrade script (via SSH) that update the SSH script on several hosts, just need to add several flags for the ssh command to look like this:
ssh -Nf -i id_logs -o ExitOnForwardFailure=yes -o StrictHostKeyChecking=no -o ServerAliveInterval=60 -o ServerAliveCountMax=5... (4 Replies)
Discussion started by: OdedOvdat
4 Replies
10. Shell Programming and Scripting
Dear all,
We have a service that we start up remotely with rsh but unfortunately, the rsh never returns to the calling server. This seems to be because the processes of the service we've just started hold the port open.RBATTE1 @ /home/RBATTE1>netstat -na|grep 49.51
tcp4 0 0 ... (1 Reply)
Discussion started by: rbatte1
1 Replies
LEARN ABOUT CENTOS
telnet-probe
TELNET-PROBE(1) General Commands Manual TELNET-PROBE(1)
NAME
telnet-probe - lightweight telnet-like port probe
SYNOPSIS
$PCP_BINADM_DIR/telnet-probe [-c] [-v] host port
DESCRIPTION
telnet-probe allows the pmdashping(1) daemons to establish connections to arbitrary local and remote service-providing daemons so that
response time and service availability information can be obtained.
The required host and port number arguments have the same meaning as their telnet(1) equivalents.
The -c option causes telnet-probe to perform a connect(2) only. This skips the read(2) and write(2) exercise that would otherwise be done
after connecting (see below).
The -v option causes telnet-probe to be verbose while operating.
Once the telnet connection has been established, telnet-probe reads from stdin until end-of-file, and writes all the input data to the tel-
net connection. Next, telnet-probe will read from the telnet connection until end-of-file, discarding whatever data it receives. Then
telnet-probe exits.
To operate successfully, the input passed via telnet-probe to the remote service must be sufficient to cause the remote service to close
the connection when the last line of input has been processed, e.g. ending with ``quit'' when probing SMTP on port 25.
By default telnet-probe will not produce any output, unless there is an error in which case a diagnostic message can be displayed (in ver-
bose mode only) and the exit status will be non-zero indicating a failure.
PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the
file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configura-
tion file, as described in pcp.conf(5).
DIAGNOSTICS
If telnet-probe succeeds, then 0 will be returned. If the attempt to establish a connection fails or is terminated, then a non-zero exit
status is returned.
SEE ALSO
PCPintro(1), pmdashping(1), pmie(1), telnet(1), connect(2), read(2) and write(2).
Performance Co-Pilot PCP TELNET-PROBE(1)