Pureftpd 安装成功后,ftp过去,显示连接失败,错误码421
[右] 220---------- Welcome to Pure-FTPd ----------[右] 220-You are user number 1 of 50 allowed.
[右] 220-Local time is now 16:57. Server port: 21.
[右] 220-This is a private system - No anonymous login
[右] 220-IPv6 connections are also welcome on this server.
[右] 220 You will be disconnected after 15 minutes of inactivity.
[右] USER Holen
[右] 331 User Holen OK. Password required
[右] PASS (隐藏)
[右] 421 Home directory not available - aborting
[右] 连接失败
[右] 正在延迟 120 秒, 之后将尝试第 8 次重新连接
[右] 已放弃重新尝试 lnmp ftp info 显示一下该用户的信息看看
估计可能你改ftp账号设置的用户目录有问题
军哥,麻烦你看看
# lnmp ftp info+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Usage: lnmp ftp {add|list|del}
# lnmp ftp list
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Holen /home/wwwroot/Holen.net/./
List FTP User Sucessfully.
#
现在可以了,谢谢军哥提点
# lslnmp1.4 lnmp-install.log reset_mysql_root_password.sh
lnmp1.4.tar.gzpureftpd-install.log
# ls /
bin devhomelib64 mediaopt rootsbinsysusr
bootetclib lost+foundmnt procrun srv tmpvar
# pwd
/root
# cd /home/wwwroot/
# ls -l
total 4
drwxr-xr-x 3 www www 4096 Oct 13 14:59 default
# mkdir -m 777 Holen.net
# ls -l
total 8
drwxr-xr-x 3 wwwwww4096 Oct 13 14:59 default
drwxrwxrwx 2 root root 4096 Oct 14 09:37 Holen.net
#
页:
[1]