linux无故宕机,求分析,附上日志
我大致描述下情况,服务器是IBM X3650,装的发行版是Oracle Linux,运行的只有oracle这一个服务
最近无故宕机了几次,总结了下,在六月份也有此情况,然后我关了SELINUX,无间断运行了三个月,现在这周内连续宕机三次了。
附日志如下
//这次是直接setenforce 0 的,但没在sysconfig里设置disabled,所以系统启动后就又运行了selinux
Aug 20 00:09:39 myoracle shutdown[3533]: shutting down for system halt
Aug 20 00:09:50 myoracle pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found
Aug 20 00:09:50 myoracle kernel: gdm-rh-security[4738]: segfault at 0000000000000000 rip 00002ae73c2f919c rsp 00000000411f8eb0 error 4
Aug 20 00:09:57 myoracle modclusterd: shutdown succeeded
Aug 20 00:09:58 myoracle ricci: shutdown succeeded
Aug 20 00:10:04 myoracle smartd[4596]: smartd received signal 15: Terminated
Aug 20 00:10:04 myoracle smartd[4596]: smartd is exiting (exit status 0)
Aug 20 00:10:13 myoracle avahi-daemon[3704]: Got SIGTERM, quitting.
Aug 20 00:10:13 myoracle avahi-daemon[3704]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::e61f:13ff:fe32:6c6c.
Aug 20 00:10:13 myoracle avahi-daemon[3704]: Leaving mDNS multicast group on interface eth0.IPv4 with address 211.147.251.108.
Aug 20 00:10:13 myoracle avahi-daemon[3704]: Leaving mDNS multicast group on interface virbr0.IPv6 with address fe80::200:ff:fe00:0.
Aug 20 00:10:13 myoracle avahi-daemon[3704]: Leaving mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
Aug 20 00:10:13 myoracle avahi-daemon[3704]: Leaving mDNS multicast group on interface usb0.IPv6 with address fe80::e41f:13ff:fe2b:bc6f.
Aug 20 00:10:14 myoracle oddjobd: oddjobd shutdown succeeded
Aug 20 00:10:15 myoracle libvirtd: 00:10:15.094: warning : Shutting down on signal 15
Aug 20 00:10:21 myoracle saslauthd[4571]: server_exit : master exited: 4571
Aug 20 00:10:26 myoracle xinetd[3554]: Exiting...
Aug 20 00:10:34 myoracle hcid[3323]: Got disconnected from the system message bus
Aug 20 00:10:36 myoracle rpc.statd[3246]: Caught signal 15, un-registering and exiting.
Aug 20 00:10:40 myoracle hcid[3323]: Can't open system message bus connection: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Aug 20 00:10:44 myoracle restorecond: terminated
Aug 20 00:10:46 myoracle auditd[3134]: The audit daemon is exiting.
Aug 20 00:10:46 myoracle kernel: audit(1282234246.749:10163): audit_pid=0 old=3134 by auid=4294967295 subj=system_u:system_r:auditd_t:s0
Aug 20 00:10:47 myoracle pcscd: pcscdaemon.c:572:signal_trap() Preparing for suicide
Aug 20 00:10:47 myoracle pcscd: hotplug_libusb.c:376:HPRescanUsbBus() Hotplug stopped
Aug 20 00:10:48 myoracle pcscd: readerfactory.c:1379:RFCleanupReaders() entering cleaning function
Aug 20 00:10:48 myoracle pcscd: pcscdaemon.c:532:at_exit() cleaning /var/run
Aug 20 00:10:51 myoracle kernel: Kernel logging (proc) stopped.
Aug 20 00:10:51 myoracle kernel: Kernel log daemon terminating.
Aug 20 00:10:55 myoracle exiting on signal 15
红色地方感觉可疑,因为后面两次的日志不一样,后面两次宕机时间明显加快了,一般在两三天内,
Sep 9 18:56:21 myoracle shutdown[17914]: shutting down for system halt
Sep 9 18:56:21 myoracle pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found
Sep 9 18:56:24 myoracle modclusterd: shutdown succeeded
Sep 9 18:56:25 myoracle ricci: shutdown succeeded
Sep 9 18:56:25 myoracle smartd[4564]: smartd received signal 15: Terminated
Sep 9 18:56:25 myoracle smartd[4564]: smartd is exiting (exit status 0)
Sep 9 18:56:27 myoracle oddjobd: oddjobd shutdown succeeded
Sep 9 18:56:27 myoracle libvirtd: 18:56:27.413: warning : Shutting down on signal 15
Sep 9 18:56:28 myoracle saslauthd[4539]: server_exit : master exited: 4539
Sep 9 18:56:28 myoracle xinetd[3550]: Exiting...
Sep 9 18:56:32 myoracle hcid[3343]: Got disconnected from the system message bus
Sep 9 18:56:33 myoracle rpc.statd[3266]: Caught signal 15, un-registering and exiting.
Sep 9 18:56:33 myoracle restorecond: terminated
Sep 9 18:56:33 myoracle auditd[3154]: The audit daemon is exiting.
Sep 9 18:56:33 myoracle kernel: audit(1284029793.991:47: audit_pid=0 old=3154 by auid=4294967295 subj=system_u:system_r:auditd_t:s0
Sep 9 18:56:34 myoracle pcscd: pcscdaemon.c:572:signal_trap() Preparing for suicide
Sep 9 18:56:34 myoracle pcscd: hotplug_libusb.c:376:HPRescanUsbBus() Hotplug stopped
Sep 9 18:56:35 myoracle pcscd: readerfactory.c:1379:RFCleanupReaders() entering cleaning function
Sep 9 18:56:35 myoracle pcscd: pcscdaemon.c:532:at_exit() cleaning /var/run
Sep 9 18:56:35 myoracle kernel: Kernel logging (proc) stopped.
Sep 9 18:56:35 myoracle kernel: Kernel log daemon terminating.
Sep 9 18:56:36 myoracle exiting on signal 15
Sep 9 19:18:33 myoracle syslogd 1.4.1: restart.
last lastb lastlog都看过了,正常的。
系统管理员只有我一个,ssh设置了白名单访问的,应该能排除黑客攻击这类型错误
另外我想测试温度,发现No sensors found!
本人小白一个,求高人指点。
详细帖见: http://topic.csdn.net/u/20100609 ... 5-330710d48baa.html
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Sep 9 18:56:21 myoracle shutdown[17914]: shutting down for system halt
一般都是系统正常关闭,不会是宕机
dmesg看下启动后的日志,然后开着终端尽量监视系统的运行状态,
比如内存、CPU、LOAD负载等信息,从这些日志上看不出是因为安全问题导致的。。
当然也可以做系统监视,不需要安装cacti,直接snmp来监视就好了,相关信息google。