免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: 鸟鸟不哥
打印 上一主题 下一主题

linux莫名奇妙死机,贴错误log,求高手指点迷津! [复制链接]

论坛徽章:
0
11 [报告]
发表于 2012-02-13 11:46 |只看该作者
我就没想进入图形界面,一般就是远程用putty连接回复 8# dengbao2001


   

论坛徽章:
13
技术图书徽章
日期:2014-04-29 14:15:42IT运维版块每日发帖之星
日期:2015-12-12 06:20:00IT运维版块每日发帖之星
日期:2015-08-30 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-02 06:20:002015年亚洲杯之澳大利亚
日期:2015-04-03 15:03:12申猴
日期:2015-03-20 09:00:292015年迎新春徽章
日期:2015-03-04 09:54:452015年辞旧岁徽章
日期:2015-03-03 16:54:15季节之章:冬
日期:2015-01-20 17:08:47双子座
日期:2014-11-21 16:30:31技术图书徽章
日期:2014-07-11 16:29:08
12 [报告]
发表于 2012-02-13 11:47 |只看该作者
在控制台,执行startx 看看能不能进入GUI界面

如果不行,参考下面的:

Check that gdm package is installed, and if not, install it:
# yum install gdm

论坛徽章:
0
13 [报告]
发表于 2012-02-13 13:38 |只看该作者
检查一下/etc/inittab文件!!!注意查看respawn的选项!!!把不必要的先注释掉,然后再观察,看看是不是还死机

论坛徽章:
0
14 [报告]
发表于 2012-02-13 14:11 |只看该作者
回复 13# baocq


    x:5:respawn:/etc/X11/prefdm -nodaemon

关于您说的文件里面的选项是这样滴!

论坛徽章:
13
技术图书徽章
日期:2014-04-29 14:15:42IT运维版块每日发帖之星
日期:2015-12-12 06:20:00IT运维版块每日发帖之星
日期:2015-08-30 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-02 06:20:002015年亚洲杯之澳大利亚
日期:2015-04-03 15:03:12申猴
日期:2015-03-20 09:00:292015年迎新春徽章
日期:2015-03-04 09:54:452015年辞旧岁徽章
日期:2015-03-03 16:54:15季节之章:冬
日期:2015-01-20 17:08:47双子座
日期:2014-11-21 16:30:31技术图书徽章
日期:2014-07-11 16:29:08
15 [报告]
发表于 2012-02-13 14:15 |只看该作者
将完整的/var/log 下面的message,acpid日志贴出来

另外,告知死机的准确时间,分析日志看看

论坛徽章:
0
16 [报告]
发表于 2012-02-13 14:30 |只看该作者
回复 15# dengbao2001
message信息。现在机器被手动关机然后重启了,
Feb 13 10:46:18 ** syslogd 1.4.1: restart.
Feb 13 10:47:35 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 10:52:36 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 10:53:07 ** avahi-daemon[2573]: Invalid query packet.
Feb 13 10:53:48 ** last message repeated 7 times
Feb 13 10:55:12 ** last message repeated 8 times
Feb 13 10:57:37 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 11:02:38 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 11:07:39 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 11:07:51 ** avahi-daemon[2573]: Invalid query packet.
Feb 13 11:08:36 ** last message repeated 13 times
Feb 13 11:12:40 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 11:15:27 ** avahi-daemon[2573]: Invalid query packet.
Feb 13 11:16:07 ** last message repeated 7 times
Feb 13 11:17:41 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 11:18:19 ** avahi-daemon[2573]: Invalid query packet.
Feb 13 11:19:05 ** last message repeated 13 times
Feb 13 11:22:42 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 11:27:43 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 11:32:44 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 11:37:45 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 11:42:46 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 11:47:47 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 11:49:54 ** avahi-daemon[2573]: Invalid query packet.
Feb 13 11:50:34 ** last message repeated 7 times
Feb 13 11:52:48 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 11:57:49 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 12:02:50 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 12:05:52 ** avahi-daemon[2573]: Invalid query packet.
Feb 13 12:06:32 ** last message repeated 7 times
Feb 13 12:07:51 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 12:12:52 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 12:17:53 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 12:22:54 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 12:27:55 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 12:32:56 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 12:37:57 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 12:42:58 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 12:47:59 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 12:53:00 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 12:56:12 ** avahi-daemon[2573]: Invalid query packet.
Feb 13 12:56:55 ** last message repeated 10 times
Feb 13 12:58:01 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 13:03:03 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 13:08:04 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 13:08:10 ** avahi-daemon[2573]: Invalid query packet.
Feb 13 13:08:50 ** last message repeated 7 times
Feb 13 13:13:05 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 13:18:06 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 13:23:07 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 13:28:08 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 13:33:09 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 13:38:10 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 13:43:11 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 13:48:12 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 13:53:13 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 13:58:14 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 14:03:15 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 14:08:16 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 14:13:17 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 14:18:18 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 14:23:19 ** init: Id "x" respawning too fast: disabled for 5 minutes
Feb 13 14:28:20 ** init: Id "x" respawning too fast: disabled for 5 minutes

论坛徽章:
13
技术图书徽章
日期:2014-04-29 14:15:42IT运维版块每日发帖之星
日期:2015-12-12 06:20:00IT运维版块每日发帖之星
日期:2015-08-30 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-02 06:20:002015年亚洲杯之澳大利亚
日期:2015-04-03 15:03:12申猴
日期:2015-03-20 09:00:292015年迎新春徽章
日期:2015-03-04 09:54:452015年辞旧岁徽章
日期:2015-03-03 16:54:15季节之章:冬
日期:2015-01-20 17:08:47双子座
日期:2014-11-21 16:30:31技术图书徽章
日期:2014-07-11 16:29:08
17 [报告]
发表于 2012-02-13 14:38 |只看该作者
对于连续出现 init: Id "x" respawning too fast: disabled for 5 minutes 错误,参考下面的文档。

Boot the server into run level 3
Log in and type "init 5" at the command prompt:
# init 5
Check if the X window system shows up.  If not, check for the following messages on the console and/or in /var/log/messages:
Id "x" is respawning too fast, disable every 5 minutes
Check if the correct entries are present in /etc/inittab:
# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
Check /etc/X11/prefdm to see what it runs.
In this case it runs gdm, kdm and xdm in that order.  We wish to use gnome so check for gdm.
# Fallbacks, in order
exec gdm "$@" >/dev/null 2>&1 </dev/null
exec kdm "$@" >/dev/null 2>&1 </dev/null
exec xdm "$@" >/dev/null 2>&1 </dev/null
Check if the gdm package is installed:
$ rpm -q gdm
$ which gdm
/usr/bin/which: no gdm in (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/username/bin:/sbin:/usr/sbin)
Install gdm package and/or install the GNOME Desktop Environment group:
# yum install gdm
or
# yum groupinstall "GNOME Desktop Enviroment" "X Window System"

论坛徽章:
0
18 [报告]
发表于 2012-02-13 14:44 |只看该作者
调整默认级别为3 ,然后重启机器,再观察是否还死机,看看死机是不是由视窗引起的,
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP