ntp server error - NTP

This is a discussion on ntp server error - NTP ; Hi@all, i have a problem with my ntp-server: AIX 5.3 ntpd 4.2.2@1.1532 Mon Jun 19 14:51:42 UTC 2006 (4) Hopf-referenceclock connected to tty0: TTY tty0 TTY type tty TTY interface rs232 Description Asynchronous Terminal Status Available Location 01-S2-00-00 Parent adapter ...

+ Reply to Thread
Results 1 to 11 of 11

Thread: ntp server error

  1. ntp server error

    Hi@all,

    i have a problem with my ntp-server:

    AIX 5.3 ntpd 4.2.2@1.1532 Mon Jun 19 14:51:42 UTC 2006 (4)
    Hopf-referenceclock connected to tty0:
    TTY tty0
    TTY type tty

    TTY interface rs232
    Description Asynchronous
    Terminal
    Status Available

    Location 01-S2-00-00

    Parent adapter sa1

    PORT number [0]
    +
    Enable LOGIN disable
    +
    BAUD rate [9600]
    +
    PARITY [none]
    +
    BITS per character [8]
    +
    Number of STOP BITS [1]
    +
    TIME before advancing to next port setting [0]
    +#
    TERMINAL type [dumb]
    FLOW CONTROL to be used [ixany]
    +
    OPEN DISCIPLINE to be used [dtropen]
    +
    STTY attributes for RUN time
    [hupcl,cread,brkint,icrnl,opost,tab3,onlcr> +
    STTY attributes for LOGIN
    [hupcl,cread,echoe,cs8]
    LOGGER name []
    STATUS of device at BOOT time [available]
    +
    REMOTE reboot ENABLE no
    +
    STATUS of device at BOOT time [available]
    +
    REMOTE reboot ENABLE no
    +
    REMOTE reboot STRING [#@reb@#]
    TRANSMIT buffer count [16]
    +#
    RECEIVE trigger level [3]
    +#
    STREAMS modules to be pushed at OPEN time [ldterm]
    +
    INPUT map file [none]
    +
    OUTPUT map file [none]
    +
    CODESET map file [sbcs]
    +

    POSIX special control characters:

    INTERRUPT character [^c]

    QUIT character [^\]

    ERASE character [^h]
    KILL character [^u]
    END OF FILE character [^d]
    END OF LINE character [^@]
    2nd END OF LINE character [^?]
    DELAY SUSPEND PROCESS character [^y]
    SUSPEND PROCESS character [^z]
    LITERAL NEXT character [^v]

    START character [^q]
    STOP character [^s]
    WORD ERASE character [^w]
    REPRINT LINE character [^r]
    DISCARD character [^o]
    Apply change to DATABASE only no
    +

    errpt-error:

    ---------------------------------------------------------------------------
    LABEL: TTY_OVERRUN
    IDENTIFIER: 9D30B78E

    Date/Time: Mon Jul 31 06:58:51 MST 2006
    Sequence Number: 1494
    Machine Id: 0059E4BC4C00
    Node Id: csnim2
    Class: S
    Type: TEMP
    Resource Name: tty0

    Description
    RECEIVER OVER-RUN ON INPUT

    Failure Causes
    EXCESSIVE LOAD ON PROCESSOR

    Recommended Actions
    REDUCE SYSTEM LOAD.
    REDUCE SERIAL PORT BAUD RATE

    Duplicates
    Number of duplicates
    25
    Time of first duplicate
    Mon Jul 31 06:58:13 MST 2006
    Time of last duplicate
    Mon Jul 31 06:58:51 MST 2006

    I already changed the parameter FLOW CONTROL without success.

    Do you have an idea, how i can clear these error?

    many thanks.

    regards Marcus König


  2. Re: ntp server error

    Marcus König wrote:
    > Hi@all,
    >
    > i have a problem with my ntp-server:
    >
    > AIX 5.3 ntpd 4.2.2@1.1532 Mon Jun 19 14:51:42 UTC 2006 (4)
    > Hopf-referenceclock connected to tty0:
    > TTY tty0
    > TTY type tty
    >
    > TTY interface rs232
    > Description Asynchronous
    > Terminal
    > Status Available
    >
    > Location 01-S2-00-00
    >
    > Parent adapter sa1
    >
    > PORT number [0]
    > +
    > Enable LOGIN disable
    > +
    > BAUD rate [9600]
    > +
    > PARITY [none]
    > +
    > BITS per character [8]
    > +
    > Number of STOP BITS [1]
    > +
    > TIME before advancing to next port setting [0]
    > +#
    > TERMINAL type [dumb]
    > FLOW CONTROL to be used [ixany]
    > +
    > OPEN DISCIPLINE to be used [dtropen]
    > +
    > STTY attributes for RUN time
    > [hupcl,cread,brkint,icrnl,opost,tab3,onlcr> +
    > STTY attributes for LOGIN
    > [hupcl,cread,echoe,cs8]
    > LOGGER name []
    > STATUS of device at BOOT time [available]
    > +
    > REMOTE reboot ENABLE no
    > +
    > STATUS of device at BOOT time [available]
    > +
    > REMOTE reboot ENABLE no
    > +
    > REMOTE reboot STRING [#@reb@#]
    > TRANSMIT buffer count [16]
    > +#
    > RECEIVE trigger level [3]
    > +#
    > STREAMS modules to be pushed at OPEN time [ldterm]
    > +
    > INPUT map file [none]
    > +
    > OUTPUT map file [none]
    > +
    > CODESET map file [sbcs]
    > +
    >
    > POSIX special control characters:
    >
    > INTERRUPT character [^c]
    >
    > QUIT character [^\]
    >
    > ERASE character [^h]
    > KILL character [^u]
    > END OF FILE character [^d]
    > END OF LINE character [^@]
    > 2nd END OF LINE character [^?]
    > DELAY SUSPEND PROCESS character [^y]
    > SUSPEND PROCESS character [^z]
    > LITERAL NEXT character [^v]
    >
    > START character [^q]
    > STOP character [^s]
    > WORD ERASE character [^w]
    > REPRINT LINE character [^r]
    > DISCARD character [^o]
    > Apply change to DATABASE only no
    > +
    >
    > errpt-error:
    >
    > ---------------------------------------------------------------------------
    > LABEL: TTY_OVERRUN
    > IDENTIFIER: 9D30B78E
    >
    > Date/Time: Mon Jul 31 06:58:51 MST 2006
    > Sequence Number: 1494
    > Machine Id: 0059E4BC4C00
    > Node Id: csnim2
    > Class: S
    > Type: TEMP
    > Resource Name: tty0
    >
    > Description
    > RECEIVER OVER-RUN ON INPUT
    >
    > Failure Causes
    > EXCESSIVE LOAD ON PROCESSOR
    >
    > Recommended Actions
    > REDUCE SYSTEM LOAD.
    > REDUCE SERIAL PORT BAUD RATE
    >
    > Duplicates
    > Number of duplicates
    > 25
    > Time of first duplicate
    > Mon Jul 31 06:58:13 MST 2006
    > Time of last duplicate
    > Mon Jul 31 06:58:51 MST 2006
    >
    > I already changed the parameter FLOW CONTROL without success.
    >
    > Do you have an idea, how i can clear these error?
    >
    > many thanks.
    >
    > regards Marcus König
    >


    Unless your error message is written in some sort of a secret code, it's
    telling you plainly both the problem and the solution!

    The processor is too busy to pull the characters out of the UART as fast
    as they are arriving. For many years now, many UARTs have been equipped
    with a sixteen character FIFO buffer. If your UART is so equipped, that
    says that for something like 16 milliseconds the processor has not read
    a character from the UART.

    Reduce the load on the processor! Check if you have processes running
    at a higher priority than ntpd; ntpd does not place a high load on a
    processor but it needs to process in near real-time.

    Or get faster hardware. It's not likely that this is the solution; your
    hardware would have to be VERY slow to cause this problem. OTOH if you
    processor is using PIO to access a disk rather than DMA, that could do it.

  3. Re: ntp server error

    Marcus,

    1. Which model of Hopf reference clock are you using?

    2. Please post a copy of your ntp.conf file.

    Gruesse,
    Paul


  4. Re: ntp server error

    Paul.Croome@softwareag.com schrieb:

    > Marcus,
    >
    > 1. Which model of Hopf reference clock are you using?
    >
    > 2. Please post a copy of your ntp.conf file.
    >
    > Gruesse,
    > Paul


    Hello Paul,

    1. the clock we are using is: DCF77-Clock 4465

    2. here the ntp.conf:

    # @(#)48 1.2 src/tcpip/etc/ntp.conf, ntp, tcpip530 2/16/96
    10:16:34
    # IBM_PROLOG_BEGIN_TAG
    # This is an automatically generated prolog.
    #
    # tcpip530 src/tcpip/etc/ntp.conf 1.2
    #
    # Licensed Materials - Property of IBM
    #
    # Restricted Materials of IBM
    #
    # (C) COPYRIGHT International Business Machines Corp. 1996
    # All Rights Reserved
    #
    # US Government Users Restricted Rights - Use, duplication or
    # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
    #
    # IBM_PROLOG_END_TAG
    #
    # COMPONENT_NAME: ntp
    #
    # FUNCTIONS: none
    #
    # ORIGINS: 27,176
    #
    #
    # (C) COPYRIGHT International Business Machines Corp. 1996
    # All Rights Reserved
    # Licensed Materials - Property of IBM
    # US Government Users Restricted Rights - Use, duplication or
    # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
    #
    #
    #
    #
    # Default NTP configuration file.
    #
    # Broadcast client, no authentication.
    #
    #broadcastclient
    driftfile /etc/ntp.drift
    #tracefile /etc/ntp.trace
    server 127.127.8.1 mode 12

    regards

    Marcus


  5. Re: ntp server error

    Marcus,

    What do you see if you enter
    cat /dev/hopfclock1
    ?
    You should see something like the following:

    8B105931020806

    8B105932020806

    8B105933020806

    8B105934020806

    8B105935020806

    8B105936020806

    (That's from a Hopf 6855, using the same refclock driver.)

    If you don't see that, I suggest that you check the settings of the
    Hopf card.

    Paul


  6. Re: ntp server error

    Marcus,

    Another thought: I see that your serial interface has:
    END OF LINE character [^@]
    2nd END OF LINE character [^?]

    The Hopf card normally sends LF/CR at the end of each data record.
    My gut feeling is that you should set the serial interface to expect
    ^j and ^m (instead of ^@ and ^?).

    Does your Hopf receiver have a pulse-per-second (PPS) output signal?
    I typically see timing variations around +/- 5ms on the serial
    telegrams,
    but the PPS is much better: +/- 0,5ms.

    Paul


  7. Re: ntp server error

    Hello Paul,

    I changed these two attributes, and got the following:

    cat /dev/refclock-1
    CC111953030806
    CC111954030806
    CC111955030806
    CC111956030806
    CC111957030806
    CC111958030806
    CC111959030806
    CC112000030806
    CC112001030806
    CC112002030806
    CC112003030806
    CC112004030806
    CC112005030806

    should be the expecting output or?

    thx.

    regards Marcus



  8. Re: ntp server error

    Hi,

    the errormessage performs again despite the changes.

    regards

    Marcus
    "Marcus König" schrieb im Newsbeitrag
    news:44d1def2$0$18508$9b4e6d93@newsread2.arcor-online.net...
    > Hello Paul,
    >
    > I changed these two attributes, and got the following:
    >
    > cat /dev/refclock-1
    > CC111953030806
    > CC111954030806
    > CC111955030806
    > CC111956030806
    > CC111957030806
    > CC111958030806
    > CC111959030806
    > CC112000030806
    > CC112001030806
    > CC112002030806
    > CC112003030806
    > CC112004030806
    > CC112005030806
    >
    > should be the expecting output or?
    >
    > thx.
    >
    > regards Marcus
    >
    >




  9. Re: ntp server error

    Marcus,

    That looks good so far.

    According to the documentation and also according to the source code,
    the Hopf serial refclock driver expects to read its input
    from /dev/hopfclockX, where X is 1 in your case because you have
    configured
    127.127.38.1 in your /etc/ntp.conf file:
    see http://www.eecis.udel.edu/~mills/ntp.../driver38.html,
    and look for "#define DEVICE" in refclock_hopfser.c.
    Have you set a (symbolic) link from /dev/refclock-1 to /dev/hopfclock1
    ?

    Gruesse,
    Paul


  10. Re: ntp server error

    Oops: I see that you are using the generic parse refclock driver
    127.127.8.1;
    in that case, /dev/refclock-1 is correct.
    I use the Hopf serial refclock driver 127.127.38.X with good results.
    You might want to try that.

    Paul


  11. Re: ntp server error

    Hello Paul,

    I opened a call by IBM for these case. They said, that they have
    multiple errors like that with the ntp-version 4.2.2. Now I will
    install an other version to proof these matter.

    regards,

    Marcus


    Paul.Croome@softwareag.com schrieb:

    > Oops: I see that you are using the generic parse refclock driver
    > 127.127.8.1;
    > in that case, /dev/refclock-1 is correct.
    > I use the Hopf serial refclock driver 127.127.38.X with good results.
    > You might want to try that.
    >
    > Paul



+ Reply to Thread