LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-18-2004, 09:28 AM   #1
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
Time Syncronization on Slackware 9.1


As the clock on my computer (Slack 9.1) runs slow, I was trying to make it syncronize with a ntp server.

When I execute the command "ntpdate nameOfServer" I get the following error:
Code:
18 Jul 15:33:26 ntpdate[3495]: no server suitable for synchronization found
where nameOfServer is a ntp server such as time.esec.com.au, or ntp.adelaide.edu.au.

This error occurs whether the ntp daemon is running of not, I am running as root, and I have an internet connection.

How do I get the ntpdate command to work correctly, as once it is working I can syncronize the clock at boot time.

Any help would be appreciated
--Ian
 
Old 07-18-2004, 09:51 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,776

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
If I'm not mistaken, ntp is intended for network and permanent internet connection, such as DSL, etc. For intermittent (dialup) connection, I use chrony. It's easy to install and setup, with instructions on how to use the /etc/ppp/ip-up and ip-down scripts to automate the time sync.
 
Old 07-18-2004, 10:34 AM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
ntpd -g is effectively the same as ntpdate. Find the bootscript that launches ntpd and add -g after the command. That way it will reset the time every time you boot even if it is more than 1000 seconds out. However, your error message says that it can't connect to the time server. Do the servers you have listed in /etc/ntp.conf work?
 
Old 07-18-2004, 10:07 PM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Original Poster
Rep: Reputation: 61
Thanks for your help.

After playing with it some more, it turns out that my firewall was blocking ntp. Opening my firewall for ntp solved the problem

--Ian
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time syncronization? GT_Onizuka Linux - Software 3 07-13-2004 02:39 AM
Syncronization firestomper41 Mandriva 0 05-14-2004 12:43 PM
syncronization of t65 mobile with usbcable martine Linux - Software 0 03-11-2004 07:37 PM
Installing Slackware for the first time drone Slackware 14 10-25-2003 12:42 AM
file syncronization mchitsquad Mandriva 1 09-01-2003 07:25 PM


All times are GMT -5. The time now is 01:31 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration