Professional Web Applications Themes

ntpd core dumping on 5.3-p5 - FreeBSD

I'm experiencing a problem similar to the problem described in this thread: http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/078139.html My ntp.conf contains: server clock.psu.edu server fuzz.psc.edu prefer server ntp-1.ece.cmu.edu prefer server ntp-2.ece.cmu.edu prefer If I comment out the first two servers, ntpd works fine. Otherwise, I get coredumps. It seems a little extreme to me that any server could remotely cause ntpd to core. I'm willing to look in to this, but I'm having trouble figuring out how to get ntp built with debugging symbols. FreeBSD bolivia.potentialtech.com 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Thu Feb 24 08:26:07 UTC 2005 root:/usr/obj/usr/src/sys/WORKING i386 -- Bill Moran Potential Technologies http://www.potentialtech.com...

  1. #1

    Default ntpd core dumping on 5.3-p5


    I'm experiencing a problem similar to the problem described in this thread:
    http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/078139.html

    My ntp.conf contains:
    server clock.psu.edu
    server fuzz.psc.edu prefer
    server ntp-1.ece.cmu.edu prefer
    server ntp-2.ece.cmu.edu prefer

    If I comment out the first two servers, ntpd works fine. Otherwise, I get
    coredumps.

    It seems a little extreme to me that any server could remotely cause ntpd
    to core. I'm willing to look in to this, but I'm having trouble figuring
    out how to get ntp built with debugging symbols.

    FreeBSD bolivia.potentialtech.com 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Thu Feb 24 08:26:07 UTC 2005 root:/usr/obj/usr/src/sys/WORKING i386

    --
    Bill Moran
    Potential Technologies
    http://www.potentialtech.com
    Bill Guest

  2. #2

    Default Re: ntpd core dumping on 5.3-p5

    John Pettitt <com> wrote: 
    >
    > you can only have one preferred server.[/ref]

    First off: Where did you get that tidbit. I don't think it's accurate.
    It says nothing about it in the man page for ntp.conf, and it works
    fine on previous version of ntpd.

    Secondly, and more important, it doesn't help anyway.
    * If I remove all the "prefer" and try to start ntpd, it still coredumps.
    * If I set only one "prefer", it still coredumps.
    * If I comment out the first two servers, but set the remaining two _both_
    to "prefer", it runs fine.

    Thirdly, even if it were illegal to have multiple "prefer" directives, the
    program still should not coredump because of an invalid config file.

    So, we come badk to my original statement:

    After additional testing, it still seems as if the first two servers on this
    list are coredumping ntpd.

    --
    Bill Moran
    Potential Technologies
    http://www.potentialtech.com
    Bill Guest

  3. #3

    Default Re: ntpd core dumping on 5.3-p5

    John Pettitt <com> wrote: [/ref][/ref]

    <snip>
     

    It consistenly takes two seconds to coredump.
     

    Not really enough time to issue those commands before ntpd cores.

    --
    Bill Moran
    Potential Technologies
    http://www.potentialtech.com
    Bill Guest

Similar Threads

  1. ntpd core dump
    By Richard Danter in forum FreeBSD
    Replies: 3
    Last Post: February 25th, 08:04 PM
  2. localtime() core dumping
    By Chandrashekar in forum UNIX Programming
    Replies: 21
    Last Post: October 21st, 05:49 PM
  3. Can I use ntpd through a socks proxy??
    By Zhao You Bing in forum Debian
    Replies: 0
    Last Post: July 24th, 02:30 AM
  4. Replies: 6
    Last Post: June 25th, 08:49 PM
  5. Replies: 0
    Last Post: June 24th, 06:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139