Minggu, 26 November 2023

NTP REDHAT8-konfigurasi

 dbsa@dbsa-X406UA:~$ ssh root@172.16.71.-

root@172.16.71.-'s password:  
Activate the web console with: systemctl enable --now cockpit.socket

This system is not registered to Red Hat Insights. See https://cloud.redhat.com/
To register this system, run: insights-client --register

Last failed login: Sun Nov 26 16:14:21 WIB 2023 from 172.16.35.121 on ssh:notty
There were 2 failed login attempts since the last successful login.
Last login: Fri Nov 24 08:16:16 2023
[root@devappgold ~]# date
Mon Nov 27 09:03:48 WIB 2023
[root@devappgold ~]# nano /etc/chrony.conf
[root@devappgold ~]# chronyc sources

506 Cannot talk to daemon
[root@devappgold ~]# timedatectl set-ntp true
[root@devappgold ~]# systemctl enable --now chronyd
[root@devappgold ~]# chronyc sources
               
210 Number of sources = 5
MS Name/IP address         Stratum Poll Reach LastRx Last sample                
===============================================================================
^? 172.16.7.6                    3   6     1    16   +449us[ +1349s] +/-   83ms
^* time.citra.net.id             2   6    17     9   +345us[ -783us] +/-   67ms
^? ns1.ads.net.id                3   7    40    15    +52ms[ +1349s] +/-  177ms
^- ntp.uii.net.id                2   6    17     8  +2841us[+2841us] +/-  143ms
^+ ip-68-2.atharva.co.id         3   6    17    10   -984us[-2066us] +/-  134ms
[root@devappgold ~]# systemctl status chronyd
chronyd.service - NTP client/server
  Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; vendor preset: enabled)
  Active: active (running) since Mon 2023-11-27 09:04:53 WIB; 21min left
    Docs: man:chronyd(8)
          man:chrony.conf(5)
Main PID: 161894 (chronyd)
   Tasks: 1 (limit: 2577279)
  Memory: 2.5M
  CGroup: /system.slice/chronyd.service
          └─161894 /usr/sbin/chronyd

Nov 27 09:04:53 devappgold.yogya.com systemd[1]: Starting NTP client/server...
Nov 27 09:04:53 devappgold.yogya.com chronyd[161894]: chronyd version 3.5 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6 +DEBUG)
Nov 27 09:04:53 devappgold.yogya.com chronyd[161894]: Using right/UTC timezone to obtain leap second data
Nov 27 09:04:53 devappgold.yogya.com systemd[1]: Started NTP client/server.
Nov 27 09:04:59 devappgold.yogya.com chronyd[161894]: Selected source 202.65.114.202
Nov 27 09:04:59 devappgold.yogya.com chronyd[161894]: System clock TAI offset set to 37 seconds
Nov 27 09:04:59 devappgold.yogya.com chronyd[161894]: System clock wrong by -1349.240851 seconds, adjustment started
Nov 27 08:42:29 devappgold.yogya.com chronyd[161894]: System clock was stepped by -1349.240851 seconds
Nov 27 08:42:35 devappgold.yogya.com chronyd[161894]: Received KoD RATE from 116.12.46.30
[root@devappgold ~]# date
Mon Nov 27 08:43:05 WIB 2023
[root@devappgold ~]# 

Tidak ada komentar:

Posting Komentar