VsFTPD 出现500 OOPS: child died时,得多找找原因。

13287 次阅读 by 九九 2012-05-12 | 标签:ftp Linux

网上找了一堆的答案,很多都是讲终端里执行:

setsebool ftpd_disable_trans 1

但是啊,你可能会得到这样的返回值:

setsebool:  SELinux is disabled!

然后,你就接上去搜上面这个返回值的处理方法....接着你可能就会重启机器!!!你的第一个步骤就可能错了,因为别人写的情况可能跟你的场景不一样。假如你指定的ftp用户所指向的用户目录,为root目录下,或是当前用户没有权限的操作目录时,你也会遇到:

500 OOPS: child died

这时,你不用执行上面的操作,只要这样:

usermod -d 用户有权限的目录(如:/home/example) 用户名
usermod -d /home/username username

即可。哈哈,我也是老外坛子看到的,贴一部分: So it was easily solved by again doing usermod -d and give a better path - once it was found witch took me several hours....:-) 引自:http://www.linuxquestions.org/questions/linux-networking-3/500-oops-child-died-508395/


评论(20)

暂无评论!


PS:多打字可以减肥哦~234字以内。支持表情:


Top