Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start NTP client (chrony) #215

Closed
jovatn opened this issue Nov 21, 2023 · 0 comments
Closed

Unable to start NTP client (chrony) #215

jovatn opened this issue Nov 21, 2023 · 0 comments
Assignees

Comments

@jovatn
Copy link
Contributor

jovatn commented Nov 21, 2023

I tried to configure my infix device as NTP client, but no NTP process (chrony) seems to start. Hopefully a configuration error.
Using an infix build of 2023-11-21.

Extract of infix config

"ietf-system:system": {
    "hostname": "infix-00-00-00",
    "ntp": {
      "enabled": true,
      "server": [
        {
          "name": "ns.kth.se",
          "udp": {
            "address": "130.237.72.246"
          }
        }
      ]
    },
...

Resulting chrony config

root@infix-00-00-00:~$ cat /etc/chrony.conf 
server 130.237.72.246 port 123
driftfile /var/lib/chrony/drift
makestep 1.0 3
maxupdateskew 100.0
dumpdir /var/lib/chrony
rtcfile /var/lib/chrony/rtc
root@infix-00-00-00:~$ 

Status of initctl (no chrony started)

root@infix-00-00-00:~$ initctl
PID   IDENT        STATUS   RUNLEVELS     DESCRIPTION                                                                                                                             
1164  udevd        running  [S-12345-789] Device event daemon (udev)
2187  dbus         running  [S-123456789] D-Bus message bus daemon
2300  confd        running  [S-12345-789] Configuration daemon
2428  netopeer     running  [--12345-789] NETCONF server
2303  dnsmasq      running  [S-12345-789] DHCP/DNS proxy
2431  tty:console  running  [--12345----] Getty on /dev/console
2432  iitod        running  [S0123456789] LED daemon
2438  klishd       running  [---2345-789] CLI backend daemon
2441  rauc         running  [---2345-789] Software update service
2444  sshd         running  [---2345----] OpenSSH daemon
2395  statd        running  [S-12345-789] Status daemon
2156  syslogd      running  [S0123456789] System log daemon
2445  watchdogd    running  [-0123456789] System watchdog daemon
2449  zebra        running  [---2345-789] Zebra routing daemon
2450  mdns         running  [---2345-789] Avahi mDNS-SD daemon
2451  dhcp:e0      running  [---234-----] DHCP client @e0
2453  lldpd        running  [---2345-789] LLDP daemon (IEEE 802.1ab)
root@infix-00-00-00:~$ initctl status chrony
initctl: no such task or service(s): chrony
root@infix-00-00-00:~$ 
@troglobit troglobit self-assigned this Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants