Time client setup

Solaris 10, 9

  1. Immediate synchronization with e.g.:
     
    /usr/sbin/ntpdate        de.pool.ntp.org  
    
  2. copy template
     
    cp /etc/inet/ntp.server /etc/inet/ntp.conf
    
  3. The file /etc/inet/ntp.conf must contain the entries:
     
    server de.pool.ntp.org 
    driftfile /var/ntp/ntp.drift
    statsdir /var/ntp/ntpstats/
    
    and the drift file should exist and be writable:
     
    touch /var/ntp/ntp.drift
    
  4. /etc/init.d/xntpd, /etc/rc2.d/S74xntpd (Solaris 8,9):
  5. immediate enable/restart (Solaris 10):
     
    svcadm enable  svc:/network/ntp:default
    svcadm refresh svc:/network/ntp:default
    svcadm restart svc:/network/ntp:default
    
  6. if necessary, adapt the timezone in /etc/TIMEZONE, e.g.:
    TZ=CET
    

Last update: 8-Jan-2010, M.Kraemer