when chrony sync time wtih local,why the Last Sample is not zero?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite












Linux version:Centos 7



chrony version :3.2



chrony.conf:




driftfile /var/lib/chrony/drift



local stratum 10



server localhost



rtcsync



makestep 1.0 3



logdir /var/log/chrony



allow





this picture is about chrony,why the chrony's Last sample is not zero?



chronyc sources -v




this picture is about ntpd,why the ntpd's delay offset is zero



ntpq -p










share|improve this question



























    up vote
    -1
    down vote

    favorite












    Linux version:Centos 7



    chrony version :3.2



    chrony.conf:




    driftfile /var/lib/chrony/drift



    local stratum 10



    server localhost



    rtcsync



    makestep 1.0 3



    logdir /var/log/chrony



    allow





    this picture is about chrony,why the chrony's Last sample is not zero?



    chronyc sources -v




    this picture is about ntpd,why the ntpd's delay offset is zero



    ntpq -p










    share|improve this question

























      up vote
      -1
      down vote

      favorite









      up vote
      -1
      down vote

      favorite











      Linux version:Centos 7



      chrony version :3.2



      chrony.conf:




      driftfile /var/lib/chrony/drift



      local stratum 10



      server localhost



      rtcsync



      makestep 1.0 3



      logdir /var/log/chrony



      allow





      this picture is about chrony,why the chrony's Last sample is not zero?



      chronyc sources -v




      this picture is about ntpd,why the ntpd's delay offset is zero



      ntpq -p










      share|improve this question















      Linux version:Centos 7



      chrony version :3.2



      chrony.conf:




      driftfile /var/lib/chrony/drift



      local stratum 10



      server localhost



      rtcsync



      makestep 1.0 3



      logdir /var/log/chrony



      allow





      this picture is about chrony,why the chrony's Last sample is not zero?



      chronyc sources -v




      this picture is about ntpd,why the ntpd's delay offset is zero



      ntpq -p







      linux ntpd chrony






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 10 at 15:17









      Rui F Ribeiro

      36.8k1273117




      36.8k1273117










      asked Sep 10 at 14:35









      nbamboo

      11




      11




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Have you tried replace server localhost with server pool.ntp.org, or some other server in chrony.conf ?






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f468045%2fwhen-chrony-sync-time-wtih-local-why-the-last-sample-is-not-zero%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Have you tried replace server localhost with server pool.ntp.org, or some other server in chrony.conf ?






            share|improve this answer
























              up vote
              0
              down vote













              Have you tried replace server localhost with server pool.ntp.org, or some other server in chrony.conf ?






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                Have you tried replace server localhost with server pool.ntp.org, or some other server in chrony.conf ?






                share|improve this answer












                Have you tried replace server localhost with server pool.ntp.org, or some other server in chrony.conf ?







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Sep 11 at 9:15









                Alexander

                83413




                83413



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f468045%2fwhen-chrony-sync-time-wtih-local-why-the-last-sample-is-not-zero%23new-answer', 'question_page');

                    );

                    Post as a guest