Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49257 - NTP won't run
Summary: NTP won't run
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-28 00:31 UTC by Stony
Modified: 2004-04-28 13:43 UTC (History)
0 users

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 Stony 2004-04-28 00:31:29 UTC
I did an emerge -u ntp, edited the /etc/conf.d/ntp-client as follows:
#NTPCLIENT_CMD="ntpdate"
NTPCLIENT_CMD="/usr/bin/ntpdate"
#NTPDATE_OPTS="-b your.server.here"
NTPCLIENT_OPTS="-b time.cachenetworks.com"
NTPCLIENT_OPTS="-b ntp1.mainecoon.com"
NTPCLIENT_OPTS="-b ntp1.sf-bay.org"

###########end of conf.d/ntp-update#########
Added to the startup via rc-update, then tried to run ntp with:

/etc/init.d/ntp-client restart
which  printed:
 * Setting clock via the ntp client '/usr/bin/ntpdate'...
27 Apr 05:18:41 ntpdate[21672]: setsockopt() IPV6_V6ONLY failed: Protocol not available
 * Failed to set clock 

So, I ran the ntpdate command manually as :...
sirbarton /etc/init.d# ntpdate -b ntp1.sf-bay.org
Looking for host ntp1.sf-bay.org and service ntp
host found : zorro.sf-bay.org
27 Apr 05:20:26 ntpdate[21681]: setsockopt() IPV6_V6ONLY failed: Protocol not available

I am not actually sure what is failing here, all I know is I would like ntp-client to work.


Reproducible: Always
Steps to Reproduce:
1.emerge -up ntp
2.ntpdate -b ntp1.sf-bay.org
3.

Actual Results:  
Error message and failure to adjust the clock

Expected Results:  
Set the clock to the correct synchronized time.
Comment 1 SpanKY gentoo-dev 2004-04-28 13:43:37 UTC
turn on ipv6 support in your kernel or add -4 to the options