08-10-2011
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi could someone tell me where to find a secure copy prog.
for unix and windows
thnx a lot
helios (4 Replies)
Discussion started by: helios
4 Replies
2. UNIX for Dummies Questions & Answers
I am currently getting the following error on a solaris box : Could not open SCM connectionlaris box:
Would someone be able to help me understand the error as I do not know what a SCM connection is.
thanks
Kristian (1 Reply)
Discussion started by: kristian
1 Replies
3. Cybersecurity
I am needing to "un-block" port 3306 so that I can access MySQL from another PC.
When I installed Mandrake 8.1, I set the security level to high because it is going to be a web server. I believe I have to allow access to my ports now and I do not know the commands to do that.
If anyone... (4 Replies)
Discussion started by: gdboling
4 Replies
4. HP-UX
Hello,
We try to do an SCP of a Sybase dump file of 4Go between two production HP-UX servers.
Each time the transfer stopn at 299Mo and we have the message "connection lost".
The destination FS has largefiles option activated.
Could you help ? (7 Replies)
Discussion started by: ohemeg
7 Replies
5. UNIX for Dummies Questions & Answers
Hi,
i want to write a script that executes a program (exec?) .
this program then requires a filename as input.
how do i give it this input in the script so the program will be complete run and close by the script.
e.g.
exec prog.exe
program then asks for filename
"enter filename:"... (1 Reply)
Discussion started by: tuathan
1 Replies
6. UNIX for Dummies Questions & Answers
Hello UNIX users,
Thanks for helping me in my earlier post. Now, I am facing a timeout issue when ever I am transferring a zipped file from my server to client's server.
If the zipped file size is below 3 MB, it goes fine. Anything above that fails.
Below is the part of screenshot from... (1 Reply)
Discussion started by: st3636
1 Replies
7. Shell Programming and Scripting
I'm trying to run MPI programs on 8 machines, but I get the error
connect to address 127.0.0.1 port 544: Connection refused
Trying krb4 rsh...
connect to address 127.0.0.1 port 544: Connection refused
trying normal rsh (/usr/bin/rsh)
lagrid02: Connection refused
When I run it with a... (8 Replies)
Discussion started by: vishwamitra
8 Replies
8. HP-UX
I was wondering if HP offers a loaner program to allow me virtual access to a HP-UX host, similar to IBM's loaner program for their AIX platform. The loaner program is essentially a VPN to IBM's network where you can access a number of AIX machines remotely.
Thanks! (2 Replies)
Discussion started by: vokuro
2 Replies
9. UNIX for Advanced & Expert Users
Hi everybody,
I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop.
I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies
10. Shell Programming and Scripting
Hi Team,
I have 2 servers Server-A & Server-B.
Is there any way to test scp connection between Server-A & Server-B without transferring file?
Basically i want to test the availability of scp connection..
Thanks in advance... (6 Replies)
Discussion started by: Girish19
6 Replies
LEARN ABOUT CENTOS
dbd::gofer::transport::stream
DBD::Gofer::Transport::stream(3) User Contributed Perl Documentation DBD::Gofer::Transport::stream(3)
NAME
DBD::Gofer::Transport::stream - DBD::Gofer transport for stdio streaming
SYNOPSIS
DBI->connect('dbi:Gofer:transport=stream;url=ssh:username@host.example.com;dsn=dbi:...',...)
or, enable by setting the DBI_AUTOPROXY environment variable:
export DBI_AUTOPROXY='dbi:Gofer:transport=stream;url=ssh:username@host.example.com'
DESCRIPTION
Without the "url=" parameter it launches a subprocess as
perl -MDBI::Gofer::Transport::stream -e run_stdio_hex
and feeds requests into it and reads responses from it. But that's not very useful.
With a "url=ssh:username@host.example.com" parameter it uses ssh to launch the subprocess on a remote system. That's much more useful!
It gives you secure remote access to DBI databases on any system you can login to. Using ssh also gives you optional compression and many
other features (see the ssh manual for how to configure that and many other options via ~/.ssh/config file).
The actual command invoked is something like:
ssh -xq ssh:username@host.example.com bash -c $setup $run
where $run is the command shown above, and $command is
. .bash_profile 2>/dev/null || . .bash_login 2>/dev/null || . .profile 2>/dev/null; exec "$@"
which is trying (in a limited and fairly unportable way) to setup the environment (PATH, PERL5LIB etc) as it would be if you had logged in
to that system.
The ""perl"" used in the command will default to the value of $^X when not using ssh. On most systems that's the full path to the perl
that's currently executing.
PERSISTENCE
Currently gofer stream connections persist (remain connected) after all database handles have been disconnected. This makes later
connections in the same process very fast.
Currently up to 5 different gofer stream connections (based on url) can persist. If more than 5 are in the cache when a new connection is
made then the cache is cleared before adding the new connection. Simple but effective.
TO DO
Document go_perl attribute
Automatically reconnect (within reason) if there's a transport error.
Decide on default for persistent connection - on or off? limits? ttl?
AUTHOR
Tim Bunce, <http://www.tim.bunce.name>
LICENCE AND COPYRIGHT
Copyright (c) 2007, Tim Bunce, Ireland. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
SEE ALSO
DBD::Gofer::Transport::Base
DBD::Gofer
perl v5.16.3 2013-04-04 DBD::Gofer::Transport::stream(3)