TangMonk
V2EX  ›  问与答

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

  •  
  •   TangMonk · Jul 22, 2017 · 3338 views
    This topic created in 3390 days ago, the information mentioned may be changed or developed.

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

    http://i.imgur.com/vKArIVQ.png

    9 replies  •  2017-07-23 07:32:10 +08:00
    msg7086
    msg7086
    Jul 22, 2017❤️1
    1
    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
    TangMonk
    OP
    Jul 22, 2017
    2
    @msg7086 thank for your google :), 你好像帮助我很多次了,多谢
    codeeer
    codeeer
    Jul 22, 2017 via iPhone
    3
    @TangMonk 在一起!
    mkeith
    mkeith
    Jul 22, 2017
    4
    外汇赚钱吗?
    TangMonk
    TangMonk
    OP
    Jul 22, 2017 via Android
    5
    @mkeith 不是,帮朋友买的一个服务器,他拿来搞外汇的
    Jimrussell
    Jimrussell
    Jul 22, 2017 via Android
    6
    1 楼 666 的。路过提醒一下,ws2002r8 为止的 win server 都有缓存管理的问题,可能会引起各种疑难杂症,需要手动装个官方的小程序 microsoft dynamic cache service
    Jimrussell
    Jimrussell
    Jul 22, 2017 via Android❤️1
    7
    尼玛把 2008 看成 2002 了,忽略楼上。
    msg7086
    msg7086
    Jul 23, 2017
    8
    @Jimrussell 2002r8 看得我有点懵。
    Jimrussell
    Jimrussell
    Jul 23, 2017 via Android
    9
    @msg7086 口胡口胡
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1288 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 21:41 · PVG 05:41 · LAX 13:41 · JFK 16:41
    ♥ Do have faith in what you're doing.