Closed ecdlguy closed 6 years ago
# cat /etc/motd Welcome to SATIP-AXE server 201801301900-15 # ntpd --help BusyBox v1.26.2 (2018-01-25 08:55:26 CET) multi-call binary. Usage: ntpd [-dnqNwl -I IFACE] [-S PROG] [-p PEER]... NTP client/server -d Verbose -n Do not daemonize -q Quit after clock is set -N Run at high priority -w Do not set time (only query peers), implies -n -S PROG Run PROG after stepping time, stratum change, and every 11 mins -p PEER Obtain time from PEER (may be repeated) If -p is not given, 'server HOST' lines from /etc/ntp.conf are used -l Also run as server on port 123 -I IFACE Bind server to IFACE, implies -l # ps ax | grep ntpd 722 root 0:00 {ntpd} /bin/sh /etc/init.d/ntpd 727 root 0:00 /usr/sbin/ntpd -n -I eth0 -p 192.168.100.1 947 root 0:00 grep ntpd
No issue here..
Hi perexg,
# cat /etc/motd
Welcome to SATIP-AXE server 201801301900-15
After reboot, ntpd is running
# ps ax | grep ntpd
721 root 0:00 {ntpd} /bin/sh /etc/init.d/ntpd
730 root 0:00 /usr/sbin/ntpd -n -I eth0 -p 0.pool.ntp.org
787 root 0:00 grep ntpd
However, date and time are wrong:
# date
Thu Jan 1 13:00:18 CET 2015
So I do
touch /tmp/nontpd
kill 730
Check if there's no ntpd running:
# ps ax | grep ntpd
794 root 0:00 grep ntpd
And manually start ntpd:
ntpd -p 0.pool.ntp.org
Finally, the date and time are correct.
# date
Wed Feb 14 18:04:26 CET 2018
Maybe it's a problem with '-n' vs. '-N' or '-I' (implies '-l' ?). I don't know, it only works without these options.
cheers, Thorsten
Is sufficient to kill ntpd after start? It might be a network boot timing issue.
Is sufficient to kill ntpd after start? It might be a network boot timing issue.
Now I'm flabbergasted. I thought I'd tried just killing it. That's why I started to play with the options. Be that as it may, it's sufficient to kill ntpd after start.
Notwithstanding the above, I suggest to change
/usr/sbin/ntpd -n -I eth0 $NTPD_OPTS
in /etc/init.d/ntpd to
/usr/sbin/ntpd $NTPD_OPTS
and add the options to the config.
cheers, Thorsten
The '-n' is mandatory - otherwise the /etc/init.d/ntpd script will be in an endless loop.
The '-I eth0' is harmless.
Could you run 'strace -p
~ # strace -p 728
Process 728 attached - interrupt to quit
restart_syscall(<... resuming interrupted call ...>) = 0
socket(PF_NETLINK, SOCK_RAW, 0) = 4
bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(4, {sa_family=AF_NETLINK, pid=728, groups=00000000}, [12]) = 0
time(NULL) = 1420113767
sendto(4, "\24\0\0\0\26\0\1\3g7\245T\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0g7\245T\330\2\0\0\2\30\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0g7\245T\330\2\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 192
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0g7\245T\330\2\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(4) = 0
open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFREG|0755, st_size=82, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2975e000
read(4, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 82
read(4, "", 4096) = 0
close(4) = 0
munmap(0x2975e000, 4096) = 0
gettimeofday({1420113767, 385819}, NULL) = 0
gettimeofday({1420113767, 386353}, NULL) = 0
socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
gettimeofday({1420113767, 387541}, NULL) = 0
poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}])
send(4, "\230\335\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32
poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}])
send(4, "\311_\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused)
close(4) = 0
socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
gettimeofday({1420113767, 392468}, NULL) = 0
poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}])
send(4, "\230\335\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32
poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}])
send(4, "\311_\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused)
close(4) = 0
gettimeofday({1420113767, 394886}, NULL) = 0
gettimeofday({1420113767, 395434}, NULL) = 0
socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
gettimeofday({1420113767, 396468}, NULL) = 0
poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}])
send(4, "O\301\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32
poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}])
send(4, "\3710\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused)
close(4) = 0
socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
gettimeofday({1420113767, 399865}, NULL) = 0
poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}])
send(4, "O\301\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32
poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}])
send(4, "\3710\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused)
close(4) = 0
write(2, "ntpd: bad address '0.pool.ntp.or"..., 35) = 35
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({5, 0}, ^C <unfinished ...>
It seems that your /etc/sysconfig/resolv.conf (or /etc/resolv.conf) is wrong. It points to 127.0.0.1 (localhost) at the boot time. Do you use DHCP? But there's killall -9 ntpd
command in /etc/init.d/dhcpc-event , so it should be handled correctly.
I'm using a static IP setup:
#
# IPV4 config
#
#IPV4="dhcp"
# or
IPV4="192.168.2.30"
IPV4_NETMASK="255.255.255.0"
IPV4_BROADCAST="192.168.2.255"
IPV4_GATEWAY="192.168.2.1"
Here's my resolv.conf:
nameserver 192.168.2.1
Ok, so the question is where ntpd gets the 127.0.0.1 address for the DNS resolution.
/etc/resolv.conf is a link to /mnt/data/satip-axe/sysconfig/resolv.conf. Maybe 'data' is not yet mounted when ntpd is started?
Could you try to add 'killall -9 ntpd' to /etc/sysconfig/localboot ? (Make this script as executable).
Ok I did
touch /etc/sysconfig/localboot
chmod 755 /etc/sysconfig/localboot
nano /etc/sysconfig/localboot
and added the line 'killall -9 ntpd' after a reboot, ntpd is running but the date / time is not correct.
PS: If I call the script manually, ntpd as well as the "watchdog script" gets killed, so ntpd is not automatically restarted after 'localboot' has been executed.
PPS: Do I have to enable this:
# custom daemon/service/setup executed from sysinit
#CUSTOMD="/etc/sysconfig/myboot"
and rename the script accordingly?
The first line for the executable script should be '#!/bin/sh' . But I think that ntpd is not started at this point yet. The /etc/init.d/rcS script which mounts the config partition is executed before spawned tasks. CUSTOMD is another way to run own code.
In my environment, the date is wrong after boot, but it's quickly set to the real date (static IP config). I don't know why ntpd in your environment is using only 127.0.0.1 DNS address.
I've added '#!/bin/sh' to the script just to be sure but after a reboot the problem remains. :-(
same problem here
I have the same problem. After restart of device the time/date is somewhere in 2015.
I always have to use the command "date MMDDHHMMYY" in putty to get the correct date and time.
As far as I have seen ntpd does not work on startup because the difference to hardware clock and/or system clock is to big.
hwclock --systohc did not work.
Can you please explain how to set the timezone to Europe/Berlin how to set hwclock after correcting date/time with date command in putty
I think problems with ntpd will have gone after that, but I don´t know how..
There is no RTC hardware, so hwclock won't work. Also, there are no time zones in the firmware to keep things simple. The initial date is set in /etc/init.d/rcS script:
date 010112002015
If 'ping 0.pool.ntp.org' works (the /etc/sysconfig/resolv.conf exists and is linked to /etc/resolv.conf), then ntpd should set the correct date. (You may change the NTP server in the config file.)
# ping 0.pool.ntp.org PING 0.pool.ntp.org (78.46.37.9): 56 data bytes 64 bytes from 78.46.37.9: seq=0 ttl=42 time=51.204 ms
Ping is ok but ntpd does not set correct time/date after device start.
will wait - maybe there is a solution in next release
your firmware is great btw. Thanks a lot for it !
just some more feedback changed Installation to lastest fw 15 beta device is still coming up with 01.01.2015 12.00
I'm using 201802211835-15, dhcp, usb-boot (not flashed yet). ntpd is not starting here as well. Have to killall ntpd to get the time.
i was experiencing time to time unresponsive hw from one of my digibit's... so i think a good solution was to run a reboot on specific hour each days... when i tried to do this i also noticed that ntpd was also not working for me... tried with and without dhcp and it seens it also using 127.0.0.1 for dns in my case!
Thanks
I have the same issue with my Digibit R1: ntpd is running, but time is incorrect.
fw: 201705251043-14 config: NTPD_OPTS="-p 0.pool.ntp.org" resolve.conf points to correct dns, not 127.0.0.1.
Is there any solution yet? Thanks!
fw: 201705251043-14
ip dhcp
no /etc/sysconfig/resolv.conf file.
/etc/resolv.conf is pointing to my internal resolvers.
i have a timeserver for my lan.
not working: NTPD_OPTS="-p FQDNSNAMEOFTIMESERVER"
working: NTPD_OPTS="-p IPOFTIMESER"
after changing NTPD_OPTS to the ip Adress of my router (giving time to lan) I do get UTC time now - but not the local time I took a file in /etc/sysconfig named localtime with Europe/Berlin in it. seems to be wrong Europe/Amsterdam didn´t work either
so time differs for 2 h now
What do I have to do to get correct local time ?
Copy the file from your linux distribution. It's zoneinfo file not a text file. Example:
$ scp /usr/share/zoneinfo/Europe/Prague root@satip1:/etc/sysconfig/localtime $ ssh root@satip1 # cd /etc # ln -s sysconfig/localtime
YES ! Took the "Berlin" file from CoreELEC, rename and restart. Problem solved. I´m very happy with satip-axe/TvHeadend. Its running so much better than everything I tried before. Thank you!
@gitoriu @perexg Changing the time server's FQDN to the IP address worked also for me. So ntpd has obviously a resolve issue. So how can I/we solve this? I don't like to have IP addresses in config files. /etc/resolv.conf is correctly pointing to my local name server. Using ping in the command line also correctly resolves the FQDN of the name server. So what could be the issue?
It seems that /etc/init.d/dhcpc-event needs some more love to restart ntpd properly when the DNS parameters changes.
I will add my hugs while testing... ;-)
Please, test the new build 15 - issue #94 .
Copy the file from your linux distribution. It's zoneinfo file not a text file. Example:
$ scp /usr/share/zoneinfo/Europe/Prague root@satip1:/etc/sysconfig/localtime $ ssh root@satip1
cd /etc
ln -s sysconfig/localtime
is this still needed?
because i tested with that and even with that the time isn't correct!
Yes, the zone file should be copied from a linux system to /etc/sysconfig/localtime (and reboot or symlink it to /etc).
cat /etc/motd
Welcome to SATIP-AXE server 201809171812-15
~ # ntpd --help BusyBox v1.26.2 (2018-01-25 08:55:26 CET) multi-call binary.
Usage: ntpd [-dnqNwl -I IFACE] [-S PROG] [-p PEER]...
NTP client/server
-d Verbose
-n Do not daemonize
-q Quit after clock is set
-N Run at high priority
-w Do not set time (only query peers), implies -n
-S PROG Run PROG after stepping time, stratum change, and every 11 mins
-p PEER Obtain time from PEER (may be repeated)
If -p is not given, 'server HOST' lines
from /etc/ntp.conf are used
-l Also run as server on port 123
-I IFACE Bind server to IFACE, implies -l
~ # ps ax | grep ntpd 814 root 0:00 grep ntpd
no ntpd daemon running after reboot!
and if i do:
~ # ntpd -p 0.pool.ntp.org ~ # date Mon Sep 17 18:19:45 WEST 2018 ~ # ps ax | grep ntpd 816 root 0:00 ntpd -p 0.pool.ntp.org 819 root 0:00 grep ntpd
it's there and with correct time!
after reboot no ntpd again!
You're right. The ntpd was killed including the shield script. Here is the fixed version of build 15: http://s000.tinyupload.com/?file_id=58656269804852319071
is the link correct? it just return "download.php"
Just remove trailing \
thanks!
now i have:
ps ax | grep ntpd 721 root 0:00 {ntpd} /bin/sh /etc/init.d/ntpd 728 root 0:00 /usr/sbin/ntpd -n -I eth0 -p 0.pool.ntp.org 813 root 0:00 grep ntpd
but still:
~ # date Thu Jan 1 12:02:59 WET 2015
i have this on resolv.conf
search Home nameserver 192.168.1.254 nameserver 192.168.1.254
still no luck @perexg ... see the outdated below comment... even with ntpd running i don0t get correct time...
however if i kill it and run it again it set time correctly!
Cannot confirm. Ntpd is killed correctly now with 201809171929-15 . Ntpd needs just some seconds to sync. I have correct time with the dhcp settings on my box. Anyway, it's generally bad idea to use DHCP for server IPs.
Hi, it's still not working for me using 201809171929-15. I did never use dhcp with the box, I also don't know why the title of the issue was changed. ntpd is running after reboot, however date is not correct. After killing ntpd, date is correct.
@ecdlguy please test rc2: https://github.com/perexg/satip-axe/releases/tag/build15-rc2
for me the problem still exist... but like @perexg i am using dhcp!
Welcome to SATIP-AXE server 201809211014-15
~ # date Thu Jan 1 12:10:38 WET 2015 ~ # killall -9 ntpd killall: ntpd: no process killed ~ # ntpd -n -I eth0 -p 0.pool.ntp.org ntpd: setting time to 2018-09-21 10:39:26.221842 (offset +117408326.748954s)
strace, pls
Anyway, ntpd should exists after boot.. It seems that you killed it from your own script?
yes @perexg it exists after boot but time was not set!!!
however if i kill it and start again it works!
strace -p 969 Process 969 attached - interrupt to quit restart_syscall(<... resuming interrupted call ...>) = 0 socket(PF_NETLINK, SOCK_RAW, 0) = 4 bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(4, {sa_family=AF_NETLINK, pid=969, groups=00000000}, [12]) = 0 time(NULL) = 1420114273 sendto(4, "\24\0\0\0\26\0\1\3a9\245T\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0a9\245T\311\3\0\0\2\30\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0a9\245T\311\3\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 192 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0a9\245T\311\3\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 close(4) = 0 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4 fstat64(4, {st_mode=S_IFREG|0755, st_size=82, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2975e000 read(4, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 82 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2975e000, 4096) = 0 gettimeofday({1420114273, 661891}, NULL) = 0 gettimeofday({1420114273, 662051}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114273, 663128}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\333\346\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\376a\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114273, 666914}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\333\346\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\376a\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 gettimeofday({1420114273, 669280}, NULL) = 0 gettimeofday({1420114273, 669733}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114273, 670370}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "^\271\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\203\22\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114273, 673843}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "^\271\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\203\22\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 write(2, "ntpd: bad address '0.pool.ntp.or"..., 35) = 35 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({5, 0}, 0x7bcf0a00) = 0 socket(PF_NETLINK, SOCK_RAW, 0) = 4 bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(4, {sa_family=AF_NETLINK, pid=969, groups=00000000}, [12]) = 0 time(NULL) = 1420114278 sendto(4, "\24\0\0\0\26\0\1\3f9\245T\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0f9\245T\311\3\0\0\2\30\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0f9\245T\311\3\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 192 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0f9\245T\311\3\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 close(4) = 0 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4 fstat64(4, {st_mode=S_IFREG|0755, st_size=82, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2975e000 read(4, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 82 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2975e000, 4096) = 0 gettimeofday({1420114278, 688337}, NULL) = 0 gettimeofday({1420114278, 688494}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114278, 689558}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "T\371\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\302\340\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114278, 693126}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "T\371\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\302\340\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 gettimeofday({1420114278, 695410}, NULL) = 0 gettimeofday({1420114278, 695924}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114278, 696566}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "4\333\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\250\323\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114278, 699992}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "4\333\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\250\323\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 write(2, "ntpd: bad address '0.pool.ntp.or"..., 35) = 35 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({5, 0}, 0x7bcf0a00) = 0 socket(PF_NETLINK, SOCK_RAW, 0) = 4 bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(4, {sa_family=AF_NETLINK, pid=969, groups=00000000}, [12]) = 0 time(NULL) = 1420114283 sendto(4, "\24\0\0\0\26\0\1\3k9\245T\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0k9\245T\311\3\0\0\2\30\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0k9\245T\311\3\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 192 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0k9\245T\311\3\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 close(4) = 0 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4 fstat64(4, {st_mode=S_IFREG|0755, st_size=82, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2975e000 read(4, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 82 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2975e000, 4096) = 0 gettimeofday({1420114283, 713416}, NULL) = 0 gettimeofday({1420114283, 713573}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114283, 714571}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "p]\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\325\345\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114283, 717631}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "p]\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\325\345\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 gettimeofday({1420114283, 720373}, NULL) = 0 gettimeofday({1420114283, 720521}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114283, 721551}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\312|\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "S\22\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114283, 724607}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\312|\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "S\22\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 write(2, "ntpd: bad address '0.pool.ntp.or"..., 35) = 35 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({5, 0}, 0x7bcf0a00) = 0 socket(PF_NETLINK, SOCK_RAW, 0) = 4 bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(4, {sa_family=AF_NETLINK, pid=969, groups=00000000}, [12]) = 0 time(NULL) = 1420114288 sendto(4, "\24\0\0\0\26\0\1\3p9\245T\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0p9\245T\311\3\0\0\2\30\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0p9\245T\311\3\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 192 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0p9\245T\311\3\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 close(4) = 0 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4 fstat64(4, {st_mode=S_IFREG|0755, st_size=82, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2975e000 read(4, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 82 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2975e000, 4096) = 0 gettimeofday({1420114288, 737891}, NULL) = 0 gettimeofday({1420114288, 738331}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114288, 738998}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\266D\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\321x\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114288, 741984}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\266D\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\321x\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 gettimeofday({1420114288, 744463}, NULL) = 0 gettimeofday({1420114288, 744608}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114288, 745490}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\340\244\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\200\321\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114288, 748348}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\340\244\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\200\321\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 write(2, "ntpd: bad address '0.pool.ntp.or"..., 35) = 35 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({5, 0}, 0x7bcf0a00) = 0 socket(PF_NETLINK, SOCK_RAW, 0) = 4 bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(4, {sa_family=AF_NETLINK, pid=969, groups=00000000}, [12]) = 0 time(NULL) = 1420114293 sendto(4, "\24\0\0\0\26\0\1\3u9\245T\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0u9\245T\311\3\0\0\2\30\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0u9\245T\311\3\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 192 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0u9\245T\311\3\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 close(4) = 0 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4 fstat64(4, {st_mode=S_IFREG|0755, st_size=82, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2975e000 read(4, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 82 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2975e000, 4096) = 0 gettimeofday({1420114293, 761835}, NULL) = 0 gettimeofday({1420114293, 761989}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114293, 763024}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "k\274\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\360\221\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114293, 766072}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "k\274\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\360\221\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 gettimeofday({1420114293, 768453}, NULL) = 0 gettimeofday({1420114293, 768607}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114293, 769258}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\265^\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\24.\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114293, 771572}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\265^\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\24.\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 write(2, "ntpd: bad address '0.pool.ntp.or"..., 35) = 35 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({5, 0}, 0x7bcf0a00) = 0 socket(PF_NETLINK, SOCK_RAW, 0) = 4 bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(4, {sa_family=AF_NETLINK, pid=969, groups=00000000}, [12]) = 0 time(NULL) = 1420114298 sendto(4, "\24\0\0\0\26\0\1\3z9\245T\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0z9\245T\311\3\0\0\2\30\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0z9\245T\311\3\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 192 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0z9\245T\311\3\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 close(4) = 0 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4 fstat64(4, {st_mode=S_IFREG|0755, st_size=82, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2975e000 read(4, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 82 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2975e000, 4096) = 0 gettimeofday({1420114298, 781467}, NULL) = 0 gettimeofday({1420114298, 781624}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114298, 782272}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\257\304\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\347[\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114298, 784648}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\257\304\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\347[\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 gettimeofday({1420114298, 786288}, NULL) = 0 gettimeofday({1420114298, 786462}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114298, 787075}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "W\341\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "u[\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114298, 789164}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "W\341\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "u[\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 write(2, "ntpd: bad address '0.pool.ntp.or"..., 35) = 35 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({5, 0}, 0x7bcf0a00) = 0 socket(PF_NETLINK, SOCK_RAW, 0) = 4 bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(4, {sa_family=AF_NETLINK, pid=969, groups=00000000}, [12]) = 0 time(NULL) = 1420114303 sendto(4, "\24\0\0\0\26\0\1\3\1779\245T\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\1779\245T\311\3\0\0\2\30\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\1779\245T\311\3\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 192 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\1779\245T\311\3\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 close(4) = 0 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4 fstat64(4, {st_mode=S_IFREG|0755, st_size=82, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2975e000 read(4, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 82 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2975e000, 4096) = 0 gettimeofday({1420114303, 798570}, NULL) = 0 gettimeofday({1420114303, 798762}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114303, 799415}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\337\253\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\t\373\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114303, 801704}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\337\253\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\t\373\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 gettimeofday({1420114303, 803343}, NULL) = 0 gettimeofday({1420114303, 803486}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114303, 804125}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\0308\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\266u\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114303, 806207}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\0308\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\266u\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 write(2, "ntpd: bad address '0.pool.ntp.or"..., 35) = 35 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({5, 0}, 0x7bcf0a00) = 0 socket(PF_NETLINK, SOCK_RAW, 0) = 4 bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(4, {sa_family=AF_NETLINK, pid=969, groups=00000000}, [12]) = 0 time(NULL) = 1420114308 sendto(4, "\24\0\0\0\26\0\1\3\2049\245T\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\2049\245T\311\3\0\0\2\30\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\2049\245T\311\3\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 192 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\2049\245T\311\3\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 close(4) = 0 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4 fstat64(4, {st_mode=S_IFREG|0755, st_size=82, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2975e000 read(4, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 82 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2975e000, 4096) = 0 gettimeofday({1420114313, 134817}, NULL) = 0 gettimeofday({1420114313, 134972}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114313, 135951}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "W\375\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\223\203\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114313, 139570}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "W\375\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\223\203\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 gettimeofday({1420114313, 141909}, NULL) = 0 gettimeofday({1420114313, 142360}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114313, 143008}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\350&\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\0\314\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114313, 145910}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\350&\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\0\314\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 write(2, "ntpd: bad address '0.pool.ntp.or"..., 35) = 35 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({5, 0}, 0x7bcf0a00) = 0 socket(PF_NETLINK, SOCK_RAW, 0) = 4 bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(4, {sa_family=AF_NETLINK, pid=969, groups=00000000}, [12]) = 0 time(NULL) = 1420114318 sendto(4, "\24\0\0\0\26\0\1\3\2169\245T\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\2169\245T\311\3\0\0\2\30\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\2169\245T\311\3\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 192 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\2169\245T\311\3\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 close(4) = 0 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4 fstat64(4, {st_mode=S_IFREG|0755, st_size=82, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2975e000 read(4, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 82 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2975e000, 4096) = 0 gettimeofday({1420114318, 159766}, NULL) = 0 gettimeofday({1420114318, 159920}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114318, 160993}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\26\312\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\306\310\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114318, 164894}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\26\312\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\306\310\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 gettimeofday({1420114318, 167632}, NULL) = 0 gettimeofday({1420114318, 167780}, NULL) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114318, 168778}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\226\311\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\372\312\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 gettimeofday({1420114318, 171842}, NULL) = 0 poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}]) send(4, "\226\311\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\1\0\1", 32, MSG_NOSIGNAL) = 32 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=4, revents=POLLOUT|POLLERR}]) send(4, "\372\312\1\0\0\1\0\0\0\0\0\0\0010\4pool\3ntp\3org\0\0\34\0\1", 32, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused) close(4) = 0 write(2, "ntpd: bad address '0.pool.ntp.or"..., 35) = 35 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({5, 0},
This is the config i am using now! i changed from dhcp to static!
#
#
IPV4="192.168.1.114" IPV4_NETMASK="255.255.255.0" IPV4_BROADCAST="192.168.1.255" IPV4_GATEWAY="192.168.1.254"
#
# NTPD_OPTS="-p 0.pool.ntp.org"
is it normal that with static there's no resolv.conf?
You must write your own resolv.conf and place it to /etc/sysconfig.
I don't know at this point, what task is accepting connections on TCP port 53:
connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
on my box:
# netstat -an | grep 53 #
weird... what's your 'netstat -an' ?
/ # netstat -an | grep 53 / #
meanwhile i will create resolve.conf and put it there!
with dhcp off... and resolv.conf created it works!
Hi,
ntpd is running, however the arguments ('-n', '-I') seem to be outdated for this version of ntpd so ntpd does nothing. I've touched /tmp/nontpd in order to prevent /etc/init.d/ntpd to respawn it. After that, starting ntpd with the '-p' option only like
ntpd -p 0.pool.ntp.org
immediately sets the correct time.
cheers, Thorsten