Still looks like a firewall issue to me. Can you telnet to a few things:-
They should either connect or fail. Try pressing ENTER a few times. You can monitor their success from another session with netstat -na | grep 10.1.20.33 21 to see if the session is established.
Some may never connect, but you should wait at least 60 seconds before cancelling them.
What do you get?
If you are running Linux on either side, are you also using SELinux? That is know for odd errors unless you get it right, and i don't know how.
Hi
I have server A and server B.
On server B the directory is called /tmp/hmp
On server A I want to get the files on server B:/tmp/hmp via FTP. After I have got the files via FTP I have to delete them. In the script below I'm affraid of that I delete files before I get them by ftp.
... (1 Reply)
Hi all,
I'm using the following script to automated ftp files to 1 ftp servers
host=192.168.0.1
/usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp
open $host
bin
cd ${directory}
put $files
quit
ftp
and the .netrc file contain
machine 192.168.0.1
login abc... (4 Replies)
Hi All,
I need an automation script to check the connectivity between 2 UNIX servers.
Could anybody please help in this regards?
regards,
janardhan (1 Reply)
We have two servers A and B (both running Solaris 10) out of which one is application server and the other is database server. The two servers faced certain network issues and the two servers were temporarily disconnected.this happened around 5AM GMT monday.Can anyone suggest some log files or... (2 Replies)
HI I have made a connection with external server which is also UNIX. I was tryign connectivity with this by telnet which fails and ping i sshowing socket is alive and traceroute tells the asterisk astersik:traceroute to 153.88.182.28 (153.88.182.28), 30 hops max, 8080 byte packets
1 * * *
2 *... (1 Reply)
Hi,
I am trying to connect to the database through Unix serer using following command-
mysql -u root -Jepadt -D dtdatabase
But it giving me error -
mysql: unknown option '-J'
Can anybody help me to solve this problm
Thanks in advance
Please use code tags, thanks. (2 Replies)
Hi
Can we pass the parameter from the excel in windows and invoke the unix shell script from excel VBA by passing this parameter and get the results of shell script to the excel sheet?
We tried to get the things in unix independently but we still strucked in connecting the excel to... (5 Replies)
ello,
i am new to the networking side.
I have a requirement to check the tcp network connectivity between server it's running on and the list of host's and ports combination.
please help me where i am going wrong.
my code:
#!/bin/bash
#read the file line by line
cd "$1"
cat... (17 Replies)
I am trying to establish passwordless connectivity between server A and server B, but unsuccessfuly, because I beleive two issues.
the first one is that on both servers, it is not possible to use root to login, it only allows to connect using a user (any) them su - root, which in turns I am able... (1 Reply)
Discussion started by: fretagi
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)