VPS侦探论坛

 找回密码
 注册
查看: 9466|回复: 2

使用lnmp vsftpd 安装以后 ftp 连接被拒 的解决方法

[复制链接]
发表于 2011-5-9 01:29:17 | 显示全部楼层 |阅读模式

首先感谢licess免费提供Lnmp.
使用lnmp 默认的 vsftpd 安装以后 ftp 连接被拒
使用 service vsftpd start 指令 提示 unrecognized service
说明 vsftpd 服务有, 发现很多人有这样的问题,可能是安装包没弄好。

解决方法: # yum install vsftpd
提示Y /N? 时    输入y
安装完成后  # service vsftpd restart
重启一下 VSftpd  问题解决
注意FTP不能使用pasv模式!
  1. [root@localhost ~]# service vsftpd restart
  2. vsftpd: unrecognized service
  3. [root@localhost ~]# service vsftpd start
  4. vsftpd: unrecognized service
  5. [root@localhost ~]# netstat -tnl
  6. Active Internet connections (only servers)
  7. Proto Recv-Q Send-Q Local Address Foreign Address State
  8. tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
  9. tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
  10. tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
  11. tcp 0 0 :::22 :::* LISTEN

  12. [root@localhost ~]# yum install vsftpd
  13. Loaded plugins: fastestmirror
  14. Loading mirror speeds from cached hostfile
  15. * base: mirror.neu.edu.cn
  16. * extras: mirror.neu.edu.cn
  17. * updates: mirror01.idc.hinet.net
  18. base | 1.1 kB 00:00
  19. extras | 2.1 kB 00:00
  20. updates | 1.9 kB 00:00
  21. updates/primary_db | 440 kB 00:00
  22. Setting up Install Process
  23. Resolving Dependencies
  24. --> Running transaction check
  25. ---> Package vsftpd.i386 0:2.0.5-16.el5_6.1 set to be updated
  26. updates/filelists_db | 1.9 MB 00:01
  27. --> Finished Dependency Resolution

  28. Dependencies Resolved

  29. ================================================================================
  30. Package Arch Version Repository Size
  31. ================================================================================
  32. Installing:
  33. vsftpd i386 2.0.5-16.el5_6.1 updates 141 k

  34. Transaction Summary
  35. ================================================================================
  36. Install 1 Package(s)
  37. Upgrade 0 Package(s)

  38. Total download size: 141 k
  39. Is this ok [y/N]: y
  40. Downloading Packages:
  41. vsftpd-2.0.5-16.el5_6.1.i386.rpm | 141 kB 00:00
  42. Running rpm_check_debug
  43. Running Transaction Test
  44. Finished Transaction Test
  45. Transaction Test Succeeded
  46. Running Transaction
  47. Installing : vsftpd 1/1

  48. Installed:
  49. vsftpd.i386 0:2.0.5-16.el5_6.1

  50. Complete!

  51. [root@localhost ~]# service vsftpd restart
复制代码
插下广告:
诈金花   

希望能帮助需要的人。

[ 本帖最后由 44600106 于 2011-5-9 01:36 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-5-16 17:37:55 | 显示全部楼层

回复 1# 的帖子



用楼主的方法解决了  感谢楼主
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-9-20 13:49:59 | 显示全部楼层

用楼主的方法解决了  感谢楼主
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-21 08:33 , Processed in 0.025856 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表