# SLES 11 is not syncing with NTP Server

**URL:** <https://forums.suse.com/t/sles-11-is-not-syncing-with-ntp-server/26422>\
**Category:** SLES Configure-Administer\
**Created:** [November 26, 2014, 7:34pm UTC](https://forums.suse.com/t/sles-11-is-not-syncing-with-ntp-server/26422 "2014-11-26T19:34:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![kgpunix](https://avatars.discourse-cdn.com/v4/letter/k/a5b964/32.png) [@kgpunix](https://forums.suse.com/u/kgpunix)\
**Post date:** [November 26, 2014, 7:34pm UTC](https://forums.suse.com/t/sles-11-is-not-syncing-with-ntp-server/26422/1 "2014-11-26T19:34:24Z")

</div>

Hi All,

We are running SLES 11 on VMWare . It is not syncing with NTP Server .I have tried to update the Time manually with NTP Server and it worked for some time .After that the time is getting delayed on the Server. I have tried to restart the NTP Service and synced the system clock to HWclock also. Hw clock is getting delayed after some time.

Please suggest the solution and steps to resolve the issue…

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [November 26, 2014, 8:06pm UTC](https://forums.suse.com/t/sles-11-is-not-syncing-with-ntp-server/26422/2 "2014-11-26T20:06:52Z")

</div>

> [@](#):
>
> On Wed 26 Nov 2014 05:44:01 PM CST, kgpunix wrote:
> 
> Hi All,
> 
> We are running SLES 11 on VMWare . It is not syncing with NTP Server .I  
> have tried to update the Time manually with NTP Server and it worked for  
> some time .After that the time is getting delayed on the Server. I have  
> tried to restart the NTP Service and synced the system clock to HWclock  
> also. Hw clock is getting delayed after some time.
> 
> Please suggest the solution and steps to resolve the issue…

Hi  
Seeing traffic on port 123? System up to date? Firewall port open?

There was a vulnerability for ntp services relating to DDOS, have you  
tweaked the config for this?  
[http://lists.opensuse.org/opensuse-security-announce/2014-01/msg00005.html](http://lists.opensuse.org/opensuse-security-announce/2014-01/msg00005.html)

–  
Cheers Malcolm Â°Â¿Â° LFCS, SUSE Knowledge Partner (Linux Counter #276890)  
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![kgpunix](https://avatars.discourse-cdn.com/v4/letter/k/a5b964/32.png) [@kgpunix](https://forums.suse.com/u/kgpunix)\
**Post date:** [November 26, 2014, 8:48pm UTC](https://forums.suse.com/t/sles-11-is-not-syncing-with-ntp-server/26422/3 "2014-11-26T20:48:23Z")

</div>

How to check the traffic and firewall port open ? I see another server in the same network is working fine .

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [November 26, 2014, 9:38pm UTC](https://forums.suse.com/t/sles-11-is-not-syncing-with-ntp-server/26422/4 "2014-11-26T21:38:31Z")

</div>

> [@](#):
>
> On Wed 26 Nov 2014 06:54:01 PM CST, kgpunix wrote:
> 
> How to check the traffic and firewall port open ? I see another server  
> in the same network is working fine .

Hi  
If you tail /var/log/messages you should see ntp traffic?

To check the firewall, YaST → Firewall → Allowed services, if your  
firewall is on, then you need to ensure it’s added.

Now it maybe that your firewall is meant to be off or on?

Run as root user, should show if it’s active or not…

```auto
rcSuSEfirewall2 status
```

–  
Cheers Malcolm Â°Â¿Â° LFCS, SUSE Knowledge Partner (Linux Counter #276890)  
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [November 27, 2014, 10:51am UTC](https://forums.suse.com/t/sles-11-is-not-syncing-with-ntp-server/26422/5 "2014-11-27T10:51:54Z")

</div>

Hi kgpunix,

[QUOTE=kgpunix;25114]Hi All,

We are running SLES 11 on VMWare . It is not syncing with NTP Server .I have tried to update the Time manually with NTP Server and it worked for some time .After that the time is getting delayed on the Server. I have tried to restart the NTP Service and synced the system clock to HWclock also. Hw clock is getting delayed after some time.

Please suggest the solution and steps to resolve the issue…[/QUOTE]

it’d be helpful to see how you have set up NTP on your server. Could you please post the console log of running “rcntp status”, “cat /etc/ntp.conf”, “grep NTP /etc/sysconfig/network/config” and “chkconfig ntp”?

Regards,  
Jens

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [November 28, 2014, 10:51am UTC](https://forums.suse.com/t/sles-11-is-not-syncing-with-ntp-server/26422/6 "2014-11-28T10:51:23Z")

</div>

On 26/11/2014 18:54, kgpunix wrote:  
[color=blue]

> How to check the traffic and firewall port open ? I see another server  
> in the same network is working fine .[/color]

Is the server listening on UDP port 123? Please post the output from  
“netstat -an | grep :123”.

## HTH.

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.

---

<div class="post-metadata">

**Author:** ![kgpunix](https://avatars.discourse-cdn.com/v4/letter/k/a5b964/32.png) [@kgpunix](https://forums.suse.com/u/kgpunix)\
**Post date:** [November 28, 2014, 9:27pm UTC](https://forums.suse.com/t/sles-11-is-not-syncing-with-ntp-server/26422/7 "2014-11-28T21:27:32Z")

</div>

[QUOTE=malcolmlewis;25117]Hi  
If you tail /var/log/messages you should see ntp traffic?

To check the firewall, YaST → Firewall → Allowed services, if your  
firewall is on, then you need to ensure it’s added.

Now it maybe that your firewall is meant to be off or on?

Run as root user, should show if it’s active or not…

```auto
rcSuSEfirewall2 status
```

–  
Cheers Malcolm Â°Â¿Â° LFCS, SUSE Knowledge Partner (Linux Counter #276890)  
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks![/QUOTE]

Firewall is not enabled and syslog is not working …

root@lap15:~# /etc/init.d/syslog status  
/etc/syslog-ng/syslog-ng.conf does not exist  
root@lap15:~# rcSuSEfirewall2 status  
Checking the status of SuSEfirewall2 unused  
root@lap15:~#

---

<div class="post-metadata">

**Author:** ![kgpunix](https://avatars.discourse-cdn.com/v4/letter/k/a5b964/32.png) [@kgpunix](https://forums.suse.com/u/kgpunix)\
**Post date:** [November 28, 2014, 9:30pm UTC](https://forums.suse.com/t/sles-11-is-not-syncing-with-ntp-server/26422/8 "2014-11-28T21:30:48Z")

</div>

Server listening on UDP port 123.

root@lap15:~# netstat -an | grep :123|grep -i udp  
udp 0 0 214.166.92.23:123 0.0.0.0:\*  
udp 0 0 127.0.0.2:123 0.0.0.0:\*  
udp 0 0 127.0.0.1:123 0.0.0.0:\*  
udp 0 0 0.0.0.0:123 0.0.0.0:\*  
udp 0 0 fe80::250:56ff:fe91:123 :::\*  
udp 0 0 ::1:123 :::\*  
udp 0 0 :::123 :::\*  
root@lap15:~#

---

<div class="post-metadata">

**Author:** ![kgpunix](https://avatars.discourse-cdn.com/v4/letter/k/a5b964/32.png) [@kgpunix](https://forums.suse.com/u/kgpunix)\
**Post date:** [November 28, 2014, 9:36pm UTC](https://forums.suse.com/t/sles-11-is-not-syncing-with-ntp-server/26422/9 "2014-11-28T21:36:38Z")

</div>

# root@lap15:~# rcntp status remote refid st t when poll reach delay offset jitter

[ntpfcs.aser.com](http://ntpfcs.aser.com) 130.207.244.240 2 u 42 64 377 0.225 765426. 15644.8

Checking for network time protocol daemon (NTPD): running  
root@lap15:~#

root@pbglap00115:~# cat /etc/ntp.conf|grep -v ^#

driftfile /var/lib/ntp/drift/ntp.drift

logfile /var/log/ntp

server 214.166.90.36  
root@lap15:~#

root@lap15:~# grep NTP /etc/sysconfig/network/config

# Defines the NTP merge policy as documented in netconfig(8) manual page.

# Set to “” to disable NTP configuration.

NETCONFIG\_NTP\_POLICY=“auto”

# List of NTP servers.

NETCONFIG\_NTP\_STATIC\_SERVERS=“”  
root@lap15:~#

root@lap15:~# chkconfig ntp  
ntp on  
root@lap15:~#

---

<div class="post-metadata">

**Author:** ![kgpunix](https://avatars.discourse-cdn.com/v4/letter/k/a5b964/32.png) [@kgpunix](https://forums.suse.com/u/kgpunix)\
**Post date:** [November 29, 2014, 4:44pm UTC](https://forums.suse.com/t/sles-11-is-not-syncing-with-ntp-server/26422/10 "2014-11-29T16:44:09Z")

</div>

ntpdc -c sysinfo  
system peer: 0.0.0.0  
system peer mode: unspec  
leap indicator: 11  
stratum: 16  
precision: -20  
root distance: 0.00000 s  
root dispersion: 0.00436 s  
reference ID: [73.78.73.84]  
reference time: 00000000.00000000 Thu, Feb 7 2036 1:28:16.000  
system flags: auth monitor ntp kernel stats  
jitter: 0.000000 s  
stability: 0.000 ppm  
broadcastdelay: 0.003998 s  
authdelay: 0.000000 s

---

<div class="post-metadata">

**Author:** ![kgpunix](https://avatars.discourse-cdn.com/v4/letter/k/a5b964/32.png) [@kgpunix](https://forums.suse.com/u/kgpunix)\
**Post date:** [December 6, 2014, 1:35am UTC](https://forums.suse.com/t/sles-11-is-not-syncing-with-ntp-server/26422/11 "2014-12-06T01:35:19Z")

</div>

Issue resolved after rebooting the Server. Server was up and running 900+ days …
