【发布时间】:2013-01-26 09:50:56
【问题描述】:
我正在桌面上通过 VMWare 将 Ubuntu 作为来宾操作系统运行。它是来自 Turnkey Linux 的虚拟设备。我一直在与 FTP 斗争一段时间。我已经安装了 ProFTPd。有一次,我可以使用 filezilla 从桌面 FTP 进入,但无法安装 joomla,因为 joomla 应用程序无法 ftp 进入 localhost,这是 linux 上安装过程中的一个步骤。
我认为 ftp 服务甚至没有运行,因为我没有看到任何在端口 21 上的监听。
root@lamp:~# sudo netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:12320 *:* LISTEN
tcp 0 0 *:12321 *:* LISTEN
tcp 0 0 *:12322 *:* LISTEN
tcp 0 0 localhost:mysql *:* LISTEN
tcp 0 0 *:www *:* LISTEN
tcp 0 0 localhost:smtp *:* LISTEN
tcp 0 0 *:https *:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
udp 0 0 *:12321 *:*
udp 0 0 192.168.3.20:ntp *:*
udp 0 0 localhost:ntp *:*
udp 0 0 *:ntp *:*
udp6 0 0 fe80::20c:29ff:feee:ntp [::]:*
udp6 0 0 ip6-localhost:ntp [::]:*
udp6 0 0 [::]:ntp [::]:*
我的下一步是什么?如果我发出启动命令,则没有任何变化。
这是我的 proftpd.conf 文件
#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#
# Includes DSO modules
Include /etc/proftpd/modules.conf
# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 on
ServerName "Debian"
ServerType inetd
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"
DenyFilter \*.*/
# Use this to jail all users in their homes
# DefaultRoot ~
# Users require a valid shell listed in /etc/shells to login.
# Use this directive to release that constrain.
# RequireValidShell off
【问题讨论】:
-
您是否尝试关闭 IPv6?
-
它还在,我刚刚添加了主机名,这很有帮助。