NTP Server Configuration

Saurabh Singh saurabhsingh878 at gmail.com
Tue Jun 7 22:19:06 UTC 2011


Hi,
I am doing this configuration but the last command (which is shown in below)
is not running.
Please give me the complete solution of NTP server configuration.


**


[root at bigboy tmp]# Yum install ntp* -y

[root at bigboy tmp]# Vim /etc/ntp.conf

Server server.example.com

restrict server.example.com mask 255.255.255.255 nomodify notrap noquery

restrict 172.24.0.0 mask 255.255.0.0 nomodify notrap

restrict 127.0.0.1

[root at bigboy tmp]# chkconfig ntpd on

[root at bigboy tmp]# service ntpd start

[root at bigboy tmp]# service ntpd stop

[root at bigboy tmp]# service ntpd restart

[root at bigboy tmp]# pgrep ntpd

[root at bigboy tmp]# date

[root at bigboy tmp]# service ntpd stop

[root at bigboy tmp]# ntpdate –u 172.24.254.254 {this command not running and
error message "à no server suitable for synchronization found"}





Thanks



More information about the redhat-list mailing list