Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128566 - net-misc/openntpd-3.7_p1 gives adjtime error
Summary: net-misc/openntpd-3.7_p1 gives adjtime error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Thilo Bangert (RETIRED) (RETIRED)
URL:
Whiteboard:
Keywords:
: 158679 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-02 13:33 UTC by Cletus Lichte
Modified: 2006-12-20 13:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cletus Lichte 2006-04-02 13:33:31 UTC
I live in the -6 GMT zone ( CST6CDT here in the States ) and last night Daylight Savings Time kicked in.  I started openntpd this morning and I get the following error message in my logs after starting it up:

Apr  2 13:32:09 lichte ntpd[9400]: ntp engine ready
Apr  2 18:32:29 lichte ntpd[9400]: peer 84.16.227.162 now valid
Apr  2 18:32:30 lichte ntpd[9400]: peer 216.52.237.153 now valid
Apr  2 18:32:30 lichte ntpd[9400]: peer 82.76.121.165 now valid
Apr  2 18:32:32 lichte ntpd[9400]: peer 216.106.184.58 now valid
Apr  2 13:33:27 lichte ntpd[9399]: adjusting local clock by 3589.836715s
Apr  2 13:33:27 lichte ntpd[9399]: adjtime failed: Invalid argument
Apr  2 18:36:53 lichte ntpd[9400]: ntp engine exiting
Apr  2 13:36:53 lichte ntpd[9399]: Terminating

Here is my emerge info:
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 VIA Samuel 2
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=c3 -mmmx -m3dnow -O2 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=c3 -mmmx -m3dnow -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.osuosl.org/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync11.us.gentoo.org/gentoo-portage"
USE="x86 3dnow X X509 Xaw3d aac alsa aotuv apm audiofile avi berkdb bindist bitmap-fonts bzip2 cairo cdparanoia chroot cli crypt ctype cups curl dba dga doc dri dts dvd edl eds emacs emboss encode exif expat fastbuild flac fontconfig foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glep glitz glut gmp gnutls gpm gs gstreamer gtk2 guile idn imlib isdnlog jpeg justify lcms libg++ libwww live lzo mad md5sum memlimit mikmod mmap mmx mng modelock motif mp3 mpeg musepack mysql nas ncurses nls nptl nptlonly nsplugin objc ogg opengl oss pam pcre pdflib perl perlsuid png posix pppd preview-latex python qt quicktime readline real rle rtc sdl session sftplogging simplexml skey slp sndfile soap sockets speex spell spl sqlite ssl svg tcltk tcpd tetex tga theora tiff tokenizer truetype truetype-fonts type1-fonts udev unicode urandom utf8 vorbis win32codecs xml xml2 xmms xpm xprint xsl xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2006-05-29 07:06:51 UTC
is this problem still bothering you?

adjtime fails because the time is too much off... the max adjustment is 2145 secs (according to man adjtime)....

did you start ntpd with the -s switch set?
also, could you try version 3.9p1
Comment 2 Cletus Lichte 2006-07-05 00:16:50 UTC
I found the -s switch and that fixed my problems.  I didn't try the newer version since it's not in stable yet.......I've added it to my /etc/portage/package.keywords now and it seems to be working just fine.  Thank you.
Comment 3 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2006-07-11 12:00:06 UTC
thanks for reporting back
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-20 13:50:56 UTC
*** Bug 158679 has been marked as a duplicate of this bug. ***