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


ADVERTISEMENT

Error 421 Service Not Available, Closing Control Connection

Apr 18, 2008

When i am trying to connect to ftp, browser shows me error
Error 421 Service not available, closing control connection

this problem comes at home but not in office. I am able to access my ftp a/c with same user name and password but in home it i got the error.

View 10 Replies View Related

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 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

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

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

Can I Transfer A Site From CPanel Backups To Dedicated With No Control Panel

Mar 6, 2007

I am planning on moving to a dedicated server from my current shared host. In my cpanel i have the options:
Generate/Download a Full Backup
Download a home directory Backup
Download a MySQL DB Backup
Download Alias/Filter Backup

I suppose a "Full Backup" would be ideal. But are these backup files only restorable by cpanel, or can I use them to successfully migrate my entire site to the dedicated server? It's running Debian with no control panel. I could install a free one if necessary.

View 7 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

Closing Relay On Exim-4.52-7

Dec 15, 2006

I've been reading, and it seems that I have to use ACL. But, how do I setup a proper ACL to keep my server from being an open relay?

View 2 Replies View Related

Closing Mysql Connections

Feb 18, 2007

from what I view, wait_timeout is used for disconnecting connections. However, it applies to tcp/ip connection only. So, in my database connection, if I am using mysql server as localhost, that variable is not applied? In that case, how can I close connections automatically after xxx seconds?

View 8 Replies View Related

Closing Communication Between Server And Some Domains

Nov 12, 2007

How to close any communication between the server and some hosts/domains?

So there won't be any in/out connection between the server and those domains?

can APF firewall or mod_security do this?

View 1 Replies View Related

How To Make Scp -r Command Continue After Closing Ssh

Jun 25, 2007

I'm tranferring files from one server to another, and it is rather large. When I dissonect from SSH it seems like the command stops.

How do I make it continue whether or not the ssh session is still active?

View 6 Replies View Related

AnchorVPS Closing - 48 Hours To Jump Ship

Aug 3, 2007

Received this gem last night:

Quote:

-----Original Message-----
From: AnchorVPS Support
Sent: Fri, August 3, 2007 1:14 am
To: xxxxxx@talanovmedia.com
Subject: IMPORTANT - BACKUP YOUR DATA

AnchorVPS System Message:

08/03/2007 12:14 AM

Hello,

AnchorVPS is now unable to provide any service to any of
our clients. We ask that you backup your data within 48 hours and find
another provider.

If you have any questions or queries then
please contact us at support@anchorvps.com

Thank
You,

AnchorVPS Administration

Never thought a company would do this to their own clients. 48 hour notice?

Thought the headers in the email were suspect so I decided to open up a ticket asking if this is a legitimate message.

Quote:

Jason Min
Posted On: 03 Aug 2007 09:22 AM

Yes it is.

Regards,

Jason

Your thoughts?

Edit:

TOS

Quote:

Termination

This Agreement may be terminated: (i) by you or AnchorVPS during any Renewal Term, without cause, by giving the other party no less than seven (7) days prior written notice.

View 14 Replies View Related

Cronjob Every X Seconds

Mar 26, 2007

to set up a serious of scheduled tasks. For example at 9:35:12 PM I would need a php script to run. And its very important that it run at the 12 second mark for the 35th minute. This seems like an application for a cronjob. Anyway, it looks like you can only have cronjobs run every minute, not seconds.

View 1 Replies View Related

Server Crashes Every 600 Seconds

Feb 13, 2007

Today, I put a new server on our racks.

Problem: the machine crashes exactly every 10 minutes. The crash occurs with no entry on the logs and with 0.00 load. It is as if someone take out the current every 10 minutes.

Here are the specs:

- 2 CPU Intel Xeon 2.0
- 8 Gb RAM ECC
- 2 x 250 Gb HDs

This machine needs plenty of current. I wonder if I am not going over the rack power quota. May be there is a system to allow overages for then 10 minutes, then it cut back the current to the rack quota.

View 2 Replies View Related

Mysql Connections Topping Out Within Seconds

May 13, 2009

i have a small cluster (one web and one db) setup and i host a rather popular group of 4-5 sites that allow users to dynamicly create their own mobile chat communitys automaticly. each site gets its own mysql db created and populated automaticly.

this is all fine,

but in the last 24hours weird things have begun happening, previously i had the sql max_connections set to 500 and this was perfectly adquate for the demand but now even when i set the connection to 4000+ they are all maxxed out within 5-10 minutes, and mysql processlist shows thousands of unauthenticated user connections sitting at login status,

i have gone through the sites and all their mysql configs are fine so i cant see what the issue is.

server specs below

db server:
dual amd opteron 246
8GB ram
120gb hd(64gb free)
33gb swap (rarly used but their for emergencys)
centos 5 64bit.
direct 100mbit lan to web serv
only mysql,ssh and webmin running, no other apps installed

web server:
amd athlon 64 3800+
plesk 9.2.1
4gb ram
2x120gb hds

apache status onthe web server only shows 120ish http connections but the sql keeps climbing

View 8 Replies View Related

Lighttpd - Backend Died; We'll Disable It For 5 Seconds

Jan 10, 2008

My log is filling up with errors + 500 internal displaying:

2008-01-09 16:17:50: (mod_fastcgi.c.2703) fcgi-server re-enabled: unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:17:59: (mod_fastcgi.c.1731) connect failed: Connection refused on unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:17:59: (mod_fastcgi.c.2885) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 5
2008-01-09 16:18:05: (mod_fastcgi.c.2703) fcgi-server re-enabled: unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:18:18: (mod_fastcgi.c.1731) connect failed: Connection refused on unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:18:18: (mod_fastcgi.c.2885) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 5
2008-01-09 16:18:24: (mod_fastcgi.c.2703) fcgi-server re-enabled: unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:18:33: (mod_fastcgi.c.1731) connect failed: Connection refused on unix:/tmp/php-fastcgi.socket-1

I have tried all sorts of combos.

Core2Duo 1 processor
Lighttpd 1.4.18
PHP 5.2.5
xcache 1.2.1
2gig ram

fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/local/php5/bin/php-cgi",
"min-procs" => 2,
"max-procs" => 6,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "10",
"PHP_FCGI_MAX_REQUESTS" => "1000"
)
)
)

View 13 Replies View Related

Squid Frontend Gives 0 Network Output For Seconds At The Time

Mar 27, 2009

I have an apache server on windows which I wanted to speed up using caching systems.

I tried installing squid, and I got it working with a basic example config. It seemed to work well, however under more heavy load I experienced some weird behaviour where network output is 0 for several seconds at the time, and all clients just hang in the wind and wait for a respons.

Remote to the server is working fine, so it's definitely a squid issue.. with only apache running the server is constantly sending out data, no halts there.

Any hints on what errors I should be looking for?

View 1 Replies View Related

30 Seconds To Initial Response - Wordpress / Apache On Linux VPS

Oct 17, 2013

My site will wait for 30s almost everytime before loading any of the page itself.Specs of my install:

- DigitalOcean Droplet (VPS) with Ubuntu Server 12.10: 512 Ram and 20GB SSD (not even coming close to needing more RAM, still have 240MB free according to top)
- Wordpress 3.6.1
- 5 plugins: W3 Total Cache, Wordpress SEO by yoast, WP Better Security, WP Smush.it, and Redirection (problem occured before adding the last 2, I can't remember about the others)
- No traffic to speak of. I get maybe 10 uniques/day.
- Apache 2.2.22
- MySQL 5.5.32

I've optimized my site itself the best I can, minifying and combine js and css files, using the WP Smush. It plugin to compress images, serving jQuery from a CDN, but none of that worked the 30 second wait (though it did shave about 10 seconds off the load time after the wait for response).

I was using cloudflare and had to fiddle with the nameservers of my domain, but cloudflare didn't work at all and I switched the nameservers back to normal pointing DNS directly at my site to eliminate the obvious causes. I'm comfortable with Linux and the command line. This is the link to my site: [URL] ....

View 3 Replies View Related

Plesk 12.x / Linux :: Page Loading Time 50-60 Seconds

Jun 7, 2015

I have installed NGINX + PHP-FPM + PHP5Memcached + Memcached + APC on my VServer. My Problem is Page loading time of around 40-60 seconds. Installed is 12.0.18 Update #49

[URL] .....

Connection Setup: TIME
Stalled: 1.860 ms
Request/Response
TIME
Request sent: 0.214 ms
Waiting (TTFB): 47.08 s
Content Download: 41.757 ms
Explanation 47.12 

I have reconfigured the Domains but nothing changed and Bootstrap Repair

Code:
/usr/local/psa/admin/bin/httpdmng --reconfigure-all
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair
If I disable Nginx and use "Apache Module" for PHP than the TTFB time is shorter but is not the prefered way. If I use "CGI" or "FASTCGI" without Nginx than the Page loading time is a little bit shorter but with Erros on the Website.

I tried to reinstall Nginx from Plesk but this gave me Error after enable it

root@vserver:/# /usr/local/psa/admin/sbin/nginxmng -e
[2015-06-08 00:26:12] ERR [util_exec] proc_close() failed
...
[2015-06-08 00:26:13] ERR [util_exec] proc_close() failed
[2015-06-08 00:26:15] ERR [panel] Apache config (14337159720.96731500) generation failed: Template_Exception: Destination directory '/etc/nginx/plesk.conf.d/vhosts' not exist
file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Destination directory '/etc/nginx/plesk.conf.d/vhosts' not existClick to expand...

View 3 Replies View Related

Fatal Error: Maximum Execution Time Of 30 Seconds Exceeded

Feb 5, 2007

while i am restoring db (110MB) via SSH following error occur

Code:
ERROR 1064 (42000) at line 145689: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
Fatal error: Maximum execution time of 30 seconds exceeded in ' at line 1

View 12 Replies View Related

Pure-ftp :: 425 Could Not Open Data Connection To Port 2535: Connection Timed Out

Apr 7, 2008

I have ftp server (pure-ftp). with firewall.

i allowed 20 and 21 port in "CSF" firewall

now when i or our client connect to the server connection done.

and the they fire dir or ls command they will receive error

"425 Could not open data connection to port 2535: Connection timed out"

what is the problem.i have already allowed passive port 2500:3500 then why i received this types of error

View 3 Replies View Related

Plesk 12.x / Linux :: Browsing Using File Manager Or Clicking On Domains Or Sitting Idle For Like 15 Seconds

Oct 24, 2014

It seems that since my latest update of 12.0.18. Now everytime I login to the Admin interface of plesk. I am prompted to relogin several times when browsing using file manager or clicking on domains or sitting idle for like 15 seconds.

It can do this up to 5 times in a 5 minute period or while not even being idle.

View 9 Replies View Related

ProFTPd

Oct 12, 2009

I am running Proftpd on my RedHat. I have disabled anonymous login because i dont need it and its running fine.

I have created a user named test on the server and i try to connect it by typing ftp://myserver/ and then provide the id and pass.

Now it logged-in successfully but cant access any directories on the server. i have been Google around but really getting confused how i properly create a ftp user

i want the test user to access the following directories and he can be able to upload and download files from these directories

/home/usman/public_html/
/home/usman/public_ftp/
/home/usman/cgi-bin/

View 2 Replies View Related

ProFTPd

Jul 13, 2007

This isn't a major problem but I was just wondering something regarding how ProFTPd functions. I have received a complaint about a user uploading a script, the script creating files and directories, and the user not being able to CHMOD, delete, rename, or do anything to these files.

When files are created through scripts on my server, they are given a default owner permission with "www-data" for the user and group.

Since ProFTPd is set up to only modify files on certain owner permissions according to the user's FTP access, ProFTPd will not allow any other owner permission and if any other owner permissions exist, ProFTPd will not allow those files to be modified or changed in anyway.

Is there a way to fix this? I've been trying to figure it out but I can't.

Just for note, I am using proftpd-mysql and so every user is linked through a MySQL database.

View 5 Replies View Related

Proftpd

Mar 3, 2007

When connecting via an ftp client I want the directory listed to be /var/www/html but currently it's /home/username. I've tried changing the initial login directory with webmin to /var/www/html but to no avail. How would this be done?

View 1 Replies View Related







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