重启vsftp服务的命令改了?为什么/etc/init.d/vsftpd restart不行了?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
admin@ubuntu:~$ /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 stop(8) and then start(8) utilities, e.g. stop vsftpd ; start vsftpd. The restart(8) utility is also available. stop: Rejected send message, 1 matched rules; type="method_call", sender=":1.87" (uid=1000 pid=3342 comm="stop vsftpd ") interface="com.ubuntu.Upstart0_6.Job" member="Stop" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init") admin@ubuntu:~$ /etc/init.d/vsftpd service restart Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service vsftpd service The script you are attempting to invoke has been converted to an Upstart job, but service is not supported for Upstart jobs. admin@ubuntu:~$ sudo service vsftpd restart [sudo] password for admin: vsftpd stop/waiting vsftpd start/running, process 3357 admin@ubuntu:~$ natstat -l No command 'natstat' found, did you mean: Command 'netstat' from package 'net-tools' (main) natstat: command not found admin@ubuntu:~$ netstat -l 激活Internet连接 (仅服务器) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:ftp *:* LISTEN tcp 0 0 localhost:domain *:* LISTEN tcp 0 0 localhost:ipp *:* LISTEN |
博客能带货吗
发表评论