红联Linux门户
Linux帮助

如何重启vsftpd服务

发布时间:2011-06-21 08:23:15来源:红联作者:laoge1
如题,如何重启vsftpd,(系统ubuntu10.1)
网上说用命令 sudo /etc/init.d/vsftpd restart
试过后不行,提示:
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service vsftpd restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart vsftpd
vsftpd start/running, process 2464

网上还有说用命令: sudo service vsftpd restart
试过后还不行,提示:
restart: Unknown instance:

应该用什么命令????????????????
文章评论

共有 5 条评论

  1. wj01783 于 2011-09-09 16:28:43发表:

    注意了。。。。

  2. yrj8008037241 于 2011-07-25 20:16:26发表:

    service vsftpd restart

  3. yhzm1314 于 2011-06-21 22:46:05发表:

    3# laoge1


    sudo pkill vsftpd
    sudo vsftpd

  4. laoge1 于 2011-06-21 14:49:10发表:

    谢谢二楼,试过了,/etc/rc.d/init.d/vsftpd start 提示说没有这样的命令或目录,用ls看了一下,确实没有rc.d这个目录,只有有rcS.d rc1.d,rc1.d...rc6.d和rc.local

  5. nbachen 于 2011-06-21 11:19:04发表:

    这个和环境配置等等有关吧 我是菜菜菜菜菜鸟
    我的命令是
    /etc/rc.d/init.d/vsftpd start