Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: ntpd: error while loading shared libraries (Read 266 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

ntpd: error while loading shared libraries

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 ]

Re: ntpd: error while loading shared libraries

Reply #1
file too short? I'm not sure what that means but that sounds like file corruption.

Re: ntpd: error while loading shared libraries

Reply #2
How to solve it?

Re: ntpd: error while loading shared libraries

Reply #3
Try reinstalling libretls? It works normally for me.

Re: ntpd: error while loading shared libraries

Reply #4
Thanks, it works now.