LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-26-2006, 07:19 AM   #1
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
ntpdate configuration?


I;m trying to use ntpdate to set my system time. When it's being brought up during the normal system start up it seems it can't resolve the hostname of the server it wants to sync with. If I run it without arguments from the command line I get this:

ntpdate[1742]: no servers can be used, exiting

If I supply an ntp server on the command line, everything is ok.

I'd have to assume it's some sort of configuration problem however I can't seem to be able to find a configuration file for ntpdate. Could someone point it out to me ?
 
Old 03-26-2006, 08:09 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
/etc/ntp.conf

Use one of the pool servers from here:
http://ntp.isc.org/bin/view/Servers/NTPPoolServers
 
Old 03-26-2006, 10:00 AM   #3
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
Post

i dont find /etc/ntp.conf in my breezy.but i only installed ntpdate though.
 
Old 03-26-2006, 10:40 AM   #4
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
/etc/default/ntpdate
 
Old 03-26-2006, 10:55 AM   #5
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
Post

but in my sarge,i can sync ntpdate simply by restarting
like:
Code:
service ntpdate restart
will we able to achieve this in Ubuntu..
 
Old 03-26-2006, 12:04 PM   #6
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Original Poster
Rep: Reputation: 31
/etc/default/ntpdate it is, thank you
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
disable logging for ntpdate rubella Linux - Newbie 1 12-15-2005 03:37 PM
NTPDATE will *NOT* work jon_k Linux - Software 8 01-02-2005 05:41 AM
ntpdate + firewall + no update countcobolt Linux - Networking 3 12-09-2003 03:50 PM
ntpdate and port adcripps Linux - General 2 09-06-2002 04:38 AM
ntpdate installation. Oberon_sedai Linux - Newbie 1 12-06-2001 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration