LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-15-2010, 10:29 PM   #1
cralls
LQ Newbie
 
Registered: Nov 2010
Location: US
Distribution: Fedora
Posts: 1

Rep: Reputation: Disabled
Smile Pure-FTPD - 421 Service not available, remote server has closed connection


Solved!

I found that if the particular user connecting to the server has a home directory, which does not at least have read permissions for the ftpuser, then it will generate the '421 Service not available, remote server has closed connection' error code.

Simply give the UID or GID ('pure-pw show user' will give you this information if you have SSH access) read access to the specified directory, or change the home directory specified for the user ('pure-pw usermod user -d/path/to/new/directory').

Quote:
Hi All,

I'm having an issue with Pure-FTPD when attempting to access the server under a particular user. The following is the output along with the error code:

Quote:
Connected to localhost (127.0.0.1).
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 21:04. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (localhost:----):
331 User ---- OK. Password required
Password:
421 Service not available, remote server has closed connection
Login failed.
No control connection for command: No such file or directory
And here is my Pure-FTPd and Platform details if necessary.

pure-ftpd.x86_64 - Version 1.0.22-1.fc9
Linux VNS 2.6.24-19-xen #1 SMP Wed Aug 20 21:08:51 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux

Last edited by cralls; 11-16-2010 at 03:04 PM. Reason: Solved
 
Old 11-16-2010, 02:08 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,428
Blog Entries: 1

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Ports 20 and 21 need to be allowed on your firewall.
 
Old 11-29-2010, 08:19 PM   #3
Cena123
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
Thumbs up

As servers need stable power supply, good Internet access, increased security and are also noisy, it is usual to store them in dedicated server centers or special rooms. This requires to reduce power consumption as extra energy used generates more heat and the temperature in the room could exceed the acceptable limits. Normally server rooms are equipped with air conditioning devices. Server casings are usually flat and wide, adapted to store many devices next to each other in server rack.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pure-FTPd 421 Connection closed by remote host junaidbilal LinuxQuestions.org Member Intro 0 08-10-2009 01:29 AM
Pure-FTPd 421 Connection closed by remote host Dan_D Linux - Software 2 07-18-2008 07:59 PM
A Strange - 421 Service not available, remote server has closed connection - problem vincelaw Linux - Networking 1 03-14-2007 02:43 PM
Debian Pure-ftpd dpkg report 421 service error icry0000 Linux - Software 0 04-18-2005 05:44 AM
421 Service not available, remote server has closed connection dwarf007 Linux - Networking 1 10-09-2004 07:00 AM


All times are GMT -5. The time now is 03:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration