• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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