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)
相关推荐
vsftp的含义就是Very Security Ftp,下面就简要的说一下它的配置和使用方法,通过本文的介绍也希望您能了解在Linux下配置一个网络服务的基本过程 1.相关配置文件 /etc/vsftpd.conf,vsftpd.ftpuser,vsftpd.user_...
linux下ftp配置
LinuxFTP服务器配置实验报告整理.pdf
linux ftp服务配置说明文档,里面有详细操作步骤,详细描述了ftp的安装
linux配置ftp服务器,以前都比较复杂,按照向导来,可以提供些参考
linux 下ftp服务器配置 linux 下ftp服务器配置
CentOS7下的一份完整vsftpd的配置文件。阿里云三台CentOS7.0 linux主机亲测有效。 不过需要单独新建一份文件/vsftpd/chroot_list文件,里面写上允许登录的ftp用户名。
《Linux服务器配置与管理》教学课件—第 12 章 FTP 服务器配置.pdf《Linux服务器配置与管理》教学课件—第 12 章 FTP 服务器配置.pdf《Linux服务器配置与管理》教学课件—第 12 章 FTP 服务器配置.pdf《Linux服务器...
FTP基本配置,只实现匿名用户能连接FTP服务器,能看不能上传和下传。注意,红色字体的配置是必须。
linux系统的ftp配置,适用于linux的各个本版
linux FTP配置详解 介绍的非常详细,每一项的描述都有
Linux服务器配置与管理项目8 FTP服务器配置与管理 Linux服务器配置与管理项目8--FTP服务器配置与管理全文共50页,当前为第1页。 【项目描述】 公司为方便内部信息的交流,需要一台FTP服务器实现公司内部文件的上传...
linux的ftp详细配置实例,使用flash或播放器打开,点击左边习题,再点击下面步骤即可
linux ftp上传配置 Vsftp支持限额配置
红旗linux中的ftp配置的方法,很详细的
Linux下FTP的安全配置 绝对实用!
主要描述了Linux中ftp服务器是如何配置的
Linux下安装与配置FTP工具,一共分为6步,完整描述了安装过程
Linux FTP服务器详细配置 centos7
linux下配置Ftp服务器,详细文档。