Mandriva Linux Archives: cooker@mandrivalinux.org

Mandriva Linux: cooker@mandrivalinux.org


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

  • From: Gustavo De Nardin (spuk)
  • Subject: Re: [Cooker] ntpd fails at startup
  • Date: 7 Mar 2008 01:08:44 -0000

* Toni Diaz <adiazcay@ya.com> [2008-03-06 23:17 +0100]:
> I've noticed that ntpd fails to obtain time data at startup.
> 
> If I start session and invoke 'date', the time shown is wrong. Becoming root 
> and restarting ntpd (service ntpd restart) fixes the time.
> 
> This shows a 'grep "ntpd" /var/log/syslog'
> 
> Mar  5 22:42:46 zodiac ntpdate[4063]: can't find host 0.fr.pool.ntp.org
> Mar  5 22:42:47 zodiac ntpdate[4063]: can't find host 1.fr.pool.ntp.org
> Mar  5 22:42:47 zodiac ntpdate[4063]: can't find host 2.fr.pool.ntp.org
> Mar  5 22:42:47 zodiac ntpdate[4063]: no servers can be used, exiting

This is ntpdate, it doesn't run as a daemon.


> Mar  5 22:42:47 zodiac ntpd[4071]: ntpd 4.2.4p4@1.1520-o Fri Dec  7 22:59:07 
> UTC 2007 (1)
snip
> Mar  5 22:42:48 zodiac ntpd[4079]: bind() fd 20, family 10, port 123, scope 3, 
> addr fe80::218:deff:fee1:e5e9, in6_is_addr_multicast=0 flags=0x11 fails: 
> Cannot assign requested address
> Mar  5 22:42:48 zodiac ntpd[4079]: unable to create socket on eth1 (4) for 
> fe80::218:deff:fee1:e5e9#123
> Mar  5 22:42:48 zodiac ntpd[4079]: failed to initialize interface for address 
> fe80::218:deff:fee1:e5e9
> 
> (here was after start session, becoming root and restarting ntpd)
> 
> Mar  5 22:43:23 zodiac ntpd[4079]: ntpd exiting on signal 15

Is this after 'service ntpd restart'? This says ntpd was running, and got
stopped, due to the restart. So, could you confirm ntpd is or isn't running
after system initialization?


> Mar  5 22:43:30 zodiac ntpdate[4492]: step time server 91.121.83.98 offset 
> 0.036854 sec
> Mar  5 22:43:30 zodiac ntpd[4498]: ntpd 4.2.4p4@1.1520-o Fri Dec  7 22:59:07 
> UTC 2007 (1)
> Mar  5 22:43:30 zodiac ntpd[4499]: precision = 1.000 usec
> Mar  5 22:43:30 zodiac ntpd[4499]: ntp_io: estimated max descriptors: 1024, 
> initial socket boundary: 16
> Mar  5 22:43:30 zodiac ntpd[4499]: Listening on interface #0 wildcard, 
> 0.0.0.0#123 Disabled
> Mar  5 22:43:30 zodiac ntpd[4499]: Listening on interface #1 wildcard, ::#123 
> Disabled
> Mar  5 22:43:30 zodiac ntpd[4499]: Listening on interface #2 lo, ::1#123 
> Enabled
> Mar  5 22:43:30 zodiac ntpd[4499]: Listening on interface #3 eth1, 
> fe80::218:deff:fee1:e5e9#123 Enabled
> Mar  5 22:43:30 zodiac ntpd[4499]: Listening on interface #4 lo, 127.0.0.1#123 
> Enabled
> Mar  5 22:43:30 zodiac ntpd[4499]: Listening on interface #5 eth1, 
> 192.168.1.2#123 Enabled
> Mar  5 22:43:30 zodiac ntpd[4499]: kernel time sync status 0040
> Mar  5 22:43:32 zodiac ntpd[4499]: frequency initialized 0.000 PPM 
> from /etc/ntp/drift
> Mar  5 22:43:49 zodiac ntpd_initres[4095]: parent died before we finished, 
> exiting
> 
> Regards
> Osado



Date Index | Thread Index

Search the archive:



To (un)subscribe from/to the lists:

Sympa mailing lists server.





Fund the Mandriva Linux project

Looking for a job?