Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntp-client service fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
marcus
n00b
n00b


Joined: 20 Jun 2002
Posts: 37
Location: Skjern, Denmark

PostPosted: Mon Mar 21, 2005 9:58 am    Post subject: ntp-client service fails Reply with quote

I have just set up ntp following the gentoo guide. However, when it fails when starting the service:
Code:
/etc/init.d/ntp-client start
 * Setting clock via the NTP client 'ntpdate' ...
./init.d/ntp-client: line 33:  7757 Killed                  ${NTPCLIENT_CMD} ${NTPCLIENT_OPTS} >/dev/null
 * Failed to set clock                                                    [ !! ]


I can run ntpdate just by:
Code:
ntpdate -u -b pool.ntp.org
Looking for host pool.ntp.org and service ntp
host found : 90.red-217-127-32.pooles.rima-tde.net
21 Mar 10:46:10 ntpdate[7860]: step time server 217.127.32.90 offset -0.016202 sec


I did search the forums but was unable to find any solution. Anyone...?
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon Mar 21, 2005 10:02 am    Post subject: Reply with quote

Check the ntpd config file, and /etc/conf.d/ntpd for any obvious errors.
Also check the logs.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
marcus
n00b
n00b


Joined: 20 Jun 2002
Posts: 37
Location: Skjern, Denmark

PostPosted: Tue Mar 22, 2005 4:33 pm    Post subject: Reply with quote

Hmm, I checked the conf files once again, but didn't find any errors there. However, I took a (winlike) wild guess and reemerged ntp and now it works without any further configuration... :D

One question, though; what is /dev/null?

By the way, thanks for replying.
Back to top
View user's profile Send private message
dj_goku
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2003
Posts: 78
Location: Earth

PostPosted: Tue Mar 22, 2005 5:50 pm    Post subject: Reply with quote

http://en.wikipedia.org/wiki//dev/null
_________________
dj_goku | www.tektronic.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum