Article ID: 125155, created on Apr 7, 2015, last review on Apr 7, 2015

  • Applies to:
  • Plesk Automation 11.5

Symptoms

Attempting to log in FTP directory fails with 503 error.

The log /var/log/secure contains the output at the error moment:

Apr  2 02:40:08 linux3 proftpd[27301]: 203.0.113.1 (203.0.113.2[203.0.113.2]) - USER user (Login failed): No such user found.

The log /var/log/audit/audit.log contains the following output at the error moment:

type=AVC msg=audit(1427931555.922:89674): avc:  denied  { dac_override } for  pid=27220 comm="in.proftpd" capability=1  scontext=unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023 tclass=capability
type=AVC msg=audit(1427931555.922:89674): avc:  denied  { dac_read_search } for  pid=27220 comm="in.proftpd" capability=2  scontext=unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023 tclass=capability
type=SYSCALL msg=audit(1427931555.922:89674): arch=c000003e syscall=2 success=no exit=-13 a0=7f3c0ae146bb a1=80000 a2=1b6 a3=0 items=0 ppid=14512 pid=27220 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=86 comm="in.proftpd" exe="/usr/sbin/proftpd" subj=unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1427931555.922:89675): avc:  denied  { dac_override } for  pid=27220 comm="in.proftpd" capability=1  scontext=unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023 tclass=capability

SELinux is on:

[root@vz ~]# getenforce
Enforcing

Cause

SELinux blocks 'proftpd' activity preventing the FTP user from logging in.

Resolution

Refer to the KB article to (temporarily) disable SELinux.

Search Words

cannot log in FTP

ftp access

ftp 503

No such user found

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF