LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1692|回复: 2

xinetd服务启动失败!

[复制链接]
发表于 2009-2-27 21:55:51 | 显示全部楼层 |阅读模式
今天开机发现没有声音,于是按照往常,/etc/init.d/alsasound restart
有声音了,于是,习惯性的切换窗口(alt+tab),马上死机。于是不停的杀掉kde,不停的实验,发现只要重复这个步骤马上死机。曾怀疑是昨天搞compiz时引来的毛病,于是,关特效,或换成compiz.问题依旧,好像声音和(alt+tab)不能共存!!只要启动声音,一按(alt+tab)就死机!
检查/var/log/messages发现xinetd这个服务启动失败了。于是/etc/init.d/xinetd restart发现还是启动失败!!
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=26]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/chargen-udp [file=/etc/xinetd.d/chargen-udp] [line=14]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/cups-lpd [file=/etc/xinetd.d/cups-lpd] [line=15]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=11]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/daytime-udp [file=/etc/xinetd.d/daytime-udp] [line=14]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] [line=15]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/discard-udp [file=/etc/xinetd.d/discard-udp] [line=14]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=15]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/echo-udp [file=/etc/xinetd.d/echo-udp] [line=14]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/netstat [file=/etc/xinetd.d/netstat] [line=15]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/rsync [file=/etc/xinetd.d/rsync] [line=16]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/sane-port [file=/etc/xinetd.d/sane-port] [line=12]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/servers [file=/etc/xinetd.d/servers] [line=14]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/services [file=/etc/xinetd.d/services] [line=14]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/svnserve [file=/etc/xinetd.d/svnserve] [line=14]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/systat [file=/etc/xinetd.d/systat] [line=15]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/tftp [file=/etc/xinetd.d/tftp] [line=17]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=15]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/time-udp [file=/etc/xinetd.d/time-udp] [line=15]
Feb 27 21:33:20 linux-123t xinetd[5417]: Reading included configuration file: /etc/xinetd.d/vnc [file=/etc/xinetd.d/vnc] [line=15]
Feb 27 21:33:20 linux-123t xinetd[5417]: 5417 {init_services} no services. Exiting...


大家帮忙看看是什么毛病?不知道还需要提供什么信息??
 楼主| 发表于 2009-2-28 14:17:47 | 显示全部楼层
有那位可以指点一二呀!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-28 15:49:19 | 显示全部楼层
搞定了在/var/run/中touch xinetd.init.pid 文件后,service xinetd restart成功了。现在打开了声音驱动,用alt+tab切换窗口不死机了。
不过原理还是不明白啊!!
没有那位可以指点一下吗?
被迫要搞lfs,看来不真正明白linux的原理是到处碰壁啊!!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表