AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  Not able to start NTP

    Posted Sun May 09, 2010 12:51 PM

    Originally posted by: shashiscreen


    I am facing a issue with NTP in AIX5.3. I can able to configure and start NTP, but after sometime it will die itself.

    I am configuring NTP as a client

    ntp.conf

    driftfile /etc/ntp.drift
    tracefile /etc/ntp.trace
    server my_ntp_server

    rc.tcpip

    start /usr/sbin/xntpd "$src_running" "-x"
    whenever i start the xntpd manually, or whenever i reboot, the xntpd will start, but after 5 minutes, it will die itself.

    I am not sure what log file i need to refer for troubleshooting this issue.

    How can i troubleshoot this issue ?

    Thanks.
    #AIX-Forum


  • 2.  Re: Not able to start NTP

    Posted Sun May 09, 2010 01:25 PM

    Originally posted by: SystemAdmin


    I'd start with "man xntpd"
    syslog, -D option ....
    #AIX-Forum


  • 3.  Re: Not able to start NTP

    Posted Mon May 10, 2010 04:55 PM

    Originally posted by: Juredd1


    Sorry Delgado,

    I was trying to say the same thing twice, I didn't even notice your suggestion "man xntpd". I just noticed the syslog suggestion.
    #AIX-Forum


  • 4.  Re: Not able to start NTP

    Posted Mon May 10, 2010 04:53 PM

    Originally posted by: Juredd1


    This is from the man page for xntpd.

    Note: When operating in a client mode running AIX 4.2.1 or later, the xntpd daemon will exit with an
    error if no configured servers are within 1000 seconds of local system time. Use the date or ntpdate
    command to set the time of a bad skewed system before starting xntpd.

    Not sure if this is your problem but something to look at.

    I have had problems where my client's time is off to much for ntp to correct and the xntpd daemon will die.
    #AIX-Forum


  • 5.  Re: Not able to start NTP

    Posted Fri May 14, 2010 03:20 PM

    Originally posted by: edgodd1


    I would first run

    ntpdate my_ntp_server
    to verify that you can manually sync time up with the ntp server. If that works then you gotta dig deeper into xntpd with syslog as described.
    #AIX-Forum