LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-23-2008, 03:54 AM   #1
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Rep: Reputation: 15
help with ntp


I got ntp installed.

did a

Code:
ntpdate -u some.ntp.server1
It went through and well

then i created my own /etc/ntp.conf even when one exists.

Code:
server some.ntp.server1
server some.ntp.server2

driftfile /etc/ntp.drift
logfile /var/log/ntp.log
restarted ntpd, then i tried

Code:
ntpdate
It said "no server can be used, exiting".
I tried "ntpdate -u some.ntp.server1" and it went through.


I also found out something very funny. I tried to do

Code:
ntpdate some.ntp.server1
It said "NTP socket is in use, exiting"


I set my firewall to "no firewall", still doesn't work.
Any idea where went wrong ?
 
Old 01-23-2008, 07:45 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
I didn't see anything go wrong. You can't use ntpdate while ntpd is running, of course, so if you want to use ntpdate you'd need to stop ntpd. (I prefer ntpd to set the date for me and keep it maintained.)
 
  


Reply

Tags
ntp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ntp paul_mat Linux - Software 3 03-02-2006 01:24 AM
Ntp darkkan Debian 3 09-09-2005 11:11 AM
help with NTP stevenhasty Slackware 6 02-16-2005 11:04 AM
NTP cannot work with timeserver, NTP-d can jerryvapps Linux - Networking 0 08-04-2004 02:04 PM
NTP cannot use server, NTP -d can jerryvapps Linux - Newbie 0 07-28-2004 02:22 PM


All times are GMT -5. The time now is 02:50 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration