Ubuntu10.04如何重启服务?
- 小锐同学
- 帖子: 314
- 注册时间: 2009-08-14 16:24
Ubuntu10.04如何重启服务?
lucifer@cross:~$ sudo /etc/init.d/vsftpd restart
[sudo] password for lucifer:
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
lucifer@cross:~$
以前在9.10的时候是可以这样重启的。
现在启动也不行,该怎么办呢?
lucifer@cross:~$ sudo /etc/init.d/vsftpd start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service vsftpd start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start vsftpd
vsftpd start/running, process 2503
lucifer@cross:~$
[sudo] password for lucifer:
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
lucifer@cross:~$
以前在9.10的时候是可以这样重启的。
现在启动也不行,该怎么办呢?
lucifer@cross:~$ sudo /etc/init.d/vsftpd start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service vsftpd start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start vsftpd
vsftpd start/running, process 2503
lucifer@cross:~$
我很乖的。。。
-
- 帖子: 3173
- 注册时间: 2010-01-13 23:26
Re: Ubuntu10.04如何重启服务?
代码: 全选
sudo service vsftpd restart
Here I am.
Ubuntu 桌面培训 - 全中文官方文档,含汉化截图,提供PDF
Ubuntu 桌面培训 - 全中文官方文档,含汉化截图,提供PDF
- ghostry
- 帖子: 1532
- 注册时间: 2008-07-23 20:08
- 来自: http://www.ghostry.cn
- 联系:
Re: Ubuntu10.04如何重启服务?

http://www.ghostry.cn狂网技术工作室,组网建站,平面设计,java项目,空间域名.
好心人点这里进去注册并且用一次,给我增加点流量http://tinyurl.com/272ncjl
电脑配置:
公司:880G/II250/1TB/2G1333/
家:785G+/II245+/1TB/2G677/
好心人点这里进去注册并且用一次,给我增加点流量http://tinyurl.com/272ncjl
电脑配置:
公司:880G/II250/1TB/2G1333/
家:785G+/II245+/1TB/2G677/
- 小锐同学
- 帖子: 314
- 注册时间: 2009-08-14 16:24
Re: Ubuntu10.04如何重启服务?
不行啊,启动就说。。额。。说什么。
重启跟停止都说未知的实例。
用ftp链接都不行的。在浏览器里链接也不行。
lucifer@cross:~$ sudo service vsftpd start
vsftpd start/running, process 2713
lucifer@cross:~$ sudo service vsftpd restart
restart: Unknown instance:
lucifer@cross:~$ sudo service vsftpd stop
stop: Unknown instance:
lucifer@cross:~$ ftp 10.0.33.62
ftp: connect: Connection refused
ftp> lucifer@cross:~$

重启跟停止都说未知的实例。
用ftp链接都不行的。在浏览器里链接也不行。
lucifer@cross:~$ sudo service vsftpd start
vsftpd start/running, process 2713
lucifer@cross:~$ sudo service vsftpd restart
restart: Unknown instance:
lucifer@cross:~$ sudo service vsftpd stop
stop: Unknown instance:
lucifer@cross:~$ ftp 10.0.33.62
ftp: connect: Connection refused
ftp> lucifer@cross:~$

我很乖的。。。
-
- 帖子: 3
- 注册时间: 2008-10-09 11:39
Re: Ubuntu10.04如何重启服务?

-
- 帖子: 18311
- 注册时间: 2008-01-09 22:41
Re: Ubuntu10.04如何重启服务?
我debian上直接杀进程的
其实提示说的很明显了……
use the service(8) utility, e.g. service vsftpd restart
use the restart(8) utility, e.g. restart vsftpd
vsftpd start/running, process 2464

其实提示说的很明显了……
use the service(8) utility, e.g. service vsftpd restart
use the restart(8) utility, e.g. restart vsftpd
vsftpd start/running, process 2464
-
- 帖子: 2
- 注册时间: 2010-08-03 19:17
Re: Ubuntu10.04如何重启服务?
问题是 ubuntu 上面提示找不到进程啊
我debian上直接杀进程的
其实提示说的很明显了……
use the service(8) utility, e.g. service vsftpd restart
use the restart(8) utility, e.g. restart vsftpd
vsftpd start/running, process 2464
-
- 帖子: 3
- 注册时间: 2009-01-07 13:13
Re: Ubuntu10.04如何重启服务?
怎么没有高手说明解决的办法啊。。。 

- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 3
- 注册时间: 2009-01-07 13:13
Re: Ubuntu10.04如何重启服务?
root@wfer:~# netstat -antup
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 787/mysqld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 792/apache2
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1013/vsftpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 696/sshd
tcp 0 52 218.28.132.36:22 218.28.132.34:3389 ESTABLISHED 945/0
tcp6 0 0 :::22 :::* LISTEN 696/sshd
root@wfer:~# service vsftpd restart
vsftpd start/running, process 1023
root@wfer:~# netstat -antup
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 787/mysqld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 792/apache2
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1023/vsftpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 696/sshd
tcp 0 52 218.28.132.36:22 218.28.132.34:3389 ESTABLISHED 945/0
tcp6 0 0 :::22 :::* LISTEN 696/sshd
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 787/mysqld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 792/apache2
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1013/vsftpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 696/sshd
tcp 0 52 218.28.132.36:22 218.28.132.34:3389 ESTABLISHED 945/0
tcp6 0 0 :::22 :::* LISTEN 696/sshd
root@wfer:~# service vsftpd restart
vsftpd start/running, process 1023
root@wfer:~# netstat -antup
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 787/mysqld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 792/apache2
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1023/vsftpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 696/sshd
tcp 0 52 218.28.132.36:22 218.28.132.34:3389 ESTABLISHED 945/0
tcp6 0 0 :::22 :::* LISTEN 696/sshd
-
- 帖子: 3
- 注册时间: 2009-01-07 13:13
Re: Ubuntu10.04如何重启服务?
vsftpd start/running, process 1023
这个意思是重启过了?
我以前一直用的是red hat 。。。
这个意思是重启过了?
我以前一直用的是red hat 。。。
-
- 帖子: 26
- 注册时间: 2009-04-26 13:38
Re: Ubuntu10.04如何重启服务?
请问楼主解决了没有?我现在也是遇到这种问题。。。。
小锐同学 写了:lucifer@cross:~$ sudo /etc/init.d/vsftpd restart
[sudo] password for lucifer:
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
lucifer@cross:~$
以前在9.10的时候是可以这样重启的。
现在启动也不行,该怎么办呢?
lucifer@cross:~$ sudo /etc/init.d/vsftpd start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service vsftpd start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start vsftpd
vsftpd start/running, process 2503
lucifer@cross:~$
- evremonder
- 帖子: 33
- 注册时间: 2009-02-16 11:59
Re: Ubuntu10.04如何重启服务?
我尝试了下,可以直接 用
$sudo /etc/init.d/服务名 {start|restart|stop}这样就可以了
$sudo /etc/init.d/服务名 {start|restart|stop}这样就可以了
-
- 帖子: 4
- 注册时间: 2012-02-28 12:43
Re: Ubuntu10.04如何重启服务?
楼主解决这个问题了吗。我也遇到了啊
-
- 帖子: 46
- 注册时间: 2015-01-15 18:02
- 系统: ubuntu 10.04
Re: Ubuntu10.04如何重启服务?
其实那个提示应该是表示已经启动成功了