1、Linux 服务器因 CPU 温度过高自动重启
http://www.s2.cn/news.php?id=33
2、Linux服务器不明原因重启了,怎么查找原因
http://bbs.51cto.com/archiver/tid-861470.html
3、重启的信息可以通过
dmesg来看
系统的log一般都是记录在/var/log/messages里
命令:
cat /var/log/messages | grep 'reboot'
4、linux启动日志: /var/log/boot.log
实践如下:
[root@xiyou-vedio_encode_bj_sjs_10_71_11_22 ~]# last reboot
reboot system boot 2.6.32-696.6.3.e Mon Aug 14 10:37 - 10:41 (00:03)
reboot system boot 2.6.32-696.6.3.e Mon Aug 14 09:57 - 10:41 (00:43)
reboot system boot 2.6.32-696.6.3.e Mon Aug 14 08:58 - 10:41 (01:43)
reboot system boot 2.6.32-696.6.3.e Mon Aug 14 08:52 - 10:41 (01:48)
reboot system boot 2.6.32-696.6.3.e Mon Aug 14 08:36 - 10:41 (02:04)
reboot system boot 2.6.32-696.6.3.e Mon Aug 14 08:07 - 10:41 (02:34)
[root@xiyou-vedio_encode_bj_sjs_10_71_11_22 ~]# cal
August 2017
Su Mo Tu We Th Fr Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
linux启动日志: /var/log/boot.log
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified
来自:http://blog.sina.com.cn/s/blog_56d8ea900101cytr.html
http://www.s2.cn/news.php?id=33
2、Linux服务器不明原因重启了,怎么查找原因
http://bbs.51cto.com/archiver/tid-861470.html
3、重启的信息可以通过
dmesg来看
系统的log一般都是记录在/var/log/messages里
命令:
cat /var/log/messages | grep 'reboot'
4、linux启动日志: /var/log/boot.log
实践如下:
[root@xiyou-vedio_encode_bj_sjs_10_71_11_22 ~]# last reboot
reboot system boot 2.6.32-696.6.3.e Mon Aug 14 10:37 - 10:41 (00:03)
reboot system boot 2.6.32-696.6.3.e Mon Aug 14 09:57 - 10:41 (00:43)
reboot system boot 2.6.32-696.6.3.e Mon Aug 14 08:58 - 10:41 (01:43)
reboot system boot 2.6.32-696.6.3.e Mon Aug 14 08:52 - 10:41 (01:48)
reboot system boot 2.6.32-696.6.3.e Mon Aug 14 08:36 - 10:41 (02:04)
reboot system boot 2.6.32-696.6.3.e Mon Aug 14 08:07 - 10:41 (02:34)
[root@xiyou-vedio_encode_bj_sjs_10_71_11_22 ~]# cal
August 2017
Su Mo Tu We Th Fr Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
linux启动日志: /var/log/boot.log
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified
来自:http://blog.sina.com.cn/s/blog_56d8ea900101cytr.html
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:https://jackxiang.com/post/9409/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
评论列表