0

自从我升级到 plesk 9.5.4 以来,我的 ftp 帐户都不是通过 ftp 工作的。我得到“ 530 login wrong ”。用户名和密码是正确的,因为我可以在/etc/passwd/etc/shadow看到它们。我尝试通过Domains -> mydomain.com -> Web Hosting Settings -> FTP Login更改信息,但仍然出现错误。如果我通过Web Users添加用户名或密码,则会将其添加到密码文件中,但该登录也不起作用。我通过 SSH 的 root 登录工作正常。有什么建议么?

谢谢,-乔纳森

4

1 回答 1

0

检查您的 /var/log/messages 是否有来自 proftpd 的错误。

这是我的 /var/log/messages 用于简单的 FTP 会话:

Jan 16 16:39:15 localhost xinetd[577]: START: ftp pid=9317 from=::ffff:10.50.2.4
Jan 16 16:39:16 localhost proftpd[9317]: 10.52.52.203 (10.50.2.4[10.50.2.4]) - FTP session opened.
Jan 16 16:39:16 localhost proftpd[9317]: 10.52.52.203 (10.50.2.4[10.50.2.4]) - FTP session closed.
Jan 16 16:39:16 localhost xinetd[577]: EXIT: ftp status=0 pid=9317 duration=1(sec)
Jan 16 16:39:16 localhost xinetd[577]: START: ftp pid=9318 from=::ffff:10.50.2.4
Jan 16 16:39:16 localhost proftpd[9318]: 10.52.52.203 (10.50.2.4[10.50.2.4]) - FTP session opened.
Jan 16 16:39:22 localhost proftpd[9318]: 10.52.52.203 (10.50.2.4[10.50.2.4]) - Preparing to chroot to directory '/var/www/vhosts/domain.tld'
Jan 16 16:40:03 localhost xinetd[577]: Exiting...
于 2013-01-16T09:47:22.767 回答