• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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