Cannot FTP to Web Host or Server running cPanel/WHM不能FTP发布到Web主机或服务器运行的cPanel /的WHM

If you cannot cannot to FTP server or cannot FTP to the web host managed by cPanel/WHM (WebHost Manager), most like the FTP connection fails because the FTP server is not running on the server.如果你不能,不能到FTP Server ,或不能的FTP到Web主机管理的cPanel /的WHM (网页主机服务经理) ,最喜欢的FTP连接失败,因为FTP服务器是不是服务器上运行。 There are a few troubleshooting steps that can be taken to verify this problem.有几个疑难排解可以采取的步骤来验证这个问题。

  1. Log into your server using SSH.登录到您的服务器上使用ssh 。
  2. At the command line shell, type su - or su - root to have root access, if your server forbids direct login by root.在命令行外壳,键入苏-或-根有根访问,如果您的服务器禁止直接登录的治本方法。
  3. Run the following command:运行以下命令:

    ftp localhost本地的FTP

  4. You will likely see the following fail message:您可能会看到下面的失败消息:

    ftp:connect:Connection refused ftp:connect:connection拒绝

    This most likely mean that FTP server is not running, or the process has stalled and hanged.这最有可能意味着FTP服务器没有运行,或进程停滞不前和绞刑。 In this case, try to restart FTP server.在这种情况下,尝试重新启动FTP伺服器。 WHM’s Restart Services section has the GUI restart button to easily restart FTP service.的WHM的重新启动事务科的GUI重新启动按钮,很容易重新启动FTP服务。 Beside, ensure that ftpd service is not disabled in Service Manager.旁边,确保ftpd服务并非残疾人士服务经理。

    If you manage to see login prompt and the FTP command connected to localhost(127.0.0.1), the unable to FTP error may be due to the firewall setting or IPTABLES configuration.如果您管理看到登录提示符和FTP命令连接到本地( 127.0.0.1 ) ,无法到FTP错误,可能是由于防火墙的设置或iptables的配置。 If you recently made any changes to firewall, undo them to see if problem persists.如果您最近所作的任何更改,防火墙,撤消他们看到,如果问题仍然存在。

  5. You can also manually check if FTP server is running or not, and which port it’s listening to.您也可以手动检查,如果FTP服务器上正在运行或不是,以及哪些港口,它的聆听。 In typical cPanel environment, normally the Pure-FTPd is installed as FTP server.在典型的cPanel环境,通常是纯ftpd是安装FTP伺服器。 So to check if Pure-FTPd is running, issue the following command:因此,检查,如果纯ftpd正在运行,发出下列命令:

    service pure-ftpd status服务纯ftpd地位

    You should see something like below if FTP server is running:您应该会看到一些像下面如果FTP服务器正在运行:


    pure-ftpd (pid 3302) is running... 纯ftpd ( PID控制3302 )正在运行...
    +------+---------+-------+------+-------------- +------+---------+-------+------+--------------
    | PID | Login |For/Spd| What | File/IP | | PID控制|登录|为/社民党|什么|文件/ IP协议|
    +------+---------+-------+------+-------------- +------+---------+-------+------+--------------

  6. To verify which port Pure-FTPd is listening to, type following command.要验证,其中港口纯ftpd是听,键入以下命令。 Normally FTP server should listen to port 21.通常FTP伺服器应听取港口21 。

    lsof-i tcp:21 lsof我的TCP : 21

    You should see something similar to the following text:您应该会看到类似下列文字:


    COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME 命令的PID用户的FD型装置的大小节点名称
    pure-ftpd 3302 root 4u IPv4 574378144 TCP *:ftp (LISTEN) 纯ftpd 3302根单床的IPv4 574378144的TCP * :的FTP (听)

  7. If the remote FTP connection fails problem still exists, try to check the error for any hint on possible cause.如果远程FTP连接失败的问题仍然存在,尝试以检查错误的任何暗示对可能的原因。 To check the errors log for all message related to FTP, use following commands:检查错误日志中的所有邮件相关的FTP ,请使用以下命令:

    less /var/log/messages | grep pure-ftpd少在/ var / log /留言| grep纯ftpd

  8. You can now try to troubleshoot the errors, if any, that mentioned in the log file.现在,您可以尝试解决错误,如有的话,提到在日志文件中。

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要说明 :这是一个机器翻译网页是“按原样”提供的担保。 Machine translation may be difficult to understand.机器翻译可能很难理解。 Please refer to请参阅 original English article原来的英语文章 whenever possible.只要有可能。

Share and contribute or get technical support and help at分享和贡献,或取得技术的支持和帮助,在 My Digital Life Forums 我的数字生活论坛 .



One Response to “Cannot FTP to Web Host or Server running cPanel/WHM” 1回应“不能FTP发布到Web主机或服务器运行的cPanel /的WHM ”

  1. Todd托德
    January 22nd, 2008 14:45 2008年1月22日14时45分
    1

    Great.伟大的。 this helped me out.这帮助我。 The only problem is, I have to reboot the FTP service after every system reboot.唯一的问题是,我要重新启动FTP服务后,每重新启动系统。 Is this normal?这是正常吗 Why isn’t the FTP service starting automatically?为什么没有FTP服务自动启动?

Leave a Reply离开的答复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用这些标签:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <删除日期时间= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting订阅无评论


Custom Search

New Articles新的条款,

Incoming Search Terms for the Article传入的搜索条件文章

WHM FTP 的WHM的FTP - - nod32 ftp 32的FTP - - WHM set ftp access 的WHM设置FTP访问 - - whm root ftp 的WHM根的FTP - - cpanel ftp port 的cPanel FTP端口 - - cannot logon to web host server 不能登录到Web伺服器主机 - - User cannot FTP 用户不能的FTP - - vista ftp connection refused Vista的FTP连接拒绝 - - how to check if ftp is running 如何检查如果FTP运行 - - troubleshooting web host manager FTP 疑难解答网页主机经理的FTP - - cant connect iphone pure ftpd cannot连接iphone纯ftpd - - check if ftp server is running 检查如果FTP服务器正在运行 - - cpanel ftp "port 21" 的cPanel的FTP “端口21 ” - - cpanel transfer su root 转让的cPanel苏根 - - ftp: connect :Connection refused in VISTA ftp:connect :拒绝连线在Vista - - ftp server connection refuse FTP伺服器连线垃圾 - - smart 3g te connection fail 第三代电子智能连接失败 - - vista ftp login error Vista的FTP登录错误 - - whm transfer Public Key (default) 的WHM转让的公开密码匙(默认) - - whm prevent users from accessing other folders 的WHM阻止用户访问其它文件夹 - - adobe contribute + chroot ftp server Adobe公司+贡献的chroot FTP伺服器 - - printer ftp connection refused 印表机的FTP连接被拒绝 - - vista ftp problem Vista中的FTP问题 - - cpanel port 80 not running 的cPanel端口80没有运行 - - cpanel "ftp setup" 的cPanel “的FTP设置” - - cpanel ftp login problem 的cPanel FTP登录问题 - - how to check ftp is running 如何检查正在运行的FTP - - how to find if ftp server is running on a site 如何寻找如果FTP服务器上运行的网站 - - reboot cpanel server from SSH 重新启动的cPanel服务器的SSH - - su root cannot FTP to server 苏根不能的FTP伺服器 - - vista pure-ftpd not working Vista的纯ftpd不工作 - - whm server ftp 的WHM服务器的FTP - - check if pureftp is running 检查是否pureftp运行 - - cpanel allow other server to connect ftp 的cPanel ,让其他服务器连接的FTP - - how to active cpanel in localhost ? 如何以积极的cPanel在本地? - - how to restart ftp windows server 2008 如何重新启动的FTP的Windows Server 2008 - - whm system reboot command from shell 的WHM系统重新启动命令由蚬壳 - - "Connection refused " whm “拒绝连线”的WHM - - مشكلة Apache is working on your cPanel® and WHM™ Server مشكلة Apache是工作对您的cPanel ®和的WHM ™伺服器 - - cannot ftp through live onecare 不能的FTP透过活在OneCare - - cpanel ftp problems pureftp 的cPanel的FTP问题pureftp - - nod32+ftp 32 +的FTP - - upload ftp to cpanel 上传FTP发布到的cPanel - - cpanel change ftp port 的cPanel改变FTP端口 - - I cannot connect to my whm from my pc 我无法连接到我的WHM从我的电脑 - - pure-ftpd conection refused 纯ftpd conection拒绝 - - pureftpd connection refused pureftpd连接被拒绝 - - vmware update ftp iis Connection refused VMware的更新FTP IIS的连接被拒绝 - - access ftp using root on cpanel using pure-ftpd 访问FTP使用根上的cPanel使用纯ftpd - - ftp open site command connection refused error windows vista 打开网站的FTP命令连接被拒绝错误的Windows Vista - -