+ -
当前位置:首页 → 问答吧 → xinetd服务启动失败!

xinetd服务启动失败!

时间:2009-02-28

来源:互联网

今天开机发现没有声音,于是按照往常,/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...


大家帮忙看看是什么毛病?不知道还需要提供什么信息??

作者: zpcat   发布时间: 2009-02-28

有那位可以指点一二呀!

作者: zpcat   发布时间: 2009-02-28

搞定了在/var/run/中touch xinetd.init.pid 文件后,service xinetd restart成功了。现在打开了声音驱动,用alt+tab切换窗口不死机了。
不过原理还是不明白啊!!
没有那位可以指点一下吗?
被迫要搞lfs,看来不真正明白linux的原理是到处碰壁啊!!

作者: zpcat   发布时间: 2009-02-28