How to solve the problem of ntp “Unable to contact time server” from KDE?
I want to set date and time automatically but this error appears when I try to .. I'm using openSUSE, I tried different servers but it didn't work either, help please!
It doesn't seem to be a network problem:
$ ping pool.ntp.org
64 bytes from 41.78.128.17: icmp_seq=1 ttl=41 time=260 ms
To the question of whether ntpd is installed and running:
$ ps -C ntpd
PID TTY TIME CMD
i.e. there's no ntpd process running.
$ rpm -qa | grep ntp
yast2-ntp-client-3.1.12-1.7.noarch
ntp-4.2.6p5-25.2.1.i586
Further information from the comments:
$ sudo ntpdate pool.ntp.org
25 Sep 19:41:51 ntpdate[3162]: no server suitable for synchronization found
networking kde opensuse ntp ntpd
add a comment |
I want to set date and time automatically but this error appears when I try to .. I'm using openSUSE, I tried different servers but it didn't work either, help please!
It doesn't seem to be a network problem:
$ ping pool.ntp.org
64 bytes from 41.78.128.17: icmp_seq=1 ttl=41 time=260 ms
To the question of whether ntpd is installed and running:
$ ps -C ntpd
PID TTY TIME CMD
i.e. there's no ntpd process running.
$ rpm -qa | grep ntp
yast2-ntp-client-3.1.12-1.7.noarch
ntp-4.2.6p5-25.2.1.i586
Further information from the comments:
$ sudo ntpdate pool.ntp.org
25 Sep 19:41:51 ntpdate[3162]: no server suitable for synchronization found
networking kde opensuse ntp ntpd
I don't use KDE or SUSE, so I might not be able to help, but -- can you runntpdate pool.ntp.org
? I suspect you're unable to get NTP traffic over the network.
– Jeff Schaller
Sep 25 '15 at 16:54
I triedsudo ntpdate pool.ntp.org
and the output was25 Sep 19:41:51 ntpdate[3162]: no server suitable for synchronization found
@JeffSchaller
– Ahmed Elsawy
Sep 25 '15 at 17:43
Seems that something is blocking NTP traffic (port 123) for you. Do you have a host-based firewall? A network-level firewall? You can also try the -v (verbose) and -u (unprivileged source port) options for more information.
– Jeff Schaller
Sep 25 '15 at 17:51
What version of opensuse?
– TopHat
May 8 '17 at 14:22
@TopHat Actually that was a long time ago. I don't use it anymore.
– Ahmed Elsawy
May 13 '17 at 4:19
add a comment |
I want to set date and time automatically but this error appears when I try to .. I'm using openSUSE, I tried different servers but it didn't work either, help please!
It doesn't seem to be a network problem:
$ ping pool.ntp.org
64 bytes from 41.78.128.17: icmp_seq=1 ttl=41 time=260 ms
To the question of whether ntpd is installed and running:
$ ps -C ntpd
PID TTY TIME CMD
i.e. there's no ntpd process running.
$ rpm -qa | grep ntp
yast2-ntp-client-3.1.12-1.7.noarch
ntp-4.2.6p5-25.2.1.i586
Further information from the comments:
$ sudo ntpdate pool.ntp.org
25 Sep 19:41:51 ntpdate[3162]: no server suitable for synchronization found
networking kde opensuse ntp ntpd
I want to set date and time automatically but this error appears when I try to .. I'm using openSUSE, I tried different servers but it didn't work either, help please!
It doesn't seem to be a network problem:
$ ping pool.ntp.org
64 bytes from 41.78.128.17: icmp_seq=1 ttl=41 time=260 ms
To the question of whether ntpd is installed and running:
$ ps -C ntpd
PID TTY TIME CMD
i.e. there's no ntpd process running.
$ rpm -qa | grep ntp
yast2-ntp-client-3.1.12-1.7.noarch
ntp-4.2.6p5-25.2.1.i586
Further information from the comments:
$ sudo ntpdate pool.ntp.org
25 Sep 19:41:51 ntpdate[3162]: no server suitable for synchronization found
networking kde opensuse ntp ntpd
networking kde opensuse ntp ntpd
edited Sep 25 '15 at 18:17
Jeff Schaller
43.4k1160140
43.4k1160140
asked Sep 23 '15 at 6:13
Ahmed ElsawyAhmed Elsawy
10315
10315
I don't use KDE or SUSE, so I might not be able to help, but -- can you runntpdate pool.ntp.org
? I suspect you're unable to get NTP traffic over the network.
– Jeff Schaller
Sep 25 '15 at 16:54
I triedsudo ntpdate pool.ntp.org
and the output was25 Sep 19:41:51 ntpdate[3162]: no server suitable for synchronization found
@JeffSchaller
– Ahmed Elsawy
Sep 25 '15 at 17:43
Seems that something is blocking NTP traffic (port 123) for you. Do you have a host-based firewall? A network-level firewall? You can also try the -v (verbose) and -u (unprivileged source port) options for more information.
– Jeff Schaller
Sep 25 '15 at 17:51
What version of opensuse?
– TopHat
May 8 '17 at 14:22
@TopHat Actually that was a long time ago. I don't use it anymore.
– Ahmed Elsawy
May 13 '17 at 4:19
add a comment |
I don't use KDE or SUSE, so I might not be able to help, but -- can you runntpdate pool.ntp.org
? I suspect you're unable to get NTP traffic over the network.
– Jeff Schaller
Sep 25 '15 at 16:54
I triedsudo ntpdate pool.ntp.org
and the output was25 Sep 19:41:51 ntpdate[3162]: no server suitable for synchronization found
@JeffSchaller
– Ahmed Elsawy
Sep 25 '15 at 17:43
Seems that something is blocking NTP traffic (port 123) for you. Do you have a host-based firewall? A network-level firewall? You can also try the -v (verbose) and -u (unprivileged source port) options for more information.
– Jeff Schaller
Sep 25 '15 at 17:51
What version of opensuse?
– TopHat
May 8 '17 at 14:22
@TopHat Actually that was a long time ago. I don't use it anymore.
– Ahmed Elsawy
May 13 '17 at 4:19
I don't use KDE or SUSE, so I might not be able to help, but -- can you run
ntpdate pool.ntp.org
? I suspect you're unable to get NTP traffic over the network.– Jeff Schaller
Sep 25 '15 at 16:54
I don't use KDE or SUSE, so I might not be able to help, but -- can you run
ntpdate pool.ntp.org
? I suspect you're unable to get NTP traffic over the network.– Jeff Schaller
Sep 25 '15 at 16:54
I tried
sudo ntpdate pool.ntp.org
and the output was 25 Sep 19:41:51 ntpdate[3162]: no server suitable for synchronization found
@JeffSchaller– Ahmed Elsawy
Sep 25 '15 at 17:43
I tried
sudo ntpdate pool.ntp.org
and the output was 25 Sep 19:41:51 ntpdate[3162]: no server suitable for synchronization found
@JeffSchaller– Ahmed Elsawy
Sep 25 '15 at 17:43
Seems that something is blocking NTP traffic (port 123) for you. Do you have a host-based firewall? A network-level firewall? You can also try the -v (verbose) and -u (unprivileged source port) options for more information.
– Jeff Schaller
Sep 25 '15 at 17:51
Seems that something is blocking NTP traffic (port 123) for you. Do you have a host-based firewall? A network-level firewall? You can also try the -v (verbose) and -u (unprivileged source port) options for more information.
– Jeff Schaller
Sep 25 '15 at 17:51
What version of opensuse?
– TopHat
May 8 '17 at 14:22
What version of opensuse?
– TopHat
May 8 '17 at 14:22
@TopHat Actually that was a long time ago. I don't use it anymore.
– Ahmed Elsawy
May 13 '17 at 4:19
@TopHat Actually that was a long time ago. I don't use it anymore.
– Ahmed Elsawy
May 13 '17 at 4:19
add a comment |
2 Answers
2
active
oldest
votes
Right now, your specified NTP Server works for me (Moldova and UK)
$ ntpdate -qu 41.78.128.17
server 41.78.128.17, stratum 2, offset 0.003619, delay 0.22984
25 Sep 19:26:35 ntpdate[13226]: adjust time server 41.78.128.17 offset 0.003619 sec
so it's not a problem with the server. At least, not obviously.
Remember that the pool servers are all run voluntarily and several IP address ranges are blocked by a large number of operators to mitigate the unreasonable hundreds or even thousands of queries per second from those blocks. Turkish Telecom is one that springs to mind, for example.
You might want to try different servers from the command line. Some suggestions are 1.uk.pool.ntp.org
, 2.uk.pool.ntp.org
, and 3.uk.pool.ntp.org
. Replace the uk
with your two-letter country code for more variety. For a specific instance that I know works, try my own server:
ntpdate -qu ntp.roaima.co.uk
If none of these work then you need to look to your own server for potential firewall rules blocking the traffic:
iptables -nvL
add a comment |
Forgive the tardy addition on this topic. Hopefully this helps someone at some point.
I'd like to add that additionally one can check to see if the ntpd service is running from the command line similar to below (for Linux distributions which utilize the System V init system and many others which provide emulation and/or aliasing of):
[user@host ~]$ sudo service ntpd status
ntpd (pid 8374) is running...
If running you can stop the service by:
[user@host ~]$ sudo service ntpd stop
Shutting down ntpd: [ OK ]
This was performed on the below Linux version:
[user@host ~]# cat /etc/version
2017 1 PCLinuxOS
With the below frontend/GUI versions:
[user@host ~]$ kde4-config --version
Qt: 4.8.7
KDE Development Platform: 4.14.18
kde4-config: 1.0
Note: you can use the --version parameter with any "standard" KDE program such as Konsole, Kate, Konqueror, etc. The same can be achieved in the GUI by selecting drop-down menu Help -> About KDE.
I ran into the same issue where the ntpd service being active on my workstation was preventing the gui from handshaking with the external public NTP service configured in the widget [KDE Date & Time Control Module] thus resulting in the error you (and I both) received.
New contributor
add a comment |
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',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f231479%2fhow-to-solve-the-problem-of-ntp-unable-to-contact-time-server-from-kde%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Right now, your specified NTP Server works for me (Moldova and UK)
$ ntpdate -qu 41.78.128.17
server 41.78.128.17, stratum 2, offset 0.003619, delay 0.22984
25 Sep 19:26:35 ntpdate[13226]: adjust time server 41.78.128.17 offset 0.003619 sec
so it's not a problem with the server. At least, not obviously.
Remember that the pool servers are all run voluntarily and several IP address ranges are blocked by a large number of operators to mitigate the unreasonable hundreds or even thousands of queries per second from those blocks. Turkish Telecom is one that springs to mind, for example.
You might want to try different servers from the command line. Some suggestions are 1.uk.pool.ntp.org
, 2.uk.pool.ntp.org
, and 3.uk.pool.ntp.org
. Replace the uk
with your two-letter country code for more variety. For a specific instance that I know works, try my own server:
ntpdate -qu ntp.roaima.co.uk
If none of these work then you need to look to your own server for potential firewall rules blocking the traffic:
iptables -nvL
add a comment |
Right now, your specified NTP Server works for me (Moldova and UK)
$ ntpdate -qu 41.78.128.17
server 41.78.128.17, stratum 2, offset 0.003619, delay 0.22984
25 Sep 19:26:35 ntpdate[13226]: adjust time server 41.78.128.17 offset 0.003619 sec
so it's not a problem with the server. At least, not obviously.
Remember that the pool servers are all run voluntarily and several IP address ranges are blocked by a large number of operators to mitigate the unreasonable hundreds or even thousands of queries per second from those blocks. Turkish Telecom is one that springs to mind, for example.
You might want to try different servers from the command line. Some suggestions are 1.uk.pool.ntp.org
, 2.uk.pool.ntp.org
, and 3.uk.pool.ntp.org
. Replace the uk
with your two-letter country code for more variety. For a specific instance that I know works, try my own server:
ntpdate -qu ntp.roaima.co.uk
If none of these work then you need to look to your own server for potential firewall rules blocking the traffic:
iptables -nvL
add a comment |
Right now, your specified NTP Server works for me (Moldova and UK)
$ ntpdate -qu 41.78.128.17
server 41.78.128.17, stratum 2, offset 0.003619, delay 0.22984
25 Sep 19:26:35 ntpdate[13226]: adjust time server 41.78.128.17 offset 0.003619 sec
so it's not a problem with the server. At least, not obviously.
Remember that the pool servers are all run voluntarily and several IP address ranges are blocked by a large number of operators to mitigate the unreasonable hundreds or even thousands of queries per second from those blocks. Turkish Telecom is one that springs to mind, for example.
You might want to try different servers from the command line. Some suggestions are 1.uk.pool.ntp.org
, 2.uk.pool.ntp.org
, and 3.uk.pool.ntp.org
. Replace the uk
with your two-letter country code for more variety. For a specific instance that I know works, try my own server:
ntpdate -qu ntp.roaima.co.uk
If none of these work then you need to look to your own server for potential firewall rules blocking the traffic:
iptables -nvL
Right now, your specified NTP Server works for me (Moldova and UK)
$ ntpdate -qu 41.78.128.17
server 41.78.128.17, stratum 2, offset 0.003619, delay 0.22984
25 Sep 19:26:35 ntpdate[13226]: adjust time server 41.78.128.17 offset 0.003619 sec
so it's not a problem with the server. At least, not obviously.
Remember that the pool servers are all run voluntarily and several IP address ranges are blocked by a large number of operators to mitigate the unreasonable hundreds or even thousands of queries per second from those blocks. Turkish Telecom is one that springs to mind, for example.
You might want to try different servers from the command line. Some suggestions are 1.uk.pool.ntp.org
, 2.uk.pool.ntp.org
, and 3.uk.pool.ntp.org
. Replace the uk
with your two-letter country code for more variety. For a specific instance that I know works, try my own server:
ntpdate -qu ntp.roaima.co.uk
If none of these work then you need to look to your own server for potential firewall rules blocking the traffic:
iptables -nvL
answered Sep 25 '15 at 18:32
roaimaroaima
45.6k757124
45.6k757124
add a comment |
add a comment |
Forgive the tardy addition on this topic. Hopefully this helps someone at some point.
I'd like to add that additionally one can check to see if the ntpd service is running from the command line similar to below (for Linux distributions which utilize the System V init system and many others which provide emulation and/or aliasing of):
[user@host ~]$ sudo service ntpd status
ntpd (pid 8374) is running...
If running you can stop the service by:
[user@host ~]$ sudo service ntpd stop
Shutting down ntpd: [ OK ]
This was performed on the below Linux version:
[user@host ~]# cat /etc/version
2017 1 PCLinuxOS
With the below frontend/GUI versions:
[user@host ~]$ kde4-config --version
Qt: 4.8.7
KDE Development Platform: 4.14.18
kde4-config: 1.0
Note: you can use the --version parameter with any "standard" KDE program such as Konsole, Kate, Konqueror, etc. The same can be achieved in the GUI by selecting drop-down menu Help -> About KDE.
I ran into the same issue where the ntpd service being active on my workstation was preventing the gui from handshaking with the external public NTP service configured in the widget [KDE Date & Time Control Module] thus resulting in the error you (and I both) received.
New contributor
add a comment |
Forgive the tardy addition on this topic. Hopefully this helps someone at some point.
I'd like to add that additionally one can check to see if the ntpd service is running from the command line similar to below (for Linux distributions which utilize the System V init system and many others which provide emulation and/or aliasing of):
[user@host ~]$ sudo service ntpd status
ntpd (pid 8374) is running...
If running you can stop the service by:
[user@host ~]$ sudo service ntpd stop
Shutting down ntpd: [ OK ]
This was performed on the below Linux version:
[user@host ~]# cat /etc/version
2017 1 PCLinuxOS
With the below frontend/GUI versions:
[user@host ~]$ kde4-config --version
Qt: 4.8.7
KDE Development Platform: 4.14.18
kde4-config: 1.0
Note: you can use the --version parameter with any "standard" KDE program such as Konsole, Kate, Konqueror, etc. The same can be achieved in the GUI by selecting drop-down menu Help -> About KDE.
I ran into the same issue where the ntpd service being active on my workstation was preventing the gui from handshaking with the external public NTP service configured in the widget [KDE Date & Time Control Module] thus resulting in the error you (and I both) received.
New contributor
add a comment |
Forgive the tardy addition on this topic. Hopefully this helps someone at some point.
I'd like to add that additionally one can check to see if the ntpd service is running from the command line similar to below (for Linux distributions which utilize the System V init system and many others which provide emulation and/or aliasing of):
[user@host ~]$ sudo service ntpd status
ntpd (pid 8374) is running...
If running you can stop the service by:
[user@host ~]$ sudo service ntpd stop
Shutting down ntpd: [ OK ]
This was performed on the below Linux version:
[user@host ~]# cat /etc/version
2017 1 PCLinuxOS
With the below frontend/GUI versions:
[user@host ~]$ kde4-config --version
Qt: 4.8.7
KDE Development Platform: 4.14.18
kde4-config: 1.0
Note: you can use the --version parameter with any "standard" KDE program such as Konsole, Kate, Konqueror, etc. The same can be achieved in the GUI by selecting drop-down menu Help -> About KDE.
I ran into the same issue where the ntpd service being active on my workstation was preventing the gui from handshaking with the external public NTP service configured in the widget [KDE Date & Time Control Module] thus resulting in the error you (and I both) received.
New contributor
Forgive the tardy addition on this topic. Hopefully this helps someone at some point.
I'd like to add that additionally one can check to see if the ntpd service is running from the command line similar to below (for Linux distributions which utilize the System V init system and many others which provide emulation and/or aliasing of):
[user@host ~]$ sudo service ntpd status
ntpd (pid 8374) is running...
If running you can stop the service by:
[user@host ~]$ sudo service ntpd stop
Shutting down ntpd: [ OK ]
This was performed on the below Linux version:
[user@host ~]# cat /etc/version
2017 1 PCLinuxOS
With the below frontend/GUI versions:
[user@host ~]$ kde4-config --version
Qt: 4.8.7
KDE Development Platform: 4.14.18
kde4-config: 1.0
Note: you can use the --version parameter with any "standard" KDE program such as Konsole, Kate, Konqueror, etc. The same can be achieved in the GUI by selecting drop-down menu Help -> About KDE.
I ran into the same issue where the ntpd service being active on my workstation was preventing the gui from handshaking with the external public NTP service configured in the widget [KDE Date & Time Control Module] thus resulting in the error you (and I both) received.
New contributor
New contributor
answered 11 mins ago
James SaundersJames Saunders
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f231479%2fhow-to-solve-the-problem-of-ntp-unable-to-contact-time-server-from-kde%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I don't use KDE or SUSE, so I might not be able to help, but -- can you run
ntpdate pool.ntp.org
? I suspect you're unable to get NTP traffic over the network.– Jeff Schaller
Sep 25 '15 at 16:54
I tried
sudo ntpdate pool.ntp.org
and the output was25 Sep 19:41:51 ntpdate[3162]: no server suitable for synchronization found
@JeffSchaller– Ahmed Elsawy
Sep 25 '15 at 17:43
Seems that something is blocking NTP traffic (port 123) for you. Do you have a host-based firewall? A network-level firewall? You can also try the -v (verbose) and -u (unprivileged source port) options for more information.
– Jeff Schaller
Sep 25 '15 at 17:51
What version of opensuse?
– TopHat
May 8 '17 at 14:22
@TopHat Actually that was a long time ago. I don't use it anymore.
– Ahmed Elsawy
May 13 '17 at 4:19