Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Ntpq & ld-elf.so.1

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    6 Posts 4 Posters 2.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      survive
      last edited by

      Hi guys,

      Running 2.1-DEVELOPMENT (amd64) built on Tue Mar 13 16:16:20 CET 2012….

      When I try to run "ntpq" or "ntpdc" I get these errors:

      /libexec/ld-elf.so.1: /usr/bin/ntpq: Undefined symbol "readline"
      /libexec/ld-elf.so.1: /usr/sbin/ntpdc: Undefined symbol "readline"

      Any way to fix?

      -Will

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        dig you install ntp?

        Im running

        2.1-DEVELOPMENT (i386)
        built on Mon Mar 12 15:35:05 CET 2012

        But I also installed ntp package

        [2.1-DEVELOPMENT][root@pfsense.local.lan]/root(2): pkg_info
        bsdinstaller-2.0.2012.0227 BSD Installer mega-package
        gettext-0.18.1.1    GNU gettext package
        grub-0.97_4        GRand Unified Bootloader
        libiconv-1.13.1_1  A character set conversion library
        nano-2.2.6          Nano's ANOther editor, an enhanced free Pico clone
        ntp-4.2.6p5        The Network Time Protocol Distribution

        no problem running it
        [2.1-DEVELOPMENT][root@pfsense.local.lan]/root(3): ntpq
        ntpq> pe
            remote          refid      st t when poll reach  delay  offset  jitter

        *private.ssl119. .CDMA.          1 u  160  512  377  14.287  -1.816  1.330
        +nist.netservice .ACTS.          1 u  103  512  377  18.293  -0.250  0.910
        +saturn.netwrx1. .PPS.            1 u  100  512  377  43.179  -4.848  5.141
        -ntp.mya.org    128.252.19.1    2 u  133  512  377  21.268  -1.620  6.232
        -ntp-1.gw.illino 128.174.38.133  2 u    6  512  377  36.078  -13.127  14.242
        LOCAL(0)        .LOCL.          10 l  57  64  377    0.000    0.000  0.004

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • S
          survive
          last edited by

          Hi johnpoz,

          No, I'm using the ntp that's included with pfsense.

          Where did you install the package from?

          -Will

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            pkg_add -r

            http://doc.pfsense.org/index.php/Installing_FreeBSD_Packages

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              We use OpenNTPD and not FreeBSD's ntp, though we include binaries for both. ntpq and such do not work with OpenNTPD.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • M
                Michael Sh.
                last edited by

                I also think that pfSense is worthy of full ntp daemon http://ntp.org, but not simplistic OpenNTP and FreeBSD ntpd. If only because of the remote administration and monitoring.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.