vsftpd 500 OOPS: vsftpd: cannot open config file错误

来源:互联网 发布:originlab mac破解版 编辑:程序博客网 时间:2024/04/30 05:30
到/etc/init.d/目录输入: vsftpd restart得到条错误信息”500 OOPS: vsftpd: cannot open config file:restart”当时就郁闷了…然后又试了: vsftpd stop又得到条错误信息”500 OOPS: vsftpd: cannot open config file:stop”再来: vsftpd“500 OOPS: could not bind listening IPv4 socket” 发现原来是来在这里输入vsftpd执行的不是这个目录下的vsftpd,而是/usr/sbin/目录下的vsftpd(因为root的用户目录 是这个…)要执行/etc/init.d/vsftpd 一定要输入完整的路径.不管你在哪个地方,输入而整的路径就可以运行了.例如我现在已经在/etc/init.d/目录下了,但我要执行vsftpd restart,还是要输入: /etc/init.d/vsftpd restart
原创粉丝点击