Cannot establish connection via FTP: 530 Login incorrect

Created:

2017-01-15 18:25:34 UTC

Modified:

2017-08-08 13:41:09 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot establish connection via FTP: 530 Login incorrect

Applicable to:

  • Plesk for Linux

Symptoms

  1. Cannot establish connection via FTP:

    530 Login incorrect
    
  2. Password for FTP account is correct

  3. SELinux is in Enforcing mode
  4. Selinux policies for FTP are not enabled:

    # getsebool -a | grep ftp
    
    ftpd_anon_write --> off
    ftpd_connect_all_unreserved --> off
    ftpd_connect_db --> off
    ftpd_full_access --> off
    ftpd_use_cifs --> off
    ftpd_use_fusefs --> off
    ftpd_use_nfs --> off
    ftpd_use_passive_mode --> off
    httpd_can_connect_ftp --> off
    httpd_enable_ftp_server --> off

Cause

Selinux policy for FTP is not configured

Resolution

Set SELinux context for FTP service as full control:

# setenforce 0

# setsebool -P ftpd_full_access on
# getsebool -a | grep ftpd_full
ftpd_full_access --> on
# setenforce 1

Have more questions? Submit a request
Please sign in to leave a comment.