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

Resolved FTP error not working

WilliamGm

New Pleskian
Server operating system version
Almalinux 8.10
Plesk version and microupdate number
Plesk Obsidian 18.0.67
Hi,
I've Plesk Obsidian 18.0.67 on AlmaLinux 8.10 and my ftp user's can't login from March 9. From filezilla the client show this error:
Respuesta: 200 PORT command successful
Comando: MLSD
Respuesta: 425 Unable to build data connection


I have tried from a machine on the same network and it does not work either.

This is the logs of /var/log/secure

Mar 20 10:49:41 ajweb07a4554mkj-o2 proftpd[12181]: pam_imunify(proftpd:auth): Error connecting to /opt/i360_pam_imunify/pam_imunify360.sock: No existe el fichero o el directorio
Mar 20 10:49:41 ajweb07a4554mkj-o2 systemd[12187]: pam_unix(systemd-user:session): session opened for user xxxxxxx.olot.cat_p4sfs8cdux by (uid=0)
Mar 20 10:49:41 ajweb07a4554mkj-o2 proftpd[12181]: pam_unix(proftpd:session): session opened for user xxxx_xxxxx by (uid=0)
Mar 20 10:49:42 ajweb07a4554mkj-o2 proftpd[12181]: pam_env(proftpd:setcred): Unable to open config file: /etc/security/pam_env.conf: No existe el fichero o el directorio
Mar 20 10:49:42 ajweb07a4554mkj-o2 proftpd[12181]: pam_systemd(proftpd:session): Failed to connect to system bus: No existe el fichero o el directorio
Mar 20 10:49:42 ajweb07a4554mkj-o2 proftpd[12181]: pam_succeed_if(proftpd:session): error retrieving information about user 10051
Mar 20 10:49:42 ajweb07a4554mkj-o2 proftpd[12181]: pam_unix(proftpd:session): session closed for user xxxxx_xxxxx

This is my /etc/pam.d/proftpd

#%PAM-1.0
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth include system-auth
account include system-auth
session include system-auth
session required pam_loginuid.so

This is my /etc/pam.d/proftpd_imunify
#%PAM-1.0
auth required pam_nologin.so
auth required pam_listfile.so item=user sense=deny file=/etc/proftpd/passwd.vhosts onerr=succeed
auth required pam_imunify.so check_only
auth [success=1 new_authtok_reqd=1 default=ignore] pam_unix.so nullok try_first_pass
auth optional pam_plesk.so try_first_pass
auth sufficient pam_imunify.so cpanel
auth required pam_deny.so

account required pam_permit.so

session required pam_permit.so

I have restarted the server but it doesn't work.

Thanls
 
Hello, @WilliamGm . I cannot precisely point out the exact reason for the issue, but here are a few suggestions:

If neither helps sorting out the issue, I would advise opening a support ticket with Plesk support for an investigation of the issue on your server. To sign-in to support and open a ticket go to:
https://support.plesk.com
If you got your license from a reseller, your reseller should provide support for you. If the reseller does not provide support, here is an alternative to get support directly from Plesk:
https://support.plesk.com/hc/en-us/articles/12388090147095-How-to-get-support-directly-from-Plesk
 
Hi Sebahat!!!
I did what was indicated in the links and it worked correctly.
Using the ProFTPD directive RLimitChroot, I was able to connect, and then activating setsebool -P ftpd_use_passive_mode 1, clients can now use both modes, active and passive ftp modes.

Thank you very much, I appreciate your great help.
 
Back
Top