Syncing server clocks in Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris Syncing server clocks in Solaris
# 1  
Old 01-16-2007
Syncing server clocks in Solaris

I have several servers with different time settings.

How do I sync these servers to the same time with NTP.

Thanks,
Remi
# 2  
Old 01-16-2007
# 3  
Old 01-16-2007
running timed service on only one server

Run a timed server on only one server while other servers are running timed client.
# 4  
Old 01-16-2007
This is what I ran on my ntp server & I'm still getting error message " ntpq: read: Connection refused"

Any Idea what I did wrong.

I'm trying to have all other servers indicated as the "peer" synchronize with the sstrappeadmn.

Any help is appreciated.

Thanks,
Remi


Either a peer or server. Replace "XType" with a value from the
# table above.
server sstrappeadmn prefer
peer sstarppeidb1
peer sstrappeidb2
peer sstrappeappl1
peer sstrappeappl2
peer sstrappeappl3
peer sstrappeappl4
peer sstrappeadb1
peer sstrappeadb2
peer sstrappeintf
peer sstrappemcs
broadcast 224.0.1.1 ttl 4

enable auth monitor
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable

keys /etc/inet/ntp.keys
trustedkey 0
requestkey 0
controlkey 0
"ntp.conf" 73 lines, 2851 characters
# ntpq
ntpq> peers
ntpq: read: Connection refused
ntpq> ^C
# ntpd
ntpd: not found
# ntpq -p
ntpq: read: Connection refused
# ntpq -p sstrappeidb1
ntpq: read: Connection refused
#
# 5  
Old 09-25-2008
Check NTP Service

I feel the NTP Serivce is not running in the System.

If it is a Linux machine --> service ntpd start

In Solaris (till version 9) --> /etc/init.d/xntpd start
In Solaris 10 --> svcadm enable ntp


# 6  
Old 09-25-2008
Check this link: How to configure NTP in Solaris/Windows/Linux environment...??? Read thru the instructionsand recommendations first. Let us know if you've doubts.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

How to add new Solaris client IP into Solaris 10 DNS server?

Hi, We just built a new Solaris 10 zone. And would like to add it to our DNS server. Its also Solaris 10. Please let me know how can I get the IP resolved using this DNS server. I added entry into zone config file but not working. I did restarted the DNS services. And also added nameserver name... (5 Replies)
Discussion started by: snchaudhari2
5 Replies

2. UNIX for Dummies Questions & Answers

Migrate users from 1 Solaris 10 to a different Solaris 10 server

Hello, I have to backup users from one server and put them on another server. I have tried cp -pr, copied over the passwd, group, shadow and appended the users from the old server to the new servers files, rebooted and still can't login. The server accepts that new accounts are there but not... (2 Replies)
Discussion started by: hs3082
2 Replies

3. Solaris

Validate mountpoints on solaris server after server reboot

Hi, anyone please let us know how to write shell script to find the missing mountpoints after server reboot. i want to take the mountpount information before server reboot, and validate the mountpoints after server reboot if any missing.please let us know the shell script from begining to end as... (24 Replies)
Discussion started by: VenkatReddy786
24 Replies

4. Solaris

Solaris 9 branded zone on a Solaris 10 server

I have a T5220 running Solaris 10. I have a application that can only run on Solaris 9. I want to build a branded Solaris 9 zone for this application on the Solaris 10 Server. What steps would I need to accomplish this? (2 Replies)
Discussion started by: soupbone38
2 Replies

5. Solaris

NTFS under Solaris (switching from windows to Solaris server)

I want just to keep Solaris OS as my default OS . I have installed linux and windows as well but all my critical data is stored on NTFS partition so question is how to mount HDD with NTFS on Solaris (tried FUSE + NTFS-3g but that did`t worked for me system was down) And why Solaris does not... (2 Replies)
Discussion started by: microbot
2 Replies

6. UNIX for Dummies Questions & Answers

copying directories from NT server to Unix server (solaris 5.8)

I need to copy around 30 directories (each directory include one or more text file(s)) from NT server to Unix server at one go. For doing this what are the privillages i should have in both NT and Unix server. Please let me know which command i can use in shell prompt. TIA. (4 Replies)
Discussion started by: jhmr7
4 Replies

7. Solaris

jumpstart Solaris 10 on Solaris 9 server

I just built a jumpstart server on a Solaris 9 sun box and have had no problems jumpstarting other sol9 boxes using the custom rules. I've also copied a Solaris 10 image onto that same solaris 9 server and have had problems loading Solaris 10. These boxes will go directly to the manual OS install... (5 Replies)
Discussion started by: salty
5 Replies

8. Linux

NTPD seems to be not syncing !!!

Hi Linux Admin Guys My onsite server is always 15 min slow and seems like NTPD (Network Time Protocol (NTP) daemon) not running properly. can anyone suggest me how to rectify this problem? we can't seem to get NTP to properly sync the clock. Any help is resolving the issue will be helpful.... (12 Replies)
Discussion started by: csaha
12 Replies
Login or Register to Ask a Question