Proftpd Timeout Connection Attempt Failed

Jan 2, 2007

Currently having a problem with proftpd on my centos plesk 8.1 server.

During large uploads, lets say around 10 MB the FTP connection fails within 5 minutes or so saying:

"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."

I have asked for help from my server provider but they have tried and are now unable to help.

I currently have the APF firewall in my server.

Has anyone experienced this?

Below is the APF config file that i currently have & the proftpd config files that i have, if anyone can help it would be really really appreciated

APF CONFIG:

Code:
#!/bin/sh
#
# APF 0.9.6 [apf@r-fx.org]
#
# NOTE: This file should be edited with word/line wrapping off,
# if your using pico please start it with the -w switch
# (e.g: pico -w filename)
#

##
# [Devel Mode]
# !!! Do not leave set to (1) !!!
# When set to enabled; 5 minute cronjob is set to stop the firewall. Set
# this mode off (0) when firewall determined to be operating as desired.
##

# Set firewall cronjob (devel mode)
# 1 = enabled / 0 = disabled
DEVEL_MODE="0"

##
# [Main]
##

# The installation path of APF; this can be changed but it has not
# been tested what would happen.
INSTALL_PATH="/etc/apf"

# Untrusted Network interface(s); all traffic on defined interface will be
# subject to all firewall rules. This should be your internet exposed
# interfaces. Only one interface is accepted for each value.
# NOTE: The interfacing structure is being worked towards support of MASQ/NAT
IFACE_IN="eth0"
IFACE_OUT="eth0"

# Trusted Network interface(s); all traffic on defined interface(s) will by-pass
# ALL firewall rules, format is white space or comma seperated list.
IFACE_TRUSTED=""

# Enable virtual network subsystem; creats independent policy ruleset for each
# ip on a system (pulls data from 'ip addr list') to /etc/apf/vnet/ip.rules
# Template is located in the vnet/ folder for rule files. This feature can
# reduce apf start/stop performance and is not recommend for systems with more
# than 255 (/24) ip's. [0 = Disabled / 1 = Enabled]
SET_VNET="0"

# Support Monolithic kernel builds [no LKM's]. This mode of operation is
# not really supported and you use at your own risk.
SET_MONOKERN="0"

# Verifies that all inbound traffic is sourced from a defined local gateway MAC
# address. All other traffic that does not match this source MAC address will be
# rejected as untrusted traffic. It is quite trivial to forge a MAC address and as
# such this feature executes NO default accept policy against this MAC address.
VF_LGATE=""

# Verifies that the IF and IFACE_TRUSTED interfaces are actually routed (/sbin/route)
# to something. If not then chances are APF will not start properly if at all.
VF_ROUTE="1"

# Verifies that crond service is running when DEVEL_MODE=1; if not then APF will not
# try to load as if lock-up occures no cron service to flush firewall
VF_CROND="1"

# Verifies that the current system uptime is greater than this value before APF
# can activate. This is to prevent on-boot lockup issues or delays due to excessive
# amount of firewall rules. Value is in seconds; should you wish to disable this
# feature, simply set VF_UTIME to 0 value. !! NOTE: APF WILL NOT START ON IT's OWN;
# IT WILL EXIT WITH FATAL ERROR BELOW SET UPTIME !!
VF_UTIME="0"

##
# [Packet Filtering/Handling]
##

# How to handle TCP packet filtering?
#
# RESET (sends a tcp-reset; TCP/IP default)
# DROP (drop the packet; stealth ?)
# REJECT (reject the packet)
TCP_STOP="DROP"

# How to handle UDP packet filtering?
#
# RESET (sends a icmp-port-unreachable; TCP/IP default)
# DROP (drop the packet; stealth ?)
# REJECT (reject the packet)
# PROHIBIT (send an icmp-host-prohibited)
UDP_STOP="DROP"

# How to handle all other packet filtering? (icmp,arp,igmp)
#
# DROP (drop the packet)
# REJECT (reject the packet)
DSTOP="DROP"

# The sanity options control the way packets are scrutinized as
# they flow through the firewall. The main PKT_SANITY option is a
# top level toggle for all SANITY options and provides general
# packet flag sanity as a pre-scrub for the other sanity options
PKT_SANITY="1"

# Block any packets that do not conform as VALID; this feature
# is safe for most but some may experience protocol issues with
# broken remote clients
PKT_SANITY_INV="0"

View 7 Replies


ADVERTISEMENT

ProFTPD: 421 No Transfer Timeout (300 Seconds): Closing Control Connection

Dec 17, 2007

Since moving servers I've been plagued by constant disconnects whilst using FTP:

421 No transfer timeout (300 seconds): closing control connection

I've gone through Proftpd's forum and documentation numerous times to try and find a solution to this but have been unsuccessful so far.

Within proftpd's config file it's set at:

TimeoutLogin 120
TimeoutIdle 3600
TimeoutNoTransfer 3600
TimeoutStalled 3600

So I am unsure where it is getting the "300 seconds" from.

Even though the error states 300 seconds, this problem happens way before 300 seconds every time and has happened during the transfer of files (when the connection has been active and in use).

I've tried 3 different FTP clients and used the "Keep Alive" option in each and it has absolutely no effect.

I am unsure if APF is causing the problem, I can't see any problems in any of the server logs in relation to ftp.

View 5 Replies View Related

CPanel Login Attempt Failed

Jun 9, 2009

I have not been able to login to my cPanel from my desktop which runs WinXP service Pack3. Both Firefox and Internet Explorer returns the following error message

Login Attempt Failed!

Also, I am unable to connect using Filezilla Client.

However, I am able to connect to the same cPanel on my colleague's desktop which runs WinXP service Pack3 using Firefox browser or IE. We both share the same internet modem.

- I have cleared all the cookies and private data on my desktop. Still the problem persist.

- I changed to a different user on my desktop, but still could not login.

- I changed my desktop IP address but still I could not log in.

I use DSLinux from within Innotek Virtual Box and I was able to login to the same cPanel with the same details that were rejected under WinXP.

Please anyone with a solution should please advise me on what to do. Thanks in advance.

It is not convenient going to my colleagues desk to access my cPanel.

View 15 Replies View Related

Connection Timeout On SSH

Jun 28, 2009

where I can't access my terminal because my connections keep getting timed out. Its been ok previously but for the last 2 days I could not connect because the connection timed out 9/10 times. No modifications were made during this time so whats the problem guys?

View 4 Replies View Related

VPS - Connection Timeout

Dec 19, 2008

I have a problem with my VPS. Hosting company have migrated my vps to a new and better dedicated server and now on all my sites(and IP) I got connection timeout error. I have changed "Main IP" and resolvers in HyperVM 10 minutes ago and it's not working(or I have to wait to wait like for nameservers registration?). I can ping my IP and all services(lxadmin,lighttpd etc are started successfully and its not wotking, I still getting connection timeout error.

View 5 Replies View Related

Plesk 12.x / Linux :: Mailboxes - Failed Mail Authentication Attempt For User

Jun 24, 2015

Two days ago we have upgrade a Plesk Panel 11.5 to 12.0.18. It have been working properly until today. Lots of mailboxes doesn't work with the error

Jun 24 13:30:12 hosting2 plesk_saslauthd[19704]: No such user 'mailbox@domain.tld' in mail authorization database
Jun 24 13:30:12 hosting2 plesk_saslauthd[19704]: failed mail authenticatication attempt for user 'mailbox@domain.tld' (password len=10)

The /usr/local/psa/admin/bin/mail_auth_view show only a few mailboxes.
The /usr/local/psa/admin/sbin/mchk --with-spam does´t fix the problem.

If we change the password of one of the crashed mailbox, it works until the /usr/local/psa/admin/sbin/mchk command is executed.

If we try to clear a new mailbox in one of the domains that doesn't work, we adquire the error "mailmng-outgoing failed"...

View 2 Replies View Related

Sending Email Cpanel :: SMTP Command Timeout On Connection

Jun 3, 2008

i have this weird problem of emails not gettign delivered and i am hosting with theplanet. Every email is sitting on the queue and not delivered.

i checked with dnsreport and it says

Timed out [Last data sent: [Did not connect]]

and my exim_mainlog shows

R=dk_lookuphost defer (-1): host lookup did not complete
2008-06-03 04:49:59 SMTP command timeout on connection

i have restarted exim, checked firewall and still i am unable to fix my problem!

update:

i again checked with dnsreport and my nameservers are failing

NS FAIL NS A timeout occurred getting the NS records from your nameservers! None of your nameservers responded fast enough. They are probably down or unreachable. I can't continue since your nameservers aren't responding. If you have a Watchguard Firebox,

it's due to a bug in their DNS Proxy, which must be disabled (31 Jul 2006 UPDATE: several years after being informed of this, there is a rumor that there is a fix that allows the Watchguard DNS proxy to work).

View 6 Replies View Related

Plesk 12.x / Linux :: Migration And Transfer Manager - Connection Timeout

Jul 8, 2015

When I start the process in Migration & Transfer Manager i have this error: Error: Connection timeout. I see in the log file:

[2015-07-08 19:39:55.977|22820] INFO: Launchpad started : /usr/local/psa/admin/bin/launchpad --send-scout --host=... ... .... --port=22 --login=root --session-path=/usr/local/psa/PMM/msessions....
[2015-07-08 19:39:56.021|22820] DEBG: Connecting to ....:22
[2015-07-08 19:39:56.021|22820] DEBG: Resolving ..... .....
[2015-07-08 19:42:03.344|22820] ERR : Unable to open socket to ......:22: Connection timed out

[2015-07-08 19:42:03.398|22820] INFO: ConnectionTimedOut[....]: Timeout while attempting connection to host ........ [./../commons/socket.h:65]
plesk::Socket::Socket(const string&, short unsigned int)
[2015-07-08 19:42:03.399|22820] INFO: Launchpad finished. Exit code: 12

In two servers the configuration is identical: CENTOS 7 and PLESK 12

View 5 Replies View Related

Httpd Failed :: Failure Reason: Timeout While Trying To Connect To Service

Jul 30, 2009

httpd failed @ Thu Jul 30 15:55:02 2009. A restart was attempted automagically.
Service Check Method: [tcp connect]

Failure Reason: Timeout while trying to connect to service
and

httpd failed @ Thu Jul 30 15:29:57 2009. A restart was attempted automagically.
Service Check Method: [tcp connect]

Failure Reason: Unable to connect to port 80

View 14 Replies View Related

Plesk 11.x / Windows :: FTP Backup Failed - CURL Timeout Error

May 28, 2014

I'm having this issue when trying to set automatic backups to a separate server:

Cannot export dump file 'Friday_02_05_14_info_1405020913.xml' to 'ftp://Scott@00.000.000.00/Backup/'
[Transport error: unable to send directory to repository: Transport error: unable to put local file D:PleskPrivateTemp/repo_transport_tmp_01cf65e52b9bf130friday_02_05_14_1405020913.zip to friday_02_05_14_1405020913.zip: Curl error: Timeout was reached]Click to expand...

View 3 Replies View Related

WHM Secure Connection Failed

Jun 5, 2009

I'm not sure why but this happen when I try to use SSL on WHM.. it just say "Secure Connection Failed" [url]

Quote:

The certificate is not trusted because it is self signed.

The certificate is only valid for luna.ndx2.com

But when I try [url]it worked fine. My SSL cert is sign by Comodo CA Limited.

From my observation, it looks like my host shared SSL cert is interrupting with WHM.

View 6 Replies View Related

Plesk 12.x / Linux :: FTP Connection Over TLS Failed

Mar 19, 2015

After auto-updates I cannot connect to all my sites in ftp with filezilla.

These are the errors:

Unable to accept TLS connection: received EOF that violates protocol

I have tried this: [URL] .... but with no success.

I have restored permissions with:

/usr/local/psa/bin/repair --restore-vhosts-permissions but also in this case it cannot work for me.

How is it possible?

Firewall is ok. All is ok. I have this issue after updates.

View 7 Replies View Related

Fsockopen Failed At Port 25 - Connection Refused

Mar 9, 2007

We have a script that run for more day without problem Script connect to port 25

Now we get this:

Warning: fsockopen() [function.fsockopen]: unable to connect to my.domain.com:25 in /home/mydom/public_html/backend/go.php on line 47
Connection refused (111)

View 10 Replies View Related

Error :: Rndc: Connect Failed: 127.0.0.1#953: Connection Refused

Oct 22, 2009

i have a vps

and all my site not working!

i got this error:

rndc: connect failed: 127.0.0.1#953: connection refused

View 1 Replies View Related

Secure Connection Failed :: Error Code: Ssl_error_rx_record_too_long

Apr 11, 2009

An error occurred during a connection to site.com.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

The page you are trying to view can not be shown because the authenticity of the received data could not be verified.

I'm not sure on how to fix this. Running CPanel.

I can access WHM/CPanel fine on SSL from the main IP. Just not any of the sites or CPanel from the other IPs.

View 1 Replies View Related

Error In My Dns Server : Rndc: Connect Failed: 127.0.0.1#953: Connection Refused

Oct 22, 2009

i got this error :

rndc: connect failed: 127.0.0.1#953: connection refused

oot@server [/]# rndc status
rndc: connect failed: 127.0.0.1#953: connection refused

root@server [/]# /etc/init.d/named status
rndc: connect failed: 127.0.0.1#953: connection refused
named is stopped

root@server [/]# /scripts/fixndc
Named could not be restarted, any obvious config errors should show up below this line.
No critical problems found, will attempt to regenerate keys regardless.
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
Creating rndc.conf
Creating /etc/rndc.key
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
Restarting named
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
/scripts/fixrndc failed to fix the rndc key (or named is otherwise broken), please investigate manually

and i have try to reload the rndc but i got this error :

root@server [~]# rndc reload
rndc: connect failed: 127.0.0.1#953: connection refused

my vps info : linux os - centos , using cpanel , apache , mysql ....
root@server [~]# uname -r
2.6.18-028stab064.7

View 13 Replies View Related

Plesk 12.x / Windows :: Test Database Server Connection Failed

Feb 3, 2015

WINDOWS SERVER Plesk Panel version 12.0.18

Error: Test the database server connection failed:

mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file

View 1 Replies View Related

Plesk 11.x / Linux :: 11.5 Roundcube Webmail - Connection To Storage Server Failed

Jul 1, 2013

I am having the problem that with certain domains when they try to login in to webmail they ares seeing:

Connection to storage server failed.

Under the login windows and they are now allowed access.

View 19 Replies View Related

Plesk 12.x / Linux :: Enable To Create New MySQL Database Server - Test Connection Failed

May 7, 2015

I freshly installed Plesk 12.0 on Ubuntu 14.04. Everything works accept the MySQL database creation.

When I try to create one, i get this error :

error: the test connection to the database server has failed because of network problems: connection refused...

View 1 Replies View Related

The Timeout SpeciMod_sec: The Timeout Specified Has Expired [severity "EMERGENCY"]

Aug 6, 2007

at my logs, i can see this timeout error caused my mod_security at my rhes 4 server.


Code:
mod_security-message: Access denied with code 403. Error reading request body, error code 70007: The timeout specified has expired [severity "EMERGENCY"]

I didnt specify any mod sec rule about "timeout", what timeout is this about?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved