Chinaunix
标题:
怎么查看服务器重起的原因?
[打印本页]
作者:
hxhy
时间:
2009-01-14 11:18
标题:
怎么查看服务器重起的原因?
不知道服务器为什么重起了,服务器是放在IDC机房里的
[root@dbhost log]# who wtmp
oracle pts/1 Jan 4 08:05 (192.168.1.
oracle pts/1 Jan 5 08:32 (192.168.1.
oracle pts/1 Jan 5 11:32 (192.168.1.
oracle pts/1 Jan 6 08:37 (192.168.1.
oracle pts/1 Jan 7 08:31 (192.168.1.
oracle pts/1 Jan 7 10:56 (192.168.1.
oracle pts/1 Jan 8 08:23 (192.168.1.
oracle pts/1 Jan 9 08:04 (192.168.1.
oracle pts/1 Jan 11 09:22 (192.168.1.
oracle pts/1 Jan 13 08:15 (192.168.1.
oracle pts/1 Jan 14 08:37 (192.168.1.8)
[root@dbhost log]#
[root@dbhost log]# last
oracle pts/1 192.168.1.8 Wed Jan 14 08:37 still logged in
reboot system boot 2.6.9-42.ELsmp Tue Jan 13 19:53 (13:51)
oracle pts/1 192.168.1.8 Tue Jan 13 08:15 - 08:17 (00:02)
oracle pts/1 192.168.1.8 Sun Jan 11 09:22 - 09:23 (00:01)
oracle pts/1 192.168.1.8 Fri Jan 9 08:04 - 08:05 (00:01)
oracle pts/1 192.168.1.8 Thu Jan 8 08:23 - 08:25 (00:02)
oracle pts/1 192.168.1.8 Wed Jan 7 10:56 - 11:29 (00:32)
oracle pts/1 192.168.1.8 Wed Jan 7 08:31 - 08:32 (00:01)
oracle pts/1 192.168.1.8 Tue Jan 6 08:37 - 08:39 (00:01)
oracle pts/1 192.168.1.8 Mon Jan 5 11:32 - 11:54 (00:21)
oracle pts/1 192.168.1.8 Mon Jan 5 08:32 - 08:36 (00:03)
oracle pts/1 192.168.1.8 Sun Jan 4 08:05 - 08:09 (00:04)
[root@dbhost log]# more messages
...
Jan 12 22:55:14 dbhost sshd(pam_unix)[729]: session opened for user oracle by (uid=0)
Jan 12 22:55:30 dbhost sshd(pam_unix)[729]: session closed for user oracle
Jan 13 08:15:50 dbhost sshd(pam_unix)[4479]: session opened for user oracle by (uid=0)
Jan 13 08:17:52 dbhost sshd(pam_unix)[4479]: session closed for user oracle
Jan 13 19:54:24 dbhost syslogd 1.4.1: restart.
Jan 13 19:54:24 dbhost syslog: syslogd startup succeeded
Jan 13 19:54:24 dbhost kernel: klogd 1.4.1, log source = /proc/kmsg started.
Jan 13 19:54:24 dbhost kernel: Bootdata ok (command line is ro root=LABEL=/ rhgb quiet)
Jan 13 19:54:24 dbhost kernel: Linux version 2.6.9-42.ELsmp (bhcompile@ls20-bc1-13.build.redhat.com) (gcc version 3.4.6 20060404 (
Red Hat 3.4.6-2)) #1 SMP Wed Jul 12 23:32:02 EDT 2006
Jan 13 19:54:24 dbhost kernel: BIOS-provided physical RAM map:
Jan 13 19:54:24 dbhost kernel: BIOS-e820: 0000000000000000 - 000000000009ac00 (usable)
Jan 13 19:54:24 dbhost kernel: BIOS-e820: 000000000009ac00 - 00000000000a0000 (reserved)
Jan 13 19:54:24 dbhost kernel: BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
Jan 13 19:54:24 dbhost kernel: BIOS-e820: 0000000000100000 - 00000000bffc7440 (usable)
Jan 13 19:54:24 dbhost kernel: BIOS-e820: 00000000bffc7440 - 00000000bffceac0 (ACPI data)
Jan 13 19:54:24 dbhost kernel: BIOS-e820: 00000000bffceac0 - 00000000c0000000 (reserved)
Jan 13 19:54:24 dbhost kernel: BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
Jan 13 19:54:24 dbhost kernel: BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
Jan 13 19:54:24 dbhost syslog: klogd startup succeeded
...
作者:
hxhy
时间:
2009-01-14 11:21
很怪,
昨天只有8点钟一次登陆
oracle pts/1 Jan 13 08:15 (192.168.1.
系统确在 19:53分重起.
reboot system boot 2.6.9-42.ELsmp Tue Jan 13 19:53 (13:51)
作者:
hxhy
时间:
2009-01-14 13:28
没有人遇到过吗?
作者:
xwmhmily
时间:
2009-01-14 13:37
感觉你提供的信息不够,看不出
作者:
hxhy
时间:
2009-01-14 14:06
你需要什么信息,我提供出来.
作者:
sc66
时间:
2009-02-25 13:48
问一下 你找到原因了 吗???
我有一服务器 也是这样....
作者:
dashan79
时间:
2009-02-25 14:18
查看message 和 dmesg 里的信息
作者:
sc66
时间:
2009-02-25 14:59
谢谢 里面没看到可用的内容....
作者:
jerrywjl
时间:
2009-02-26 01:57
在/var/log目录下有一个叫做acpid的文件,去看看里面是否有相关的动作。
作者:
我是DBA
时间:
2009-02-26 10:47
这个太难查了。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2