Sponsored Content
Operating Systems HP-UX FTP large files - Getting "Connection Refused" Post 302251115 by joeyg on Saturday 25th of October 2008 06:52:08 AM
Old 10-25-2008
Hammer & Screwdriver When do you see "connection refused"

Can we see some kind of log of events?

If I understand this correctly, you connected to the server ok, but upon attempting to send a files(s), received this message?

I am just trying to be clear that the large file send was rejected and not the initial attempt to connect and begin ftp.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

FTP "get" on files using date/time

hi! I want to "get/mget" files from a FTP server, selecting on age of existing files at remote host. example in natural lang: "get all files from FTP-server newer than 2 days". I'm presently trying to "output - grep - awk on date/time - mget". Doesn't work very good. Has any1... (6 Replies)
Discussion started by: jonascarlson
6 Replies

2. AIX

SSH has this error: "server refused our key"

I did successful yestday as Porter's doc: 1. Create private/pub key on AIX: $ssh-keygen -t identity 2. Get my private key from the AIX server, found in $HOME/.ssh/identity Put that on Windows box. I use WinSCP to transfer private key from AIX to Windows 3. Run puttygen.exe and... (8 Replies)
Discussion started by: rainbow_bean
8 Replies

3. Shell Programming and Scripting

"Join" or "Merge" more than 2 files into single output based on common key (column)

Hi All, I have working (Perl) code to combine 2 input files into a single output file using the join function that works to a point, but has the following limitations: 1. I am restrained to 2 input files only. 2. Only the "matched" fields are written out to the "matched" output file and... (1 Reply)
Discussion started by: Katabatic
1 Replies

4. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

7. UNIX for Advanced & Expert Users

ftp connection refused

Hi- While trying ftp from AIX to Windows im getting below error. Can anyone share ur views on this topic. root@AB101# ftp -n 10.192.168.68 ftp: connect: A remote host refused an attempted connect operation. ftp> Thanks. (3 Replies)
Discussion started by: yanis
3 Replies

8. UNIX for Dummies Questions & Answers

SSHd is running, but cant connect "Network error: Connection refused"

Hi, i checked on rhel VPS is running sshd (service ssh status) But i cant connect via putty: "Network error: Connection refused" Please which log file in my centos rhel linux i need to watch or what are steps to do to discover cause? (3 Replies)
Discussion started by: postcd
3 Replies

9. Shell Programming and Scripting

Delete all log files older than 10 day and whose first string of the first line is "MSH" or "<?xml"

Dear Ladies & Gents, I have a requirement to delete all the log files in /var/log/test directory that are older than 10 days and their first line begin with "MSH" or "<?xml" or "FHS". I've put together the following BASH script, but it's erroring out: for filename in $(find /var/log/test... (2 Replies)
Discussion started by: Hiroshi
2 Replies
Log::Handler::Output::Socket(3pm)			User Contributed Perl Documentation			 Log::Handler::Output::Socket(3pm)

NAME
Log::Handler::Output::Socket - Send messages to a socket. SYNOPSIS
use Log::Handler::Output::Socket; my $sock = Log::Handler::Output::Socket->new( peeraddr => "127.0.0.1", peerport => 44444, proto => "tcp", timeout => 10 ); $sock->log(message => $message); DESCRIPTION
With this module it's possible to send messages over the network. METHODS
new() Call "new()" to create a new Log::Handler::Output::Socket object. The following options are possible: peeraddr The address of the server. peerport The port to connect to. proto The protocol you wish to use. Default is TCP. timeout The timeout to send message. The default is 5 seconds. persistent and reconnect With this option you can enable or disable a persistent connection and re-connect if the connection was lost. Both options are set to 1 on default. dump Do you like to dump the message? If you enable this option then all messages will be dumped with "Data::Dumper". dumper Do you want to use another dumper as "Data::Dumper"? You can do the following as example: use Convert::Bencode_XS; dumper => sub { Convert::Bencode_XS::bencode($_[0]) } # or maybe use JSON::PC; dumper => sub { JSON::PC::convert($_[0]) } connect This option is only useful if you want to pass your own arguments to "IO::Socket::INET" and don't want use "peeraddr" and "peerhost". Example: connect => { PerrAddr => "127.0.0.1", PeerPort => 44444, LocalPort => 44445 } This options are passed to "IO::Socket::INET". log() Call "log()" if you want to send a message over the socket. Example: $sock->log("message"); connect() Connect to the socket. disconnect() Disconnect from socket. validate() Validate a configuration. reload() Reload with a new configuration. errstr() This function returns the last error message. PREREQUISITES
Carp Params::Validate; IO::Socket::INET; Data::Dumper; EXPORTS
No exports. REPORT BUGS
Please report all bugs to <jschulz.cpan(at)bloonix.de>. If you send me a mail then add Log::Handler into the subject. AUTHOR
Jonny Schulz <jschulz.cpan(at)bloonix.de>. COPYRIGHT
Copyright (C) 2007-2009 by Jonny Schulz. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-11-21 Log::Handler::Output::Socket(3pm)
All times are GMT -4. The time now is 08:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy