Having a problem with the time sync from Solaris 10 to VirtualBox


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Having a problem with the time sync from Solaris 10 to VirtualBox
# 1  
Old 04-19-2012
Having a problem with the time sync from Solaris 10 to VirtualBox

I have a VirtualBox w2008r2 Domain Controller running on a Solaris 10 server. I have the time on the Virtual machine set to Default time sync (bios clock) and the Solaris server set to sync to
Code:
0 8,20 * * * /usr/sbin/ntpdate tick.usno.navy.mil tock.usno.navy.mil >> /tmp/ntp.log

My problem is after a few hours the time one my DC will start to drift and after a few days it is a minute or 2 slow. How do I keep this from happening
# 2  
Old 04-19-2012
Is there a reason that this is set as a cron job twice a day? If it's just convenient and you could increase the frequency, then you might consider using the deamon ntpd or xntpd

You can code up /etc/ntp.conf and start the deamon at system boot. It should then keep in step all the time, drifting the clock a few milliseconds either side of your time source.

See the man page for ntpd or xntpd and ntp.conf on how to set this up for your installation.


If it is the Windows clock that is going out, then that is another issue. I'm not sure how you set that to have a reference clock.



I hope that this helps
Robin
liverpool/Blackburn
UK
# 3  
Old 04-19-2012
Yes the problem is with the Windows Virtual DC running on the Solaris box. I have installed Guest Additions for VirtualBox. Hopefully that will fix the problem.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

How to sync time with bios in rhel7?

Hi All, I deployed the rhel7 server in the bare metal hardware. I want to configure the rhel7 server to sync time with bios. I tired the below commands. Still it did not sync the time with bios. Thanks, Kalai (3 Replies)
Discussion started by: kalpeer
3 Replies

2. Red Hat

Best way to sync time on a Linux machine

I wanted to know which should be the best way to sync time for a linux machine. We have an application server and a database server, both using RHEL 5.8 as the OS. It is important that the time on both these servers match together and also sync with a common time source. As per my knowledge, these... (11 Replies)
Discussion started by: RHCE
11 Replies

3. Shell Programming and Scripting

Solaris Time Problem

Hi all, I am printing yesterday date in solaris using command: TZ=GMT+24 date +%b_%d_%Ybut at 01:00 AM on jan 11, it is printing: Anyone please explain. (1 Reply)
Discussion started by: anand2308
1 Replies

4. Linux

Questions about the NTP time server sync

Hi folks, I have developed a Linux server for my customer. After migrating the server to my customer site, I was trying to sync its time to the NTP time servers at my customer site. Below is the ntp.conf: % vi /etc/ntp.conf # Permit time synchronization with our time source, but do not # permit... (2 Replies)
Discussion started by: kimurayuki
2 Replies

5. Solaris

Time and Date Sync between 2 Sol boxes

I have 2 sol 10 OS boxes in replication and there is a 6 minutes time difference in GMT zone. How I can sync? they are not on public network. (2 Replies)
Discussion started by: chandravadrevu
2 Replies

6. Red Hat

Time Sync issue on RHEL 5.3

Hi, My Linux VMs are running on citrix XEN.Somehow the time drift is too high (going very fast). Even if the correct time configured using date -s command, for every 1 hr it is differing almost 5 - 10 mins. Tried configuring ntpd (local NTP server) and still it is not synchronized. Machine... (2 Replies)
Discussion started by: uday123
2 Replies

7. Solaris

NTP time sync in Solaris 10

Ok, I have 4 production systems. There is one NTP server for all four systems. In each system there is one Solaris 10 box that points to that NTP server. All of the other machines in the system point to the Solaris 10 machine to get their time sync. All four Solaris 10 machines have essentially... (2 Replies)
Discussion started by: DeCoTwc
2 Replies

8. UNIX for Advanced & Expert Users

Sync Time/date with NTP server

Hello all, What would be the most convienint and proper way on syncing up the time and date on Solaris 8 servers with an NTP server? Any help would be appreciated. Thanks (2 Replies)
Discussion started by: Sunguy222
2 Replies

9. UNIX for Advanced & Expert Users

How To Provide Time Sync Using Nts-150 Time Server On Unix Network?

can anybody tel lme,how to instal NTS -150 on a unix network,it needs some patch to fetch time frm serve,,?? (2 Replies)
Discussion started by: pesty
2 Replies

10. UNIX for Dummies Questions & Answers

TIME SYNC (NTP)

Is there a utility which offers the ability to utilize NTP to sync time on machine. If so please point to man page or web site (3 Replies)
Discussion started by: SmartJuniorUnix
3 Replies
Login or Register to Ask a Question