V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
TangMonk
V2EX  ›  问与答

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

  •  
  •   TangMonk · 2017-07-22 09:27:07 +08:00 · 2661 次点击
    这是一个创建于 2708 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

    9 条回复    2017-07-23 07:32:10 +08:00
    msg7086
        1
    msg7086  
       2017-07-22 09:32:30 +08:00   ❤️ 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
       2017-07-22 09:35:42 +08:00
    @msg7086 thank for your google :), 你好像帮助我很多次了,多谢
    codeeer
        3
    codeeer  
       2017-07-22 09:56:43 +08:00 via iPhone
    @TangMonk 在一起!
    mkeith
        4
    mkeith  
       2017-07-22 11:39:47 +08:00
    外汇赚钱吗?
    TangMonk
        5
    TangMonk  
    OP
       2017-07-22 12:02:03 +08:00 via Android
    @mkeith 不是,帮朋友买的一个服务器,他拿来搞外汇的
    Jimrussell
        6
    Jimrussell  
       2017-07-22 13:38:24 +08:00 via Android
    1 楼 666 的。路过提醒一下,ws2002r8 为止的 win server 都有缓存管理的问题,可能会引起各种疑难杂症,需要手动装个官方的小程序 microsoft dynamic cache service
    Jimrussell
        7
    Jimrussell  
       2017-07-22 13:39:08 +08:00 via Android   ❤️ 1
    尼玛把 2008 看成 2002 了,忽略楼上。
    msg7086
        8
    msg7086  
       2017-07-23 04:34:33 +08:00
    @Jimrussell 2002r8 看得我有点懵。
    Jimrussell
        9
    Jimrussell  
       2017-07-23 07:32:10 +08:00 via Android
    @msg7086 口胡口胡
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3349 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 04:46 · PVG 12:46 · LAX 20:46 · JFK 23:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.