開発日々の走り書き~

Days of development


VPS奮闘記[14]:ntp導入!??

ServersMan@VPS Standard」にntpを導入する事に!

[root@dti-vps-srv47 ~]# yum install ntp

・・・

Dependencies Resolved

====================================================================================================================
Package Arch Version Repository Size
====================================================================================================================
Installing:
ntp i386 4.2.2p1-15.el5.centos base 1.3 M

Transaction Summary
====================================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 1.3 M
Is this ok [y/N]: y

・・・

Installed:
ntp.i386 0:4.2.2p1-15.el5.centos

Complete!

[root@dti-vps-srv47 ~]# vi /etc/ntp.conf

server 0.centos.pool.ntp.org
server 1.centos.pool.ntp.org
server 2.centos.pool.ntp.org

※17~19行目のNTPサーバーを変更

[root@dti-vps-srv47 ~]# /sbin/service ntpd start
Starting ntpd: [ OK ]

[root@dti-vps-srv47 ~]# chkconfig ntpd on

[root@dti-vps-srv47 ~]# ntpq -p
ntpq: read: Connection refused

・・・同期ができない???

どーやら、ServersMan@VPSでは自動で同期を取っているのでntpが使えないらしい。。
まー、そーなんだなーー(chkconfig ntpd offにしとかんとな~


スポンサードリンク

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">