TangMonk
V2EX  ›  问与答

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

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