Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Nov 2011 14:57:46 -0700
From:      Michael Sierchio <kudzu@tenebras.com>
To:        Robert Simmons <rsimmons0@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ntpdate on boot problem
Message-ID:  <CAHu1Y711gK0q-NOm0EjHMS%2BBFrKRiGsV6OUjETztBhK9TmLVQg@mail.gmail.com>
In-Reply-To: <CA%2BQLa9BOozP544LB7MwzjvXqHPLxgfU0w_nr%2BWv9bQtexFMjbw@mail.gmail.com>
References:  <CA%2BQLa9BOozP544LB7MwzjvXqHPLxgfU0w_nr%2BWv9bQtexFMjbw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Are you running a firewall?  Do you have a ppp connection?

This happens when there is a dependency that is not expressed in the
/etc/rc.d scripts.

- M

On Sat, Nov 5, 2011 at 2:52 PM, Robert Simmons <rsimmons0@gmail.com> wrote:
> Is there a way to make sure that the interface is UP and working
> before running ntpdate at boot on a box with a static IP address?
>
> After setting ntpdate_enable=3D"YES" in rc.conf, I get the following
> error on boot:
>
> Setting date via ntp.
> Error : hostname nor servname provided, or not known
> =A05 Nov 17:11:05
> ntpdate[786]: can't find host 0.freebsd.pool.ntp.org
>
> Error : hostname nor servname provided, or not known
> =A05 Nov 17:11:05
> ntpdate[786]: can't find host 1.freebsd.pool.ntp.org
>
> Error : hostname nor servname provided, or not known
> =A05 Nov 17:11:05
> ntpdate[786]: can't find host 2.freebsd.pool.ntp.org
>
> =A05 Nov 17:11:05
> ntpdate[786]: no servers can be used, exiting
>
> I've had this problem with machines using DHCP and the solution was to
> use SYNCDHCP rather than DHCP in rc.conf. =A0However, this box is using
> a static IP address. =A0But the problem seems to be similar.
>
> Rob
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y711gK0q-NOm0EjHMS%2BBFrKRiGsV6OUjETztBhK9TmLVQg>