chronyc sources not working for normal users

Latest response

Hi All,

Is anyone across the below issue in which the chronyc sources (or other chronyc cmds) are not working from non-privileged users. Although it perfectly works fine from root.

$ chronyc sources
506 Cannot talk to daemon
$ chronyc -d sources
Resolved 127.0.0.1 to 127.0.0.1
Resolved ::1 to ::1
Opening connection to /var/run/chrony/chronyd.sock
Could not bind socket : Permission denied
Opening connection to 127.0.0.1:323
Sent 32 bytes
Timeout 0.999928 seconds
Sent 32 bytes
Timeout 1.999979 seconds
Sent 32 bytes
Timeout 3.999973 seconds
Opening connection to ::1:323
Could not create socket : Address family not supported by protocol
506 Cannot talk to daemon
$

I tried googling around but still cant find the solution.

Regards,
Sandeep

Responses