Linux ntp ¼³Á¤ ¹®ÀÇ µå¸³´Ï´Ù.

Sgtsteam   
   Á¶È¸ 3124   Ãßõ 0    

 Centos7 상  ntpd설정을 하는 중 동작이 정상인지 문의드립니다.


ntpd서비스 부팅 시 활성화 해놔도 

OS재부팅 시에는 비활성화 됩니다.


다음은 설정 과정입니다.


/etc/ntp.conf

에 동기화할 서버 주소 입력후 저장하고


systemctl enable ntpd


설정 후  


systemctl start ntpd

로 서비스 시작


ntpq -p

 ntpstat 으로 확인해보면 정상작동 하나


OS 리부팅 할 경우 ntpd서비스가 시작되어 있지 않더군요


ntpd 추가 설정에 필요한 부분이 있는건가요?

ªÀº±Û Àϼö·Ï ½ÅÁßÇϰÔ.
chkconfig —list | grep ntpd

ÇØ¼­ ·±·¹º§ ¾îµð¿¡¼­ on/off µÇ´ÂÁö ¸ÕÀú Ã¼Å©ÇØ¾ß ÇÒ°Í °°³×¿ä
     
Sgtsteam 2022-01
°¨»çÇÕ´Ï´Ù.
chkconfig ¸¦ È®ÀÎÇØº¸´Ï  systemctl list-unit-files  ¸¦ È®ÀÎÇ϶ó´Â ¸Þ¼¼Áö°¡ Ãâ·ÂµÇ³×¿ä.  chkconfig ±â´ÉÀº ÀÌÁ¦ Áö¿ø ¾ÈÇÏ´Â ¹öÀü °°½À´Ï´Ù.
½Ãµµ´Ï 2022-01
https://forums.centos.org/viewtopic.php?t=58530

https://coding-chobo.tistory.com/70

centos8 ¿¡¼­´Â ntp °¡ default °¡ ¾Æ´Ï°í, chronyd °¡ ±âº» default Àϰ̴ϴÙ.

centos7 ¿¡¼­´Â ntp°¡ ¸ÂÀ» °Í °°±äÇѵ¥.. Ȥ½Ã chronyd °¡ ¶°ÀÖ³ª È®ÀÎÇØ º¸¼¼¿ä.

chronyd °¡ ¶°ÀÖÀ¸¸é, ntpd °¡ Æ÷Æ® Ãæµ¹¶§¹®¿¡ startup ÀÌ ¾ÈµÉ °Ì´Ï´Ù.

(Ãß°¡ÀûÀ¸·Î... ) Àú´Â chronyd ¸¦ ±×³É ¾²´Â ÅͶó..........
     
Sgtsteam 2022-01
service¸¦ ã¾Æº¸´Ï chrony°¡ Ȱ¼ºÈ­ µÇ¾îÀÖÁö¸¸

chrony-dnssrv,  chrony-dnssrv@timer    chrony-wait.service  °°ÀÌ ¿©·¯°¡Áö ¼­ºñ½º°¡ ¿Ã¶ó¿À³×¿ä.

Ãß°¡ °Ë»öÇØºÁ¾ßµÉ°Í °°½À´Ï´Ù.  °¨»çÇÕ´Ï´Ù.
/etc/chrony.conf
server Ãß°¡

systemctl start chrony.service
systemctl enable chrony.service
     
Sgtsteam 2022-01
°¨»çÇÕ´Ï´Ù.

/etc/chrony.conf

systemctl start chronyd.service
systemctl enable chronyd.service
·Î ÇØ°áµÇ¾ú½À´Ï´Ù.  °¨»çÇÕ´Ï´Ù.


QnA
Á¦¸ñPage 634/5735
2015-12   1800753   ¹é¸Þ°¡
2014-05   5275537   Á¤ÀºÁØ1
2015-06   4555   À©µµ¿ì10
2019-12   3183   MidasCustom¡¦
2015-06   3185   Áö±¸ÀÎÀÌ´Ù
2002-09   12272   ¿ÕÁ¤¼ö
2005-07   5905   Á¤´ëÁß
2008-05   8760   ¿À¼º±â
2017-07   3165   Àü¼³¼ÓÀǹ̡¦
2017-07   3964   ³ëÇü¼®
2019-12   8183   ³ª¶ó»ç¶û
2008-06   5702   ¹æÈ¿¹®
2011-12   6048   ¿ÀÁØÈ£5
2021-03   2866   DDDIE
2011-12   9909   °æ¹ÚÇѽùÎ
2008-06   5460   Á¤¿µÃ¶
2017-07   4449   Àü¼³¼ÓÀǹ̡¦
2002-10   26137   ÃÖ¿µ¿ì
2014-02   6138   ÇÁ¸°½ê¾²
2016-07   4490   °¡¶÷ÀÌ´ç1
2024-07   1427   ÆÄÇÇǪÆä
2021-03   5989   ¯´Ô