Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: vovas on 27 July 2023, 15:07:51

Title: ntpd: error while loading shared libraries
Post by: vovas on 27 July 2023, 15:07:51
Hi mates!
NTPD won't start.
Code: [Select]
# rc-service ntpd start && rc-service ntpd status
 * Starting OpenNTPD ...                                                                                             [ ok ]
 * status: stopped
If I try to run from command
Code: [Select]
# ntpd
ntpd: error while loading shared libraries: /usr/lib/libtls.so.26: file too short
Also rc-status output
Code: [Select]
# rc-status
Runlevel: default
 dbus                                                                                             [  started 00:20:38 (0) ]
 netmount                                                                                                     [  started  ]
 ntpd                                                                                                            [ failed ]
 local                                                                                                        [  started  ]
 agetty.tty6                                                                                      [  started 00:20:32 (0) ]
 agetty.tty2                                                                                      [  started 00:20:32 (0) ]
 agetty.tty5                                                                                      [  started 00:20:32 (0) ]
 agetty.tty1                                                                                      [  started 00:05:39 (1) ]
 agetty.tty4                                                                                      [  started 00:20:32 (0) ]
 agetty.tty3                                                                                      [  started 00:20:32 (0) ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
Dynamic Runlevel: manual
 ntpd                                                                                                            [ failed ]
Title: Re: ntpd: error while loading shared libraries
Post by: Dudemanguy on 27 July 2023, 15:18:40
file too short? I'm not sure what that means but that sounds like file corruption.
Title: Re: ntpd: error while loading shared libraries
Post by: vovas on 27 July 2023, 15:26:41
How to solve it?
Title: Re: ntpd: error while loading shared libraries
Post by: Dudemanguy on 27 July 2023, 16:05:26
Try reinstalling libretls? It works normally for me.
Title: Re: ntpd: error while loading shared libraries
Post by: vovas on 28 July 2023, 10:21:01
Thanks, it works now.