Symptoms
I cannot FTP to domain with valid credentials of domain FTP user.The following error is shown in /var/log/secure or /var/log/messages:
---8<---
Jul 18 14:31:39 proftpd[5871]: server_name.com (domain.com[127.0.0.1]) - USER plesk90 (Login failed): Limit access denies login
Jul 18 14:31:49 proftpd[5871]: server_name.com (domain.com[127.0.0.1]) - FTP session closed.
--->8---
What causes the problem?
Cause
Domain FTP user does not belong to group "psacln".Resolution
For "exclusive" IP address Parallels Plesk Panel creates a special section in ProFTPd configuration file /etc/proftpd.include. For example:--->8---
<VirtualHost 192.168.10.1>
ServerName "domain.com"
...
<Limit LOGIN>
Order allow, deny
AllowGroup psacln
Deny from all
</Limit>
</VirtualHost>
---8<---
FTP access to IP address 192.168.10.1 is allowed for users who in "psacln" group (i.e. who was created through Parallels Plesk Panel).
Verify that FTP user of the domain belongs to group "psacln". You may check with command "id". Here is example of correct output:
~# id ftp_user
uid=10004(ftp_user) gid=2526(psacln) groups=2526(psacln)
~#If you have received the user does belong to group "psacln" it is recommended to add it.
Find id of group "psacln" on your system:
~# grep psacln /etc/group
psacln:x:2526:
~#Run command "vipw", find user "ftp_user" and set the group:
---8<---
ftp_user:x:10004:2526::/var/www/vhosts/domain.dom:/bin/false
--->8---