Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: System Clock

  1. #1
    Join Date
    Oct 2008
    Location
    Santiago, Chile
    Posts
    655

    Default System Clock

    I dont know why but my system time clock is always gets behind the real time.

    When i go to Yast-Date and Time, and then select Synchronize with NTP server, the time gets set correctly, after some time it just gets behind again.
    Code:
    dhcppc0:/home/gabriel # hwclock
    mi 14 oct 2009 13:32:38 CLST  -0.323139 segundos
    dhcppc0:/home/gabriel # hwclock
    mi 14 oct 2009 13:38:16 CLST  -0.106382 segundos

    This was before and after synchronizing the time with NTP


    How could i fix this ?
    Thanks

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,795

    Default Re: System Clock

    And do you have ntp running?
    Henk van Velden

  3. #3
    Join Date
    Oct 2008
    Location
    Santiago, Chile
    Posts
    655

    Default Re: System Clock

    Yes i have it running, i think

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,795

    Default Re: System Clock

    This is a bit vague

    Do you mean that you do not know how to find out, or that you are not at the system atm?

    To check on my system:
    Code:
    henk@boven:~> ps -ef | grep ntp
    henk      1324  1314  0 19:57 pts/1    00:00:00 grep ntp
    ntp       3588     1  0 09:49 ?        00:00:00 /usr/sbin/ntpd -p /var/run/ntp/ntpd.pid -u ntp -i /var/lib/ntp
    henk@boven:~>
    And to switch on: YaST > Network services > NTP. It seems that you have already an NTP server configured, else you could not synchronize, but it also seems that the ntp client is not doing wehat it should do. So please check.
    Henk van Velden

  5. #5
    Join Date
    Oct 2008
    Location
    Santiago, Chile
    Posts
    655

    Default Re: System Clock

    Code:
    dhcppc0:/home/gabriel # ps -ef | grep ntp
    ntp      15862     1  0 13:37 ?        00:00:00 /usr/sbin/ntpd -p /var/run/ntp/ntpd.pid -g -u ntp:ntp -i /var/lib/ntp -c /etc/ntp.conf
    root     17147 17124  0 15:11 pts/3    00:00:00 grep ntp

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,795

    Default Re: System Clock

    Hm, seems to be there.
    Henk van Velden

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,336
    Blog Entries
    15

    Default Re: System Clock

    Quote Originally Posted by assas1n
    Code:
    --------------------
    dhcppc0:/home/gabriel # ps -ef | grep ntp
    ntp 15862 1 0 13:37 ? 00:00:00 /usr/sbin/ntpd
    -p /var/run/ntp/ntpd.pid -g -u ntp:ntp -i /var/lib/ntp -c /etc/ntp.conf
    root 17147 17124 0 15:11 pts/3 00:00:00 grep ntp
    --------------------
    Hi
    In the ntp setup, did you select external servers to obtain the time
    from (and run the test)? Also what version of openSUSE are you running?

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 5 days 1:30, 2 users, load average: 0.16, 0.10, 0.03
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18


  8. #8
    Join Date
    Oct 2008
    Location
    Santiago, Chile
    Posts
    655

    Default Re: System Clock

    I had es.pool.ntp.org as my external server, changed it to cl.pool.ntp.org (cl stand for chile, where im from)
    Maybe this solves it, just need to wait


    Im using Opensuse 11.1 x86_64
    KDE 4.2.4

  9. #9
    propman NNTP User

    Default Re: System Clock

    On 10/14/2009 09:46 AM, assas1n wrote:
    >
    > I dont know why but my system time clock is always gets behind the real
    > time.
    >
    > When i go to Yast-Date and Time, and then select Synchronize with NTP
    > server, the time gets set correctly, after some time it just gets behind
    > again.


    Maybe time to replace your onboard battery....irregular time function is
    common for dying battery.



  10. #10

    Default Re: System Clock

    Try deleting the file /etc/adjtime. Read this.

Page 1 of 2 12 LastLast

Posting Permissions

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