我已经安装了Apache,Sendmail和Proftpd的CentOS 6。 当我试图开始任何事情时, 我的意思是任何事情 ,需要10秒钟。 发送邮件? 通过PHP的邮件()发送一些东西需要10秒钟的时间。 proftpd的? 通过“等待欢迎消息”部分需要10秒钟。 SSH? 服务器需要10秒钟才能input密码,另外需要10秒钟才能login。 所有这些问题都是在第一次加载的时候发生的,如果我通过邮件()发送一个电子邮件,发送它需要10秒,但是第二次发送时,它几乎是瞬间的。 相同的Proftpd。 到底是怎么回事?
用proftpd你可以改变默认目录编辑/etc/proftpd.conf DefaultRoot〜 改成 DefaultRoot〜/音乐 我怎样才能达到与SFTP相同的结果? 即时通讯使用Ubuntu的清醒顺便说一句。 非常感谢你的帮助。
我试图通过networkingfind解决scheme花了一些时间。 没有帮助。 故事:我有Ubuntu 10.10(Amazon EC2实例)。 ProFTPD版本1.3.2e(最新通过apt-get)。 我没有在服务器和FTP客户端上做任何改变,但突然间我的客户端(FileZilla 3.5.3,TotalCmd)停止通过FTPS连接到服务器。 从Filezillalogin: Status: Connecting to 7x.xxx.xxx.xxx:21… Status: Connection established, waiting for welcome message… Response: 220 ProFTPD 1.3.2e Server (XXX) [7x.xxx.xxx.xxx] Command: AUTH TLS Response: 234 AUTH TLS successful Status: Initializing TLS… Error: GnuTLS error -9: A TLS packet with unexpected length was received. Status: Server did not properly […]
我正在考虑一个干净的方式,如何使一个FTP服务器停机维护。 我想知道,如果有人在那里可以给我一些如何解决这个问题的提示: 我不想中断任何当前的上传,但要阻止任何新的连接/上传,并等待,直到上传完成,然后取下FTP服务器 有没有办法dynamic阻止用户login,并显示一条消息,例如:“ftp目前停机维护”当用户尝试login? 这是我的想法,这是非常罕见的,或者别人怎么处理这个 – 我觉得,只是停止FTP服务器,并杀死任何当前的上传不是正确的方式,这… 我使用proftpd(与SQL后端)顺便说一句,也许有一些具体的解决scheme – 或者是否有任何通用工具来实现这一目标? 非常感谢!
启动服务器时,返回此错误 Starting ftp server: proftpd2014-08-03 18:39:22,045 web-amd-3700-2gb proftpd[22126]: warning: unable to determine IP address of 'web-amd-3700-2gb' 2014-08-03 18:39:22,045 web-amd-3700-2gb proftpd[22126]: error: no valid servers configured 2014-08-03 18:39:22,045 web-amd-3700-2gb proftpd[22126]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf' failed! /etc/proftpd/proftpd.conf # # /etc/proftpd/proftpd.conf — This is a basic ProFTPD configuration file. # To really apply changes, reload proftpd […]
Proftpd可以隐藏目录吗? 特别是.svn目录。 有一个HideFiles而不是一个HideDirectories指令。 HideFiles的问题是它在完整path上不匹配。 <Directory /home/ftp_user/my_project > # Despite trying to hide this directory it still shows up # as /.svn in the ftp client. HideFiles "^\.svn" <Limit ALL> allowuser ftp_user </Limit> </Directory> 是否有另一种方法来隐藏目录?
我创build了一个用户并分配了一个密码和组(新组)。 问题是这个用户只能login到FTP(proftpd),如果他有shell = /bin/bash 如果我将shell设置为/bin/false那么Proftpd不会让他进入,并为530login错误的响应提供服务。 我希望用户能够login到FTP,但没有其他访问权限,所以不能通过SSHlogin。 /etc/proftpd.conf都是默认的,它的版本是1.3.3e ,而且是CentOS 6。
好吧,我试图复制一个虚拟主机公司的基本设置在这里通过validation虚拟用户通过SQL和redirect/监狱他们的目录。 我已经完成了这里的大部分目标, 除了redirect/监禁他们的目录。 这些目录存储在/home/ftp ,这就是DefaultRoot的设置。 我希望每个用户都有自己的目录。 在SQL中设置homedir没有任何效果。 login到任何用户的FTP后,它将login到DefaultRoot ,不存在目录jailing或redirect。 我如何完成这最后的任务?
所以我在我的Ubuntu 10.10服务器上安装了ProFTP。 使用FileZilla,我可以连接和身份validation,但我不能得到目录列表。 以下是返回给我的最后几行: Status: Connected Status: Retrieving directory listing… Command: PWD Response: 257 "/home/todolist" is the current directory Command: TYPE I Response: 200 Type set to I Command: PASV Error: Disconnected from server: ECONNABORTED – Connection aborted Error: Failed to retrieve directory listing 我没有改变任何configuration,所以我应该改变/设置,以便我可以正确使用FTP? 我的configuration: # # /etc/proftpd/proftpd.conf — This is a basic ProFTPD […]
我似乎无法find停止/重新启动proftpd的方法。 我的服务器IP地址是xx.yy.zz.ww,通过FTP从外部设备连接,给我提示: Connected to xx.yy.zz.ww 220 ProFTPD 1.3.1 Server (ProFTPD) 然后它要求我input用户名。 当我尝试从同一台服务器(ftp localhost)进行连接时,也会出现同样的情况。 因此,我确定proftp正在我的服务器上运行。 另外,在我的服务器(xx.yy.zz.ww)。 我正在拖/var/log/messages ,它显示我的FTP会话打开和closures。 我无法findproftpd是如何工作的。 /etc/init.d/没有proftpd; /etc/xinetd.d/没有proftpd。 我看着: /etc/proftpd.conf ,它显示了我的ServerType inetd 另外,当我运行: ps -auxfww | grep proftp我没有得到任何东西(除了我目前的命令) 我如何才能知道proftp正在运行,如何杀死它/重新启动它?