Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Graceful server reboot triggered a forceful one?

Discussion in 'General Discussion' started by yagami_kira, Oct 22, 2017.

  1. yagami_kira

    yagami_kira Member

    Joined:
    Mar 7, 2017
    Messages:
    18
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Tokyo
    cPanel Access Level:
    Website Owner
    Today, while logging-in to WHM I noticed an error on top right corner: "The system’s core libraries or services have been updated. reboot the server to ensure the system benefits from these updates."

    So that's what I did, I logged-in via SSH , typed reboot, and the server rebooted. Now, I want to look into the log file to see the entire reboot process including the time it took to finish the entire graceful reboot process here /var/log/messages

    However, the above log did not show the detailed reboot process, and there's no mention on the log that Graceful shutdown was being requested. Can that happen wherein a graceful reboot process won't get logged?

    But it appeared the server have done a forceful reboot and ignored my reboot SSH command. Are there such cases where the server will do a Forceful Reboot even though I just explicitly used the SSH command "reboot" and not "reboot -f" ?
     
  2. yagami_kira

    yagami_kira Member

    Joined:
    Mar 7, 2017
    Messages:
    18
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Tokyo
    cPanel Access Level:
    Website Owner
    Issue solved by a cPanel Technical Analyst. It appeared not every instances of reboot is logged, so you need to use journalctl instead of /var/log/messages .
     
    Infopro likes this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,396
    Likes Received:
    1,605
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see your question was answered. Thank you for updating us with the outcome.
     
Loading...

Share This Page