Re: [chrony-dev] chrony reports offline even there is internet

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Sorry, did not see it. It seems to me that your network is coming up long
after chrony does, leading to the offline behaviour. Note that without a
network, it cannot even figure out what 0.asia.pool.ntp is so cannot even try
to connect.
You could try to set up one server at least with IP rather than name. And
start chrony later when you are sure the network is up. Or have a little cron
job that runs once a minute or 5 which checks if the network is up and then
restarts chrony if it has been down and is now up again

AFAIK, once a server goes offline it has to brought online again by external
means. On Thu, 19 Aug 2010, J. Bakshi wrote:

Thanks for your response. chrony.conf was already attached but where it is once again for you.


```````````````````````
server 0.asia.pool.ntp.org  auto_offline minpoll 8
server 1.asia.pool.ntp.org  auto_offline minpoll 8
server 2.asia.pool.ntp.org  auto_offline minpoll 8
server 3.asia.pool.ntp.org auto_offline minpoll 8

keyfile /etc/chrony/chrony.keys

commandkey 1

driftfile /var/lib/chrony/chrony.drift

log tracking measurements statistics
logdir /var/log/chrony

maxupdateskew 100.0

# Dump measurements when daemon exits.

dumponexit

# Specify directory for dumping measurements.

dumpdir /var/lib/chrony

# Let computer be a server when it is unsynchronised.

local stratum 10

logchange 0.5

rtconutc

```````````````````````

Thanks


On Wed, 18 Aug 2010 22:01:42 -0700 (PDT)
Bill Unruh <unruh@xxxxxxxxxxxxxx> wrote:

```````````````````````
server 0.asia.pool.ntp.org  auto_offline minpoll 8
server 1.asia.pool.ntp.org  auto_offline minpoll 8
server 2.asia.pool.ntp.org  auto_offline minpoll 8
server 3.asia.pool.ntp.org auto_offline minpoll 8

keyfile /etc/chrony/chrony.keys

commandkey 1

driftfile /var/lib/chrony/chrony.drift

log tracking measurements statistics
logdir /var/log/chrony

maxupdateskew 100.0

# Dump measurements when daemon exits.

dumponexit

# Specify directory for dumping measurements.

dumpdir /var/lib/chrony

# Let computer be a server when it is unsynchronised.

local stratum 10

logchange 0.5

rtconutc

```````````````````````

---
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


--
William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/

---
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/