Debian 9 下 pure-ftp 登录报错:530 Login authentication failed

问答中心分类: LinuxDebian 9 下 pure-ftp 登录报错:530 Login authentication failed
weiuniverse asked 4年 ago

Debian 9 64bit,已经update和upgrade,今天刚安装最新的oneinstack,不含源码和含源码版都试过
用 pureftpd_vhost.sh 脚本建立帐号后,winscp登录时提示“拒绝访问”
在linux下访问,提示“530 Login authentication failed”
/var/log/messages中的log
Apr 17 17:02:39 debian pure-ftpd: (?@27.18.73.203) [INFO] New connection from 217.118.713.203
Apr 17 17:02:43 debian pure-ftpd: (?@27.18.73.203) [WARNING] Authentication failed for user [ftpuser]
Apr 17 17:02:43 debian pure-ftpd: (?@27.18.73.203) [INFO] Logout.

Question Tags:

7 Answers
weiuniverse answered 4年 ago
在本机用ftp 127.0.0.1登录,同样返回530 Login authentication failed
复制粘贴帐号和密码,防止输入错误,也是返回530 Login authentication failed

weiuniverse answered 4年 ago
# service pureftpd status
● pureftpd.service - LSB: Startup script for the pure-ftpd FTP Server
   Loaded: loaded (/etc/init.d/pureftpd; generated; vendor preset: enabled)
   Active: active (running) since Wed 2018-04-18 13:47:33 CST; 16min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1829 ExecStop=/etc/init.d/pureftpd stop (code=exited, status=0/SUCCESS)
  Process: 1837 ExecStart=/etc/init.d/pureftpd start (code=exited, status=0/SUCCESS)
 Main PID: 1845 (pure-ftpd)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/pureftpd.service
           └─1845 /usr/local/pureftpd/sbin/pure-ftpd /usr/local/pureftpd/etc/pure-ftpd.conf
Apr 18 13:47:33 debian systemd[1]: Stopped LSB: Startup script for the pure-ftpd FTP Server.
Apr 18 13:47:33 debian systemd[1]: Starting LSB: Startup script for the pure-ftpd FTP Server...
Apr 18 13:47:33 debian pure-ftpd[1844]: (?@?) [ERROR] Unable to find the \'ftp\' account
Apr 18 13:47:33 debian pureftpd[1837]: Starting pure-ftpd:
Apr 18 13:47:33 debian systemd[1]: pureftpd.service: PID file /var/run/pure-ftpd.pid not readable (yet?) after start: No such file or directory
Apr 18 13:47:33 debian systemd[1]: Started LSB: Startup script for the pure-ftpd FTP Server.
Apr 18 13:52:21 debian pure-ftpd[1932]: (?@207.58.73.213) [INFO] New connection from 207.58.73.213
Apr 18 13:52:27 debian pure-ftpd[1932]: (?@207.58.73.213) [WARNING] Authentication failed for user [testt]
Apr 18 13:52:53 debian pure-ftpd[1953]: (?@207.58.73.213) [INFO] New connection from 207.58.73.213
Apr 18 13:52:57 debian pure-ftpd[1953]: (?@207.58.73.213) [WARNING] Authentication failed for user [testt]

oneinstack answered 4年 ago
方便的花左下角私信 ip root密码

inkymaple answered 4年 ago
同样问题。

oneinstack answered 4年 ago

已经排查出问题了,现在只发现debian9有问题,可如下步骤解决:

1. 删除sodium

rm -rf /usr/local/lib/libsodium* /usr/local/include/sodium*

2. 升级oneinstack

~/oneinstack/upgrade.sh oneinstack

3. 卸载pureftpd,php7.2(如安装php7.2,请卸载php7.2,php7.2依赖sodium

~/oneinstack/uninstall.sh

4. 再次安装pureftpd,php7.2

~/oneinstack/install.sh --php_option 7 --pureftpd

ieric answered 3年 ago
ubuntu 18.10 同样出现这个问题

oneinstack answered 3年 ago
debian9 ubuntu18 测试安装都没有问题。