Yo Eric!

Whoops:

#  ntpq/pyntpq -p
Traceback (most recent call last):
  File "ntpq/pyntpq", line 1441, in <module>
    interpreter.onecmd(cmd)
  File "/usr/lib64/python2.7/cmd.py", line 221, in onecmd
    return func(arg)
  File "ntpq/pyntpq", line 1051, in do_peers
    self.__dopeers(showall=False, mode="peers")
  File "ntpq/pyntpq", line 270, in __dopeers
    if not self.__dogetassoc():
  File "ntpq/pyntpq", line 173, in __dogetassoc
    self.peers = self.session.readstat()
  File "/u1/src/NTP/ntpsec/ntpq/ntp/packet.py", line 594, in readstat
    self.doquery(opcode=CTL_OP_READSTAT, associd=associd)
  File "/u1/src/NTP/ntpsec/ntpq/ntp/packet.py", line 581, in doquery
    res = self.getresponse(opcode, associd, not retry)
  File "/u1/src/NTP/ntpsec/ntpq/ntp/packet.py", line 461, in getresponse
    rawdata = polystr(self.sock.recv(4096))
socket.error: [Errno 111] Connection refused

This happens when I kill the ntpd on the localhost.  Prolly easy to fix.


RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        g...@rellim.com  Tel:+1 541 382 8588

Attachment: pgp4_TLXSJUyC.pgp
Description: OpenPGP digital signature

_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to