[SunHELP] NTP server on Solaris 8
    Jim Pennino 
    jimp at specsol.com
       
    Mon Jun 16 16:38:55 CDT 2003
    
    
  
On Mon, Jun 16, 2003 at 02:51:36PM -0500, TomST at netins.com wrote:
> Well when I set up another machine to try and sync from my server it will not
> work.  I run ntpq -p and get the following error message:
> 
> localhost: timed out, nothing received
> ***Request timed out
> 
> So I think there may be something more that I need to do to.  I am not messing
> with security at this time.  Machines are on the same lan, same network.
> 
You need nothing more than something like the following in your ntp.conf
files:
server 1.2.3.4
server 1.2.3.5
driftfile /var/ntp/ntp.drift
You only need 1 server line.
You do not have to have the driftfile line, but things work better if
you have a drift file.
The drift file is not created for you; you have to create an empty one.
You have to make sure the xntpd process gets started.
The machine at the top of your ntp chain has to sync to a real time
server with a real clock or your lower level machines won't sync to it.
(Actually, it's possible to fake it, but I assume you want good time)
To see if you can sync a client machine to a given server, use:
ntpdate server-address
Ntpdate won't work once xntpd is running on the local machine.
You can find a list of publicly accessable time servers on www.ntp.org.
-- 
Jim Pennino
    
    
More information about the SunHELP
mailing list