Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Dec 2022 20:30:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 268194] ntpd fails to start
Message-ID:  <bug-268194-227-HCLDB71YAq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268194-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268194-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268194

--- Comment #5 from John Grafton <john.grafton@runbox.com> ---
(In reply to Maarten de Vries from comment #4)
Ah, the core file doesn't have symbols (of course, it's a release build).  =
That
makes it difficult to figure out what's going on.

If you're up for it, you can compile ntpd with debugging symbols and execut=
e it
on your 12.4-RELEASE system.  This should produce a core file that may poin=
t to
what's failing.

Here's a simple procedure:

If you didn't install src, download src.txz from:
https://download.freebsd.org/ftp/releases/amd64/amd64/12.4-RELEASE/src.txz

untar it in /usr/src:
tar -xvC / -f src.txz

Check /usr/src/UPDATING and verify the first entry says:
20221205:
        12.4-RELEASE.

compile ntpd:
cd /usr/src/usr.sbin/ntp
make

execute ntpd with debugging symbols:
/usr/obj/usr/src/amd64.amd64/usr.sbin/ntp/ntpd/ntpd -n

debug the core file:
lldb --core ntpd.core /usr/obj/usr/src/amd64.amd64/usr.sbin/ntp/ntpd/ntpd

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268194-227-HCLDB71YAq>