[pkg-ntp-maintainers] Bug#625572: ntpq -c "rv 0 state" doesn't work	anymore
    Sandro Tosi 
    morph at debian.org
       
    Wed May  4 12:24:17 UTC 2011
    
    
  
Package: ntp
Version: 1:4.2.6.p2+dfsg-1+b1
Severity: normal
Hello,
in the squeeze version of ntp, the command
  # ntpq -c "rv 0 state"
fails with this error:
  ***A request variable unknown to the server
on a working (lenny) the output is:
  # ntpq -c "rv 0 state"
  assID=0 status=06f4 leap_none, sync_ntp, 15 events, event_peer/strat_chg,
  state=4
Several monitoring scripts uses the above command, and checks for 'state=4' in
order to judge if ntp is working or not (4 is the OK status).
Do you know of any alternative for that? would it worth an entry in NEWS.Debian?
Regards,
Sandro
-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ntp depends on:
ii  adduser                  3.112+nmu2      add and remove users and groups
ii  dpkg                     1.15.8.8        Debian package management system
ii  libc6                    2.11.2-8        Embedded GNU C Library: Shared lib
ii  libcap2                  1:2.19-3        support for getting/setting POSIX.
ii  libedit2                 2.11-20080614-2 BSD editline and history libraries
ii  libopts25                1:5.10-1.1      automated option processing librar
ii  libssl1.0.0              1.0.0d-2        SSL shared libraries
ii  lsb-base                 3.2-26          Linux Standard Base 3.2 init scrip
ii  netbase                  4.44            Basic TCP/IP networking system
Versions of packages ntp recommends:
ii  perl                          5.10.1-17  Larry Wall's Practical Extraction 
Versions of packages ntp suggests:
ii  ntp-doc                1:4.2.6.p2+dfsg-1 Network Time Protocol documentatio
-- Configuration Files:
/etc/ntp.conf changed [not included]
-- no debconf information
    
    
More information about the pkg-ntp-maintainers
mailing list