首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > Linux > vsftpd dead , but subsys locked --解除方法汇总(Red Hat Enterprise Linux 4)
【标  题】:vsftpd dead , but subsys locked --解除方法汇总(Red Hat Enterprise Linux 4)
【关键字】:vsftpd,dead,but,subsys,locked,--,Red,Hat,Enterprise,Linux
【来  源】:http://blog.csdn.net/yunccll/archive/2006/12/11/1438724.aspx

vsftpd dead , but subsys locked --解除方法汇总(Red Hat Enterprise Linux 4)

系统: RHEL4

ftp软件:vsftpd 2.**** , 与 xinetd 分离运行.

状态: 执行用service vsftpd status ->vsftpd dead, but subsys locked ,重新安装vsftp,结果依旧.

1. 先删除 /var/lock/subsys/vsftpd -> rm -frv  /var/lock/subsys/vsftpd

2.  以下几种可能的解决方法(或者关系)

      a.  仔细检查/etc/vsftpd/vsftpd.conf的配置文件的内容格式.确定正确,主要是全角半角字符的编码错误.

      b.  确认                listen=YES       TCP_trappers=YES  

      c. cp /etc/vsftpd/vsftpd.conf    /etc/vsftpd/vsftpd.conf.bak   \  rm -f /etc/vsftpd/vsftpd.conf

          cp /etc/vsftpd/vsftpd.conf .bak   /etc/vsftpd/vsftpd.conf    \ rm -f   /etc/vsftpd/vsftpd.conf.bak

    说明:cp 和mv命令对selinux security context影响  cp将拷贝过去的文件的context改变为目的目录的context,而mv则不会改变移动文件的context 

(I've had problems like this before, and I finally found out what the problem was. When you 'mv' a file (like a config file from a home dir to the proper location) it keeps the selinux context setting from the originating directory. When you 'cp' a file, it will change that context to the context of the directory being moved too. I have mv'd backups of configs from home dir to /etc and ran into the same error message. If you do a fixfiles relabel, or touch /.autorelabel and reboot, it should re-write the security context and hopefully clear up your problems.)

    d. 关闭 xinetd 服务, 先启动 vsftpd, 再启动xinetd .  (删除gssftp) 

Linux操作系统的内核编译详解:【上一篇】
瘦客户机及其应用:【下一篇】
【相关文章】
  • Linux操作系统的内核编译详解
  • 交换机命令---华为路由器配置
  • 面向对象的思想-----经验原则
  • MySQL查询优化--数据类型与效率
  • QT - QODBC数据库编程 --- Access 中二进制大对象的存取 (2)
  • ACE应用在Linux下编译事项
  • qt-designer使用教程3--编写自己的槽
  • 锐捷 for linux
  • Linux LVM
  • VNC Enterprise edition
  • 【随机文章】
  • 过敏性鼻炎治疗过敏性鼻炎的治疗如何治疗过敏性鼻炎
  • Linux 指令大全(1)
  • AJAX and AJAH and MVC
  • 简便更改Eclipse的Title标题/标题图标/启动画面/帮助信息
  • Linux下在线看电影(rtsp)
  • 推荐一本书 GNU/Linux Application Programming
  • 探讨Spring框架使用真相
  • A more stable way to locate real KiServiceTable
  • 学习C++模板---模板类作为基类,使用参数类
  • 安全知识: Windows XP操作系统虚拟专用网络揭秘
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.