请教一个xinetd重启失败的问题(版本14.04 kylin)

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
sprawn
帖子: 24
注册时间: 2016-03-27 11:14
系统: 13.1

请教一个xinetd重启失败的问题(版本14.04 kylin)

#1

帖子 sprawn » 2016-04-10 12:04

安装了tftp,使用命令如下:
apt-get install xinetd tftpd tftp

但是在重启服务时出现如下错误:
root@wang-Ubuntu:~# service xinetd restart
stop:未知任务: xinetd
start:未知任务: xinetd

请各位高人帮忙看一下,多谢
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 请教一个xinetd重启失败的问题(版本14.04 kylin)

#2

帖子 poloshiao » 2016-04-10 12:34

service xinetd restart
stop:未知任务: xinetd
start:未知任务: xinetd

service xinetd start
sprawn
帖子: 24
注册时间: 2016-03-27 11:14
系统: 13.1

Re: 请教一个xinetd重启失败的问题(版本14.04 kylin)

#3

帖子 sprawn » 2016-04-10 14:09

poloshiao 写了:
service xinetd restart
stop:未知任务: xinetd
start:未知任务: xinetd

service xinetd start
还是不行:
root@wang-Ubuntu:/home/wangxiaochun# service xinetd start
start:未知任务: xinetd
rosynirvana
帖子: 893
注册时间: 2011-02-14 17:46

Re: 请教一个xinetd重启失败的问题(版本14.04 kylin)

#4

帖子 rosynirvana » 2016-04-10 20:30

# service --status-all
有没有xinetd呢?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 请教一个xinetd重启失败的问题(版本14.04 kylin)

#5

帖子 poloshiao » 2016-04-10 20:42

service xinetd start
start:未知任务: xinetd
0. 如果是 root 登入 以下不必加 sudo
1. 看看 有沒有 /etc/init.d/xinetd
sudo ls -al /etc/init.d/xinetd
2. 看看 xinetd 現況
sudo /etc/init.d/xinetd status
3. 如何啟動 xinetd
https://support.symantec.com/en_US/arti ... 63916.html
How to start Xinetd Service in LINUX

4. 進一步參閱
Ubuntu 14.04 開機初始化程序 由 Upstart 管理
https://help.ubuntu.com/community/Ubunt ... nd_Configs
/etc/init.d is where all the traditional sysvinit scripts and the backward compatible scripts for upstart live. The backward compatible scripts basically run service myservice start instead of doing anything themselves. Some just show a notice to use the "service" command.
回复