09-20-2009
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello All,
I wonder if you can help me...
Let me give you some set-up details before I ask you the question.
I have Ultra-60 at home with Solaris 9 and recommended patch cluster installed. The machine is connected to a Linksys WAG54G ADSL router/modem through RJ45 ethernet cable. The... (2 Replies)
Discussion started by: ahmerin
2 Replies
2. UNIX for Advanced & Expert Users
Hello
I'm facing the above problem while doing a performance run. I've a script which I'm launching from my windows desktop using mozilla. The script will invoke backend action on a Solaris host which in turn feeds the records to a driver located on a linux box(Cent OS).
What's happening is... (1 Reply)
Discussion started by: subramanyab
1 Replies
3. Solaris
Hi all,
I have to view only success full login attempts . View who are all
logged in correctly , and where it can be stored?
Thanks in advance
Gnanavel (3 Replies)
Discussion started by: Gnanavel
3 Replies
4. AIX
i am in node acbs01b and i use the root@fcbs01b to login and i have the below message .
ssh root@fcbs01b
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT... (6 Replies)
Discussion started by: thecobra151
6 Replies
5. HP-UX
why I can login by telnet using root account
but when i use login by ssh using root account
it is not successful ,is it different password
i am sure ssh service is started (2 Replies)
Discussion started by: alert0919
2 Replies
6. AIX
I have four AIX 6.1.7.4 systems freshly built and ready for our DBAs to do their work. Of the three one runs into an odd issue while logging in as himself, using Putty with ssh protocols. He logs in successfully, but also gets the following error message:
: 3004-300 You entered an invalid login... (2 Replies)
Discussion started by: Mike Brendan
2 Replies
7. Shell Programming and Scripting
Hi All,
We are working on linux with putty terminal for file transferring using SFTP server...
here we want to know /We have Urgent Requirement
If SFTP connection is successfull then we should get .txt log file in target locaton as "Success/Failure"
Please provide batch script for above... (7 Replies)
Discussion started by: sravanreddy
7 Replies
8. HP-UX
After install of the Sept. 2010 patch set on my hpux 11.23 system, my xterm when launched, dies immediately on the client with the xserver, with a core.xterm file in root of the hpux server. This had been working before the patch install.
I tried to find xterm patches from ITRC (yes the old... (1 Reply)
Discussion started by: mrmurdock
1 Replies
9. Shell Programming and Scripting
i have a script that connects to the oracle database and executes the query statements. it works fine and i would like to add some message to check if the connection to oracle is not successful.
basically this is the code snippet:
#!/bin/sh
...
...
...
sqlplus -s username/password@dbName... (2 Replies)
Discussion started by: wtolentino
2 Replies
LEARN ABOUT DEBIAN
poe::component::connection::keepalive
POE::Component::Connection::Keepalive(3pm) User Contributed Perl Documentation POE::Component::Connection::Keepalive(3pm)
NAME
POE::Component::Connection::Keepalive - a wheel wrapper around a kept-alive socket
VERSION
version 0.271
SYNOPSIS
See the SYNOPSIS for POE::Component::Client::Keepalive for a
complete working example.
my $connection = $response->{connection};
$heap->{connection} = $connection;
$connection->start( InputEvent => "got_input" );
delete $heap->{connection}; # When done with it.
DESCRIPTION
POE::Component::Connection::Keepalive is a helper class for POE::Component::Client::Keepalive. It wraps managed sockets, providing a few
extra features.
Connection objects free their underlying sockets when they are DESTROYed. This eliminates the need to explicitly free sockets when you are
done with them.
Connection objects manage POE::Wheel::ReadWrite objects internally, saving a bit of effort.
new
Creates a new POE::Component::Connection::Keepalive instance. It accepts two parameters: A socket handle (socket) and a reference to a
POE::Component::Client::Keepalive object to manage the socket when the connection is destroyed.
my $conn = POE::Component::Connection::Keepalive->new(
socket => $socket_handle,
manager => $poe_component_client_keepalive,
);
new() is usually called by a POE::Component::Client::Keepalive object.
start
Starts a POE::Wheel::ReadWrite object. All parameters except Handle for start() are passed directly to POE::Wheel::ReadWrite's
constructor. Handle is provided by the connection object. start() returns a reference to the new POE::Wheel::ReadWrite object, but it
is not necessary to save a copy of that wheel. The connection object keeps a copy of the reference internally, so the wheel will persist
as long as the connection does. The POE::Wheel::ReadWrite object will be DESTROYed when the connection object is.
# Asynchronous connection from Client::Keepalive.
sub handle_connection {
my $connection_info = $_[ARG0];
$_[HEAP]->{connection} = $connection_info->{connection};
$heap->{connection}->start(
InputEvent => "got_input",
ErrorEvent => "got_error",
);
}
# Stop the connection (and the wheel) when an error occurs.
sub handle_error {
delete $_[HEAP]->{connection};
}
wheel
Returns a reference to the internal POE::Wheel::ReadWrite object, so that methods may be called upon it.
$heap->{connection}->wheel()->pause_input();
close
Closes the connection immediately. Calls shutdown_input() and shutdown_output() on the wheel also.
SEE ALSO
POE POE::Component::Client::Keepalive POE::Wheel::ReadWrite
BUGS
None known.
LICENSE
This distribution is copyright 2004-2009 by Rocco Caputo. All rights are reserved. This distribution is free software; you may
redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Rocco Caputo <rcaputo@cpan.org>
Special thanks to Rob Bloodgood.
perl v5.14.2 2012-05-15 POE::Component::Connection::Keepalive(3pm)