[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ntp daemon.



On Sat, 21 Jan 2012 00:30:58 +0500, Syed Hasan Atizaz wrote:

> On Fri, Jan 20, 2012 at 8:27 PM, Camaleón <noelamac@gmail.com> wrote:
>> On Wed, 18 Jan 2012 12:22:57 -0500, Joey L wrote:
>>
>>> I have installed ntp server on my debian box. I am trying to sync with
>>> a public external time server. I have found a couple on the internet -
>>> but none seem to want to sync with me or my ntp daemon does not want
>>> to do it.
>>>
>>> I have entered the following in my /etc/ntp.conf file:
>>>
>>> server 0.us.pool.ntp.org
>>> server 1.us.pool.ntp.org
>>> server 2.us.pool.ntp.org
>>> server 3.us.pool.ntp.org
>>
>> Is "ntp" daemon up and running?
>>
>> /etc/init.d/ntp status
>>
>> Also, check you logs:
>>
>> su - -c "grep ntp /var/log/syslog"
>>
>>> I ran ntpdate and I get this error message - 18 Jan 12:43:23
>>> ntpdate[26430]: no servers can be used, exiting
>>
>> "ntpdate" is another/different program.

> thats true, however ntpdate does seems to work even after
> ntpdate[26430]: no servers can be used, exiting. Server does sync times
> correctly.
> 
> server 0.debian.pool.ntp.org
> server 1.debian.pool.ntp.org
> server 2.debian.pool.ntp.org

I can't tell about ntpdate, I don't have it installed, I use the full ntp 
package and I run the service as daemon. If you need advice for setting 
up ntpdate read "/usr/share/doc/ntpdate/README.Debian".

Greetings,

-- 
Camaleón


Reply to: