• 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

Question ProFTPD

Attila Zarka

New Pleskian
Hi,

i use plesk 17.0.17 #Update 4 and centOS 7.2.1511.

I cannot connect via ftp

the secure log says:

proftpd: pam_listfile(proftpd:auth): Couldn't open /etc/ftpusers
proftpd[3623]: 0.0.0.0 (xx.xx.xx) - USER xyz: Login successful.
proftpd: pam_unix(proftpd:session): session opened for user xyz by (uid=0)
proftpd: pam_env(proftpd:setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory
proftpd: pam_systemd(proftpd:session): Failed to connect to system bus: No such file or directory

Filezilla says:

Status: Resolving address of www.xyz
Status: Connecting to xx.xx.xx
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (xx,xx,xx).
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing

I changed the /etc/pam.d/proftpd like in https://kb.plesk.com/en/125519 without success.

Thanks for some hints!
 
I seem to have a same problem and "plesk repair ftp" didn't work. What other things should I be looking for.

- FTP (port 21) worked fine before. The only change that i did was to the sshd and nothing else.
- Users unable to access FTP, keeps failing at "LIST"

Thanks
 
Last edited:
Hello,

Please check the passive port range assigned in /etc/proftpd.conf
Example: id range is (49152 -65534)

And Enable passive port range in iptables:
==
iptables -I INPUT 2 -p tcp --dport 49152:65534 -j ACCEPT
service iptables save
==

Thanks
 
Back
Top