Forum Discussion

srinidhi12's avatar
May 03, 2023
Solved

F5 BIGIP showing wrong time

I have configured the F5 BIG IP time zone to IST Asia/calcutta, After setting, it shows wrong time in the console. All the logs are also generated on the wrong time.

Current time in IST is 2.59 PM, but it shows 4 hours forward in the GUI. Please let me know how to change the timestamp manually.

  • srinidhi12 I would validate in the GUI that you have the correct timezone selected and validate that the timezone you selected matches the current global time for that timezone through a website that tracks the time. After that I would validate what your current ntp status is by running "ntpq -np" in bash on the F5 CLI. If you are able to reach the ntp destination you might consider running the command that Enes_Afsin_Al mentioned and if that still doesn't update it you might have to reboot your F5. Sometimes if the time is too far off only a device reboot will fix the issue. If that still doesn't correct the time for some reason you can manually set the time using the information in the following URL. Please do keep in mind that using this method will also require a device reboot.

    https://my.f5.com/manage/s/article/K3381

4 Replies

  • Hi srinidhi12,

    For Istanbul timezone, we prefer to use Europe/Istanbul instead of Asia/Istanbul.
    Did you configure ntp on the device?
    You can sync the date from the command line with ntp server.

    ntpdate -u ntpServerAddress

     

  • srinidhi12 I would validate in the GUI that you have the correct timezone selected and validate that the timezone you selected matches the current global time for that timezone through a website that tracks the time. After that I would validate what your current ntp status is by running "ntpq -np" in bash on the F5 CLI. If you are able to reach the ntp destination you might consider running the command that Enes_Afsin_Al mentioned and if that still doesn't update it you might have to reboot your F5. Sometimes if the time is too far off only a device reboot will fix the issue. If that still doesn't correct the time for some reason you can manually set the time using the information in the following URL. Please do keep in mind that using this method will also require a device reboot.

    https://my.f5.com/manage/s/article/K3381

    • srinidhi12's avatar
      srinidhi12
      Icon for Cirrus rankCirrus

      Thanks Paulius 

      I validated that the time zone is set right.

      I have tried to reboot, but still the time is wrong and not fixed. I dont have an ntp server setup.

      I have tried to change the date manually as in the link you shared. And I was able to change the time.

      • Paulius's avatar
        Paulius
        Icon for MVP rankMVP

        srinidhi12 I'm glad the manual adjustment of the time worked. Keep in mind that unless you add in an NTP server the device time will slowly develope more and more time drift. You will want to setup an NTP server before you make any major configuration changes that you can't afford downtime just encase you have to reboot your device to get NTP to sync properly.