The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem with network print server elzalem IP Networking 3 11-15-2007 04:31 PM
How To Provide Time Sync Using Nts-150 Time Server On Unix Network? pesty UNIX for Advanced & Expert Users 2 03-22-2007 02:20 AM
change network time protocol CBarraford OS X (Apple) 4 03-05-2007 08:12 PM
home network - can you have a primary name server, or only a caching-only name server xyyz UNIX for Dummies Questions & Answers 3 02-18-2004 01:13 PM
RH 9 and Network Time Protocol jaredGalen IP Networking 1 12-08-2003 11:08 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-12-2008
mm00123 mm00123 is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 60
Question Network Time server

I have NTS server with GMT time ,I want to make this server as a time reference for all unix servers that I have in my network.I knew 'ntpdate' command but what I need is to make the time on unix servers in my country local time which is GMT+3???Any help??
Thanks in advance
  #2 (permalink)  
Old 04-12-2008
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,242
Set the timezone on your server. ( /etc/default/init ) Timeservers and time in general are based on GMT so all timeservers use it.
  #3 (permalink)  
Old 04-13-2008
mm00123 mm00123 is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 60
Question

Hello reborg,
so if i set the time zone on unix server and then issued 'ntpdate' command the time will be my country local time...

Thanx
  #4 (permalink)  
Old 04-13-2008
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,461
There is no such thing as local time for Unix. Unix kernel internal clock always use universal time a.k.a. UTC a.k.a. GMT. NTP is also using this same unique reference time and do not care about timezone, hopefully.

The time displayed will depend on an environment variable (TZ) and so may vary depending on the user even on a single machine.

With Solaris, the default timezone users will inherit if they do not choose otherwise is defined in the /etc/default/init file TZ variable.
  #5 (permalink)  
Old 04-13-2008
mm00123 mm00123 is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 60
Question

Hello jlliagre,

if I ahve one NTP server and many unix machine and I want to synchrounize time between these servers and make ntp server as a time reference for all servers..How could I achieve this????
  #6 (permalink)  
Old 04-13-2008
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,461
Just configure and enable ntp on the clients.
  #7 (permalink)  
Old 04-14-2008
solaris123 solaris123 is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 7
Edit following file and enter the line given below...

# vi /etc/inet/ntp.conf --------------On client machin
server 10.22.17.50 prefer
# svcs -v ntp
# svcadm disable ntp ( For Solaris9: #/etc/init.d/xntpd stop)
# svcadm enable ntp ( For Solaris9: #/etc/init.d/xntpd start)


Whereas 10.22.17.50 is your NTP server.
Closed Thread

Bookmarks

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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




All times are GMT -4. The time now is 03:53 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0