• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

ProFTPD 1.3.2e Server installed with Plesk 9.5

TarasS

Basic Pleskian
I have installed Plesk 9.5 with ProFTPD included.
I have problems when I`m trying to connect to my RHEL 5.4 server with Plesk 9.5 installed.
Sample FTP client log available:

STATUS:> [05.07.2010 16:07:19] Getting listing ""...
STATUS:> [05.07.2010 16:07:19] Connecting to FTP server... WW.XX.YY.ZZZ:21 (ip = WW.XX.YY.ZZZ)...
STATUS:> [05.07.2010 16:07:19] Socket connected. Waiting for welcome message...
[05.07.2010 16:07:19] 220 ProFTPD 1.3.2e Server (ProFTPD) [WW.XX.YY.ZZZ]
STATUS:> [05.07.2010 16:07:19] Connected. Authenticating...
COMMAND:> [05.07.2010 16:07:19] USER ftp_username
[05.07.2010 16:07:20] 331 Password required for ftp_username
COMMAND:> [05.07.2010 16:07:20] PASS *****
[05.07.2010 16:07:20] 230 User ftp_username logged in
STATUS:> [05.07.2010 16:07:20] Login successful.
COMMAND:> [05.07.2010 16:07:20] PWD
[05.07.2010 16:07:20] 257 "/" is the current directory
STATUS:> [05.07.2010 16:07:20] Home directory: /
COMMAND:> [05.07.2010 16:07:20] FEAT
[05.07.2010 16:07:20] Informational Message Only:
211-Features:
MDTM
MFMT
MFF modify;UNIX.group;UNIX.mode;
MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
REST STREAM
SIZE
211 End
STATUS:> [05.07.2010 16:07:20] This site supports features.
STATUS:> [05.07.2010 16:07:20] This site supports SIZE.
STATUS:> [05.07.2010 16:07:20] This site can resume broken downloads.
COMMAND:> [05.07.2010 16:07:20] REST 0
[05.07.2010 16:07:20] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
COMMAND:> [05.07.2010 16:07:20] PASV
[05.07.2010 16:07:20] 227 Entering Passive Mode (67,23,26,133,163,105).
COMMAND:> [05.07.2010 16:07:20] LIST -L /
STATUS:> [05.07.2010 16:07:20] Connecting FTP data socket... WW.XX.YY.ZZZ:41833...
ERROR:> [05.07.2010 16:07:41] Can't connect to remote server. Socket error = #10065.
ERROR:> [05.07.2010 16:07:41] PASV failed, trying PORT.
STATUS:> [05.07.2010 16:07:41] Waiting 0 seconds...
STATUS:> [05.07.2010 16:07:42] Getting listing "/"...
STATUS:> [05.07.2010 16:07:42] Connecting to FTP server... WW.XX.YY.ZZZ:21 (ip = WW.XX.YY.ZZZ)...
STATUS:> [05.07.2010 16:07:42] Socket connected. Waiting for welcome message...
[05.07.2010 16:07:42] 220 ProFTPD 1.3.2e Server (ProFTPD) [WW.XX.YY.ZZZ]
STATUS:> [05.07.2010 16:07:42] Connected. Authenticating...
COMMAND:> [05.07.2010 16:07:42] USER ftp_username
[05.07.2010 16:07:42] 331 Password required for ftp_username
COMMAND:> [05.07.2010 16:07:42] PASS *****
[05.07.2010 16:07:42] 230 User ftp_username logged in
STATUS:> [05.07.2010 16:07:42] Login successful.
COMMAND:> [05.07.2010 16:07:42] PWD
[05.07.2010 16:07:42] 257 "/" is the current directory
STATUS:> [05.07.2010 16:07:42] Home directory: /
STATUS:> [05.07.2010 16:07:42] This site supports features.
STATUS:> [05.07.2010 16:07:42] This site supports SIZE.
STATUS:> [05.07.2010 16:07:42] This site can resume broken downloads.
COMMAND:> [05.07.2010 16:07:42] REST 0
[05.07.2010 16:07:43] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
COMMAND:> [05.07.2010 16:07:43] PORT 192,168,2,226,14,108
[05.07.2010 16:07:43] 500 Illegal PORT command
ERROR:> [05.07.2010 16:07:43] Syntax error: command unrecognized.
ERROR:> [05.07.2010 16:07:43] Failed to establish data socket.
 
Tell me if you need more information from server logs, configs, etc to solve this problem.
 
I have found solution for this problem. It was in server firewall settings.
TCP ports range 1024:65535 should be opened to allow FTP PORT command to work properly.
 
Back
Top