R: [chrony-users] Checking chrony daemon status via NTP3 protocol... work in progress

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


Hi Miroslav

I found why during these tests chronyd "crashes": our fault.

We have this /etc/sysconfig/chronyd
        OPTIONS="-4 -n -u chrony"

Because of -n
        the program will not detach itself from the terminal

and this bash script
      while true; do
            service chronyd restart
            ... testing ...
      done

hitting CTRL-C while the script is running... has the side effect to kill the daemon.

---

Regarding the wrong reference time: this afternoon, no errors.

Now I am testing four servers: every x seconds (x from 30 to 61, random) the script restarts the daemon and test its reference time via Udp probes.
I will let you know as soon as I catch the error, with the tcpdump trace.

Thanks for your attention, Massimo


[ATS logo]
Le informazioni contenute in questo messaggio e nei suoi allegati sono ad esclusivo beneficio del corretto destinatario e sono da considerarsi confidenziali e riservate. Qualora abbiate ricevuto il messaggio per errore, siete pregati di darne immediata notizia al mittente e di provvedere alla sua cancellazione. La rivelazione del contenuto di corrispondenza destinata ad altri e ricevuta per errore è perseguibile penalmente e può costituire un trattamento illecito di dati personali.

This e-mail and any attachment is confidential and only for use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure of this communication is strictly prohibited. If you have received this communication in error, please notify the sender, and then delete this message from your system.

Prima di stampare, pensa all’ambiente.


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