Results 1 to 8 of 8

Thread: Ubuntu 10.04.4 Not Keeping Correct Time

  1. #1
    Join Date
    Mar 2006
    Location
    UK
    Beans
    103
    Distro
    Ubuntu 10.04 Lucid Lynx

    Ubuntu 10.04.4 Not Keeping Correct Time

    Sunday before last the clocks went forward 1 hour but the system time never updated and is always an hour behind. For instance it is 10:51 in the UK but the clock is still showing 09:51.

    I keep going into System > Administration > Time & Date to change the time forward an hour but it never seems to stay the correct time when I log into Ubuntu. Sometimes when I change the time it gives an authentication error.

    Pretty sure its not the CMOS battery as I fitted an new one last year. I have Ubuntu 12.04 installed on a test partition on this machine which still keeps perfect time.

  2. #2
    Join Date
    Mar 2006
    Location
    UK
    Beans
    103
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ubuntu 10.04.4 Not Keeping Correct Time

    Bump #1 - Still a problem.

  3. #3
    Join Date
    Feb 2007
    Location
    Mandurah Western Australi
    Beans
    209
    Distro
    Ubuntu

    Re: Ubuntu 10.04.4 Not Keeping Correct Time

    check your time zone, is it set to London or GMT?

  4. #4
    Join Date
    Nov 2010
    Location
    India
    Beans
    Hidden!

    Re: Ubuntu 10.04.4 Not Keeping Correct Time

    * time zone is one issue
    * change time from manual to automatic update by choosing a network server . that will update your time automatically .

    https://help.ubuntu.com/community/UbuntuTime

    use that link as reference .
    Dont miss anything even it is small. one small pin is enough to bring down a man.


  5. #5
    Join Date
    May 2007
    Location
    Leeds, UK
    Beans
    1,675
    Distro
    Ubuntu

    Re: Ubuntu 10.04.4 Not Keeping Correct Time

    Are you dual booting with Windows? This sounds like the old "Windows likes local time and Linux likes GMT" problem:

    http://mikebeach.org/2011/04/10/wind...m-time-issues/

  6. #6
    Join Date
    Mar 2006
    Location
    UK
    Beans
    103
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ubuntu 10.04.4 Not Keeping Correct Time

    Thank you for the responses, people.

    Quote Originally Posted by decrepit View Post
    check your time zone, is it set to London or GMT?
    It is set to Europe/London.

    Quote Originally Posted by raja.genupula View Post
    * time zone is one issue
    * change time from manual to automatic update by choosing a network server . that will update your time automatically .

    https://help.ubuntu.com/community/UbuntuTime

    use that link as reference .
    Forgot to mention that I tried this the other week too. I have installed ntp and selected 3 United Kingdom servers from the list. However it is still not showing the correct time. Restarting doesn't make a difference.

    Code:
    :~$ sudo dpkg-reconfigure tzdata
    [sudo] password for ****: 
    
    Current default time zone: 'Europe/London'
    Local time is now:      Wed Apr  4 21:40:28 BST 2012.
    Universal Time is now:  Wed Apr  4 20:40:28 UTC 2012.
    Should be 22:40.

    NTP is definitely running;

    Code:
    :~$ sudo /etc/init.d/ntp status
     * NTP server is running
    These are the servers that I'm using;
    Code:
    :~$ grep ^server /etc/ntp.conf or grep ^server /etc/ntp.conf.dhcp
    /etc/ntp.conf:server ntp2a.mcc.ac.uk 
    /etc/ntp.conf:server ntp2b.mcc.ac.uk
    /etc/ntp.conf:server ntp2.ja.net
    grep: or: No such file or directory
    grep: grep: No such file or directory
    grep: ^server: No such file or directory
    grep: /etc/ntp.conf.dhcp: No such file or directory
    Can't seem to reach any of the servers - firewall problem?

    Code:
    :~$ ntptrace ntp2b.mcc.ac.uk
    ntpq: write to dir.mcc.ac.uk failed: Operation not permitted

    Quote Originally Posted by r-senior View Post
    Are you dual booting with Windows? This sounds like the old "Windows likes local time and Linux likes GMT" problem:

    http://mikebeach.org/2011/04/10/wind...m-time-issues/
    I was dual-booting with Windows XP until February when I decided to replace it and install Fedora 16 and then I replaced Fedora 16 when Ubuntu 12.04 became beta in early March. No time problems until the other week though.

  7. #7
    Join Date
    Mar 2006
    Location
    UK
    Beans
    103
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ubuntu 10.04.4 Not Keeping Correct Time

    Nevermind. It's fixed.

    It was a firewall problem. Just added udp port 123 as a rule in my firewall and all is now working.

    Thanks everyone.

  8. #8
    Join Date
    Nov 2010
    Location
    London, UK
    Beans
    51
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ubuntu 10.04.4 Not Keeping Correct Time

    I wouldn't have thought a firewall issue! Learning something new everyday. My Mac updates time automatically, but I'm pretty sure port 123 isn't open. It must be some other protocol on mac.

Tags for this Thread

Bookmarks

Posting Permissions

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