+ Reply to Thread
Results 1 to 8 of 8

Thread: Linux / VMWare time out of synch

  Share/Bookmark
  1. #1

    Reputation

    Join Date
    Jan 2007
    Location
    Manchester, UK
    Posts
    121
    Thank Post
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Linux / VMWare time out of synch

    Hi, we have VMWare sat on Ubuntu Linux that was set up by an external company. Now it runs fine the main problem we have is that the time on the virtual Windows Server is set to sync with Linux (somehow?) and is running and hour or so out. This means our Censornet box won't authenticate pupils which isn't a bad thing but this in turn makes the teachers whinge even more than usual!

    I am not a Linux user so I am completely lost here, anyone have ideas on where the time will be synching and what do I need to do. I am phoning the compnay later but I know the techie has left that set it up and I have a feeling he has done it as an experiment!!

  2. #2

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    jinnantonnix's Avatar
    Join Date
    Nov 2007
    Location
    Wales
    Posts
    1,443
    Blog Entries
    7
    Thank Post
    44
    Thanked 211 Times in 174 Posts
    Rep Power
    55

    Default

    Quote Originally Posted by markman View Post
    Hi, we have VMWare sat on Ubuntu Linux that was set up by an external company. Now it runs fine the main problem we have is that the time on the virtual Windows Server is set to sync with Linux (somehow?) and is running and hour or so out. This means our Censornet box won't authenticate pupils which isn't a bad thing but this in turn makes the teachers whinge even more than usual!

    I am not a Linux user so I am completely lost here, anyone have ideas on where the time will be synching and what do I need to do. I am phoning the compnay later but I know the techie has left that set it up and I have a feeling he has done it as an experiment!!

    First, make sure all your times zones are sensible.

    VMWare virtual machines sync their time correctly if they have the VMWare tools installed. Make sure these tools are installed on the virtual Windows server.

    Another option is setting up a time server and getting the virtual machines to get their time from this.
    Last edited by jinnantonnix; 10-09-2009 at 09:02 AM.

  3. #3

    Reputation Reputation Reputation Reputation Reputation
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,124
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    20

    Default

    Use NTP to configure time server. Point the linux server to a Windows DC and the time will be synced between the two, failing that, there are numerous public NTP servers.

  4. #4

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    2,616
    Thank Post
    132
    Thanked 306 Times in 246 Posts
    Rep Power
    86

    Default

    Is Censornet grabbing authentication from the windows virtual server? i.e is the virtual server a dc?

    If it is (and it's your only dc) be wary about suddenly jumping to the correct time - you'll break people's ability to log in until the client machines sync their time with their default clock source (the dc).

  5. #5


    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    2,489
    Thank Post
    272
    Thanked 342 Times in 259 Posts
    Rep Power
    78

  6. Thanks to tom_newton from:

    markman (11-09-2009)

  7. #6

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    10,833
    Blog Entries
    1
    Thank Post
    97
    Thanked 392 Times in 337 Posts
    Rep Power
    101

    Default

    It sounds like the Linux installation has been told that the BIOS time is set to UTC and is making it's own adjustments based on the timezone it's in. This is fine for Linux however as the machine also runs Windows, Windows expects the BIOS to be set to the local time. Thus the mess. There is no way to educate Windows about the situation, it's quite ridged about this requirement. Thus you need to fudge the situation on the Linux side.

    Off the top of my head, I'd expect there is a /etc/init.d/clock script that refers to /etc/conf.d/clock that sets the situation up on the Linux side. If so, can you post the contents of both (assuming the answer isn't blindly obvious from the contents of said files).

  8. #7

    Reputation

    Join Date
    Jan 2007
    Location
    Manchester, UK
    Posts
    121
    Thank Post
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    The box is a DC and Censornet does authenticate users from it.

    Cheers Geoff, I'' have a look today.

  9. #8

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    10,833
    Blog Entries
    1
    Thank Post
    97
    Thanked 392 Times in 337 Posts
    Rep Power
    101

    Default

    Ok, I've had a look at one of the ubuntu servers here at work. The setting you need to alter is in /etc/default/rcS. Change:

    Code:
    UTC=yes
    
    to
    Code:
    UTC=no
    
    and that should sort things out for you.

  10. Thanks to Geoff from:

    markman (11-09-2009)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. sub folder synch problem
    By firefighting in forum Netbooks, PDA and Phones
    Replies: 1
    Last Post: 28-06-2009, 11:27 PM
  2. Mobile Phones and Exchange Server Synch Problems
    By wellscs in forum Windows Server 2000/2003
    Replies: 0
    Last Post: 03-02-2009, 09:04 AM
  3. Replies: 5
    Last Post: 21-01-2009, 08:58 AM
  4. VMWare and VMWare Player Licensing
    By Ric_ in forum General Chat
    Replies: 7
    Last Post: 12-01-2006, 03:32 PM
  5. Used Linux for first time today
    By OverWorked in forum *nix
    Replies: 12
    Last Post: 27-11-2005, 06:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts