Re: [chrony-users] Chrony setup using RTC as fallback

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


Hi Bill,
comments inline below.

Il 18/11/2015 21:04, Bill Unruh ha scritto:
On Wed, 18 Nov 2015, Mauro Condarelli wrote:

Thanks Bill,
comments inline below.

Il 18/11/2015 20:40, Bill Unruh ha scritto:


Unfortunately something is seriously wrong:
I get consistently "506 Cannot talk to daemon" to each and all chronyc commands I try (while being root).

Check that the chronyc and chronyd are the same versions.
They are, I'm pretty sure because I compiled them both from the dame source package.

Problem seems to be my /var/run is on a tmpfs, so the directory /var/run/chrony does not exist.

Why would you have /var/run on a tmpfs? And why does /var/run/chrony not
exist?


Not my choice.
This system is Buildroot-based.
General idea (AFAIK) is /var/run does not need to be persisted across boots, so /run is a tmpfs and /var/run is a symlink to /run.
Obviously /run is crated empty, so /var/run/chrony (a.k.a.: /run/chrony) does not exist at startup.

I tried creating it (mkdir -p /var/run/chrony) before starting "chronyd -r -s" but now error is:
  / # chronyc online
  501 Not authorised


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


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