06-01-2014
Hello Rudic,
Sorry to trouble/confuse you.
1. If the connection is refused or failed or any other status other than success, the message is not populating the output file.
2. the format of the ouput file should be as i mentioned below and i am not getting the time elapsed for the connection.
seattle01.iris2.local:1522|success |3.4s
boston01-vip.iris2.local:1521|success |0.2s
boston02-vip.iris2.local:1521|service not running|3.4s
please help.
10 More Discussions You Might Find Interesting
1. IP Networking
Hi,
I would like to know how i can setup my unix computer to connect to novell. Anybody any idea? (5 Replies)
Discussion started by: edw1ns
5 Replies
2. IP Networking
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)
Discussion started by: rjanardhan83
1 Replies
3. Solaris
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)
Discussion started by: asalman.qazi
2 Replies
4. IP Networking
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)
Discussion started by: nixhead
1 Replies
5. AIX
hi all
just installed the netsec.options.tcpwrapper from expansion pack, which used to be a rpm, for my aix 6.1 test box.
it is so unpredictable. i set up the hosts.deny as suggested for all and allow the sshd for specific ip addresses/hostnames.
the tcpdchk says the hosts allowed and... (0 Replies)
Discussion started by: wf201626
0 Replies
6. IP Networking
Hi All
I am having issues using ftp between a solaris 10 server to a HP-UX 11.31 server, but from the solaris server to the hp-ux I am able to ping. This is what I have done so far:
in the solaris server:
root@MPCRS01 # svcs -a | grep ftp
online Jul_26 svc:/network/ftp:default... (12 Replies)
Discussion started by: fretagi
12 Replies
7. Shell Programming and Scripting
Hello,
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.
i have written the below code but it doesn't work, but when i execute the nc command outside the script it works fine.
please help me where i am... (8 Replies)
Discussion started by: sknovice
8 Replies
8. HP-UX
Newbie with UNIX here.
Currently troubleshooting a UNIX terminal we have.
I determined it to be bad and swapped it out with a known good terminal. I went in and changed the IP address and host name to reflect the old terminal. Although now there is no connectivity.
I swapped out the NIC... (1 Reply)
Discussion started by: kevinlord190
1 Replies
9. Shell Programming and Scripting
Hi everyone!
Some time ago, I had to check connectivity with a big list of hosts, using different formats (protocol://server:port/path/, server:port, ....).
I developed a script that checks the connectivity using different commands (ping, telnet, nc, curl).
It worked for me so I'm sharing it... (9 Replies)
Discussion started by: Fr3dY
9 Replies
10. Solaris
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 DEBIAN
poe::component::server::simplehttp::connection
POE::Component::Server::SimpleHTTP::Connection(3pm) User Contributed Perl Documentation POE::Component::Server::SimpleHTTP::Connection(3pm)
NAME
POE::Component::Server::SimpleHTTP::Connection - Stores connection information for SimpleHTTP
SYNOPSIS
use POE::Component::Server::SimpleHTTP::Connection;
my $connection = POE::Component::Server::SimpleHTTP::Connection->new( $socket );
# Print some stuff
print $connection->remote_port;
DESCRIPTION
This module simply holds some information from a SimpleHTTP connection.
METHODS
my $connection = POE::Component::Server::SimpleHTTP::Connection->new( $socket );
$connection->remote_ip(); # Returns remote ip in dotted quad format ( 1.1.1.1 )
$connection->remote_port(); # Returns remote port
$connection->remote_addr(); # Returns true remote address, consult the L<Socket> POD
$connection->local_addr(); # Returns true local address, same as above
$connection->local_ip(); # Returns local ip in dotted quad format ( 1.1.1.1 )
$connection->local_port(); # Returns local port
$connection->dead(); # Returns a boolean value whether the socket is closed or not
$connection->ssl(); # Returns a boolean value whether the socket is SSLified or not
$connection->sslcipher(); # Returns the SSL Cipher type or undef if not SSL
$connection->ID(); # unique ID of this connection
EXPORT
Nothing.
SEE ALSO
POE::Component::Server::SimpleHTTP, POE::Component::Server::SimpleHTTP::Response
AUTHOR
Apocalypse <apocal@cpan.org>
Chris "BinGOs" Williams <chris@bingosnet.co.uk>
COPYRIGHT AND LICENSE
Copyright X Apocalypse and Chris Williams
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-12-28 POE::Component::Server::SimpleHTTP::Connection(3pm)