刚买的 Windows Server 2008 R2 总是莫名奇妙重启是什么情况?

2017-07-22 09:27:07 +08:00
 TangMonk

对 Windows Server 不太懂,谷歌了下,查到了 Event Viewer 里面 EventId 为 1074 的重启事件

2661 次点击
所在节点    问与答
9 条回复
msg7086
2017-07-22 09:32:30 +08:00
Let me google that for you.

The value 0x84020004 is not an error code. It says right there that it's a reason code:

Reason Code: 0x84020004
The system shutdown reason codes are documented in MSDN under the devious heading System Shutdown Reason Codes. In this case, the value 0x84020004 is a combination of

SHTDN_REASON_FLAG_PLANNED 0x80000000
SHTDN_REASON_FLAG_CLEAN_UI 0x04000000 // reason.h
SHTDN_REASON_MAJOR_OPERATINGSYSTEM 0x00020000
SHTDN_REASON_MINOR_RECONFIG 0x00000004
That value for SHTDN_REASON_FLAG_CLEAN_UI is missing from the MSDN documentation for some reason, but's listed in reason.h. The flag means that the system was shut down in a controlled manner, as opposed to SHDTN_REASON_FLAG_DIRTY_UI which means that the system lost power and did not go through a clean shutdown.

In other words, this was a planned shutdown that was the result of an operating system reconfiguration. Perhaps somebody changed a system setting in the Control Panel, and in response to the question "The change you made requires that the system be restarted. Restart now?", the person said Yes.
TangMonk
2017-07-22 09:35:42 +08:00
@msg7086 thank for your google :), 你好像帮助我很多次了,多谢
codeeer
2017-07-22 09:56:43 +08:00
@TangMonk 在一起!
mkeith
2017-07-22 11:39:47 +08:00
外汇赚钱吗?
TangMonk
2017-07-22 12:02:03 +08:00
@mkeith 不是,帮朋友买的一个服务器,他拿来搞外汇的
Jimrussell
2017-07-22 13:38:24 +08:00
1 楼 666 的。路过提醒一下,ws2002r8 为止的 win server 都有缓存管理的问题,可能会引起各种疑难杂症,需要手动装个官方的小程序 microsoft dynamic cache service
Jimrussell
2017-07-22 13:39:08 +08:00
尼玛把 2008 看成 2002 了,忽略楼上。
msg7086
2017-07-23 04:34:33 +08:00
@Jimrussell 2002r8 看得我有点懵。
Jimrussell
2017-07-23 07:32:10 +08:00
@msg7086 口胡口胡

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/377140

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX