<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>219035</bug_id>
          
          <creation_ts>2009-12-17 10:09:09 +0000</creation_ts>
          <short_desc>ntp not working for date/time</short_desc>
          <delta_ts>2012-12-04 20:56:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>kcm_clock</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>178968</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ruchir Brahmbhatt">ruchir.brahmbhatt</reporter>
          <assigned_to name="Paul Campbell">paul</assigned_to>
          <cc>cannewilson</cc>
    
    <cc>chealer</cc>
    
    <cc>gokcen.eraslan</cc>
    
    <cc>jreznik</cc>
    
    <cc>kde-bugs</cc>
    
    <cc>philipp_foerster</cc>
    
    <cc>rad.n</cc>
    
    <cc>rd_ree</cc>
    
    <cc>ydanila</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>881239</commentid>
    <comment_count>0</comment_count>
    <who name="Ruchir Brahmbhatt">ruchir.brahmbhatt</who>
    <bug_when>2009-12-17 10:09:09 +0000</bug_when>
    <thetext>Version:           1.0 (using Devel)
Installed from:    Compiled sources

Qt: 4.6.1
KDE Development Platform: 4.3.82 (KDE 4.3.82 (KDE 4.4 &gt;= 20091211)) &quot;release 1&quot;
System Settings: 1.0

Steps to reproduce:
1. Open systemsettings.
2. Select Date/time.
3. Go to NTP tab.
4. Select &quot;Set date/time automatically&quot;.
5. Click ok.

Expected result:
Settings should be saved and date/time should start synchronizing from ntp servers.

Actual result:
However we can ping time servers from shell, it gives error that can not connect with time server and doesn&apos;t save this setting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>905051</commentid>
    <comment_count>1</comment_count>
    <who name="Anne Wilson">cannewilson</who>
    <bug_when>2010-01-25 14:20:00 +0000</bug_when>
    <thetext>Possibly related to this -

My router makes regular NTP checks.  I wanted to set this laptop to sync with 
the router, so attempted to activate NTP in SystemSettings.  First, I tried 
setting it to my router&apos;s IP.  I was asked for the root password, twice, then 
told that it could not authenticate.  While it didn&apos;t seem likely that it 
would affect authentication, I then tried setting it to the Europe ntp pool.  
Again, I was ask for the root password twice, and again told that it could not 
authenticate.  On running systemsettings as root the setting appeared to be accepted.  However, checking later, I found that NTP was again disabled in systemsettings.

A short discussion of this can be seen at http://lists.fedoraproject.org/pipermail/kde/2010-January/005443.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>917545</commentid>
    <comment_count>2</comment_count>
    <who name="Yakov">ydanila</who>
    <bug_when>2010-02-15 19:18:31 +0000</bug_when>
    <thetext>It doesn&apos;t works for me too. Today I had updated KDE to last factory version 4.4.00 release 223. I tried several WORKING! ntp servers, but it always says that it coudn&apos;t connect server.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>917551</commentid>
    <comment_count>3</comment_count>
    <who name="Yakov">ydanila</who>
    <bug_when>2010-02-15 19:20:49 +0000</bug_when>
    <thetext>It doesn&apos;t works for me too. Today I had updated KDE to last factory version 4.4.00 release 223. I tried several WORKING! ntp servers, but it always says that it coudn&apos;t connect server.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>928292</commentid>
    <comment_count>4</comment_count>
    <who name="Philipp">philipp_foerster</who>
    <bug_when>2010-03-04 14:59:04 +0000</bug_when>
    <thetext>still not working in 4.4.1
i get the same errors</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>928298</commentid>
    <comment_count>5</comment_count>
    <who name="Ruchir Brahmbhatt">ruchir.brahmbhatt</who>
    <bug_when>2010-03-04 15:08:57 +0000</bug_when>
    <thetext>Yeah I also see it on 4.4.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>966864</commentid>
    <comment_count>6</comment_count>
    <who name="Philippe Cloutier">chealer</who>
    <bug_when>2010-05-25 05:07:42 +0000</bug_when>
    <thetext>Could it be that you don&apos;t have ntpdate? kcm_clock seems to depend on ntpdate, which is not enforced by dependencies at least on Debian (and the error message certainly doesn&apos;t suggest that&apos;s the issue: &quot;Unable to contact time server: .&quot;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>966865</commentid>
    <comment_count>7</comment_count>
    <who name="Philippe Cloutier">chealer</who>
    <bug_when>2010-05-25 05:10:19 +0000</bug_when>
    <thetext>To clarify, this seems to be the new version of #142815 Harald hints to.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>966882</commentid>
    <comment_count>8</comment_count>
    <who name="Ruchir Brahmbhatt">ruchir.brahmbhatt</who>
    <bug_when>2010-05-25 07:04:14 +0000</bug_when>
    <thetext>I see strange behavior on 4.4.3. Now it no longer gives error but the option is automatically unchecked after some time. I have ntpdate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1002060</commentid>
    <comment_count>9</comment_count>
    <who name="Philipp Schmidt">kde-bugs</who>
    <bug_when>2010-08-12 11:29:18 +0000</bug_when>
    <thetext>Problem still exists in 4.5.0. It gives me an Errormessage stating
&gt; &quot;Unable to contact time server: .&quot;

According to the sourcecode there should be a mention of the tried server before the dot (would make sense), so maybe the server is not read from the input field?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1002087</commentid>
    <comment_count>10</comment_count>
    <who name="Philipp Schmidt">kde-bugs</who>
    <bug_when>2010-08-12 12:33:32 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; Problem still exists in 4.5.0. It gives me an Errormessage stating
&gt; &gt; &quot;Unable to contact time server: .&quot;
&gt; 
&gt; According to the sourcecode there should be a mention of the tried server
&gt; before the dot (would make sense), so maybe the server is not read from the
&gt; input field?

After further study of the code: My error was a simple one. The module relies on ntpdate or rdate to update the time. If neither is found in the System one would expect to get a message stating that fact, instead we get none. So after installing ntpdate and restarting Systemsettings it works for me.

Regardless of distributors who should add a dependancy on either ntpdate or rdate it would still be nice to have that information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1010721</commentid>
    <comment_count>11</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2010-08-28 22:34:00 +0000</bug_when>
    <thetext>*** Bug 249267 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1321107</commentid>
    <comment_count>12</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2012-12-04 20:56:31 +0000</bug_when>
    <thetext>This report seems to be fill with different problems.

That &quot;Set date and time automatically&quot; option will be grayed out when neither ntpdate nor rdate are available in your system, and if you move mouse above that grayed out option, there will be a tooltip explaining why.

As for the &quot;Unable to contact time server&quot; error, I just can&apos;t reproduce it following steps in this report. The only way for me to reproduce that error is following https://bugs.kde.org/show_bug.cgi?id=178968#c12 .

So I close this report as duplicate.

*** This bug has been marked as a duplicate of bug 178968 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>