Ask the Community
Groups
How to ensure the Operating System and Hardware clocks are in sync. - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>How to ensure the Operating System and Hardware clocks are in sync using the HTML5 /ui/ and the SSH Command Line using hwclock</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p></p> <ul><li>How to we get the Unitrends appliance to show the correct time?</li> <li>You have a need to change or set the system time.</li> <li>You find a discrepancy between the hardware BIOS time and the Operating System time.</li> <li>You see a message in /var/log/messages or dmesg logs stating 'clock skew too great'.</li> </ul><h2 data-id="tasks"><strong>TASKS</strong></h2> <p>First, verify that the RecoveryOS clock settings are correct.<br><br>Using the HTML5 /ui/ Web Administrative Interface: </p> <ol><li>Click on the <b>CONFIGURE</b> page, from the <b>Appliances</b> tab above, select the name of the Unitrends appliance.</li> <li>Click the <b>Edit</b> button above, then click on the <b>Date Time</b> tab.</li> <li>Ensure the radial button next to "<b>Enter a date and time for your appliance.</b>" is selected, and update <b>Date</b>, <b>Time</b>, and <b>Timezone</b> as needed and then click <b>Save</b>.</li> </ol><br>Now let's verify that your Hardware BIOS clock and the OS clock are the close in time. Use an SSH terminal application (e.g.: <a rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fthe.earth.li%2F%7Esgtatham%2Fputty%2Flatest%2Fw64%2Fputty.exe">PuTTY</a>) to connect to the Unitrends appliance. Execute this command to find out the OS and Hardware time: <div><b>date;hwclock</b></div> <br>How much is the time difference? Is the first entry the correct time, but the bottom entry off? You can get the hardware clock to show the time as in system clock by executing the following command: <div><b>hwclock --systohc</b></div> <br>Now, run the command that compares the system and hardware clocks again to check that the two are in close sync: <div><b>date;hwclock</b></div> <br>At this point, the two should be closely in sync. If you which to change the UI to use NTP Servers for syncing the time, you can go back to the first steps provided and click on "<b>Use an NTP Server.</b>"<h2 data-id="notes"><strong>NOTES</strong></h2> <p>You should be on the new Unitrends web HTML5 interface. If for some reason you are on the Legacy /recoveryconsole/ use this step below to substitute the steps in the HTML5 /ui/. </p> <ol><li>In the Legacy Interface, go to <b>Settings > Systems, Updates and Licensing > Date/Time</b>, and you can change the time there.</li></ol> </article> </main>