You are not logged in.

#1 2014-10-24 18:49:02

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

NTP Log Errors

So I just installed NTP on my server and verified everything is working as expected and please keep in mind I am very green w/ systemd:

[root@ion101 ~]# systemctl status ntpd.service
● ntpd.service - Network Time Service
   Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
   Active: active (running) since Fri 2014-10-24 18:36:04 UTC; 7min ago
  Process: 196 ExecStart=/usr/bin/ntpd -g -u ntp:ntp (code=exited, status=0/SUCCESS)
 Main PID: 203 (ntpd)
   CGroup: /system.slice/ntpd.service
           └─203 /usr/bin/ntpd -g -u ntp:ntp

Oct 24 18:36:04 ion101.orl.voxeo.net ntpd[203]: bind(21) AF_INET6 fe80::2000:bff:fe5e:878e%2%2#123 flags 0x11 failed: Cannot assign requested address
Oct 24 18:36:04 ion101.orl.voxeo.net ntpd[203]: unable to create socket on eth0 (5) for fe80::2000:bff:fe5e:878e%2#123
Oct 24 18:36:04 ion101.orl.voxeo.net ntpd[203]: failed to init interface for address fe80::2000:bff:fe5e:878e%2
Oct 24 18:36:04 ion101.orl.voxeo.net ntpd[203]: Listening on routing socket on fd #21 for interface updates
Oct 24 18:36:04 ion101.orl.voxeo.net systemd[1]: Started Network Time Service.
Oct 24 18:36:05 ion101.orl.voxeo.net ntpd[203]: bind(24) AF_INET6 fe80::2000:bff:fe5e:878e%2%2#123 flags 0x11 failed: Cannot assign requested address
Oct 24 18:36:05 ion101.orl.voxeo.net ntpd[203]: unable to create socket on eth0 (6) for fe80::2000:bff:fe5e:878e%2#123
Oct 24 18:36:05 ion101.orl.voxeo.net ntpd[203]: failed to init interface for address fe80::2000:bff:fe5e:878e%2
Oct 24 18:36:08 ion101.orl.voxeo.net ntpd[203]: Listen normally on 7 eth0 [fe80::2000:bff:fe5e:878e%2]:123
Oct 24 18:36:08 ion101.orl.voxeo.net ntpd[203]: new interface(s) found: waking up resolver

I don't USE or WANT IPv6 on my Arch Linux server so I verified the service is disabled:

[root@ion101 ~]# systemctl status ip6tables.service
● ip6tables.service - IPv6 Packet Filtering Framework
   Loaded: loaded (/usr/lib/systemd/system/ip6tables.service; disabled)
   Active: inactive (dead)

Can someone please help me understand the logs above and what that means? Is this normal or should I make a config change to tell my NTP daemon config to only use the IPv4 Interface?


./

Offline

#2 2014-10-24 18:58:10

branch
Member
Registered: 2014-03-16
Posts: 209

Re: NTP Log Errors

ip6tables is just the IPv6 firewall. If you want to disable IPv6 see https://wiki.archlinux.org/index.php/IPv6#Disable_IPv6

Offline

#3 2014-10-24 20:51:39

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: NTP Log Errors

You might also look at your /etc/ntp.conf and ensure it is not trying to use IPv6.  It looks like it is.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB