vsftpd问题

本文列举并解释了vsftpd服务中常见的错误信息及其解决方案,包括配置文件错误、用户验证失败、目录访问限制等问题,并提供了具体的解决步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

500 OOPS: vsftpd: refusing to run with writable anonymous root
出现这个错误信息的原因通常是ftp的家(home)目录的属主和相应权限设定不正确,设置的目录和家(home)目录的属主不应该是ftp用户自己,而且ftp用户也不能有写的权限。

500 OOPS: cap_set_proc
需要将capability模块加载,手动加载模块:#modprobe capability。

500 OOPS: cannot change directory
解决方法见:http://hi.baidu.com/215317196/blog/item/fbe5c93803b2c223b9998f1c.html

500 OOPS: cannot locate user entry
没有找到对应的用户信息。检查用户信息设置。

500 OOPS: vsftpd: not found: directory given in……
vsftpd.conf里面的选项没有附值,或不存在。一般情况为目录不存在。

vsftpd:500 OOPS: unrecognised variable in config file:
这种情况一般vsftpd.conf配置错误,可能是某个选项变量设置错误,或未设置。

500 OOPS: could not bind listening IPv4 socket
因为xinetd已经启动了vsftpd,而vsftpd设置成了独立服务模式。或者端口已占用。

 

If you get errors like this while connecting to the server:

500 OOPS: cap_set_proc

You need to add capability in MODULES= line in /etc/rc.conf .

While upgrading to version 2.1.0 you might get an error like this when connecting to the server from a client:

500 OOPS: could not bind listening IPv4 socket

In earlier versions it has been enough to leave the following lines commented:

# Use this to use vsftpd in standalone mode, otherwise it runs through (x)inetd
# listen=YES

In this newer version, and maybe future releases, it is necessary however to explicitly configure it to not run in a standalone mode, like this:

# Use this to use vsftpd in standalone mode, otherwise it runs through (x)inetd
listen=NO
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值