ntpd couldn't resolve host name on system boot
Dear Jerermy, Whilst searching for a solution to a problem, I found your post: http://lists.freebsd.org/pipermail/freebsd-stable/2011-October/064350.html Please could you explain how I can implement the netwait script to solve the problem? I'm new to freenas/BSD but am willing to try working from the Cmd line. Best regards, Matthew PS: Here are the messages May 14 13:32:59 freenas kernel: SMP: AP CPU #1 Launched! May 14 13:32:59 freenas kernel: GEOM: da0s1: geometry does not match label (16h,63s != 255h,63s). May 14 13:32:59 freenas kernel: GEOM: da0s2: geometry does not match label (16h,63s != 255h,63s). May 14 13:32:59 freenas kernel: Trying to mount root from ufs:/dev/ufs/FreeNASs2a May 14 13:32:59 freenas kernel: WARNING: /data was not properly dismounted May 14 13:32:59 freenas kernel: ZFS filesystem version 4 May 14 13:32:59 freenas kernel: ZFS storage pool version 15 May 14 13:33:00 freenas ntpd[1512]: ntpd 4.2.4p5-a (1) May 14 13:33:00 freenas root: /etc/rc: WARNING: failed precmd routine for vmware_guestd May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: 0.freebsd.pool.ntp.org May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` 0.freebsd.pool.ntp.org', giving up on it May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: 1.freebsd.pool.ntp.org May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` 1.freebsd.pool.ntp.org', giving up on it May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: 2.freebsd.pool.ntp.org May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` 2.freebsd.pool.ntp.org', giving up on it ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: ntpd couldn't resolve host name on system boot
Hi, thanks for your quick reply. Please could you explain how to do that? Or if you know a post that explains Thanks, Matthew On 17 May 2012 11:42, wrote: > Matthew, > > netwait script is already implemented: > http://lists.freebsd.org/pipermail/svn-src-head/2011-June/028593.html > > So, you shuld just add netwit_* entries in your rc.conf file. > > 2012/5/17 Matthew Doughty : > > Dear Jerermy, > > > > Whilst searching for a solution to a problem, I found your post: > > > http://lists.freebsd.org/pipermail/freebsd-stable/2011-October/064350.html > > > > Please could you explain how I can implement the netwait script to solve > > the problem? I'm new to freenas/BSD but am willing to try working from > the > > Cmd line. > > > > Best regards, > > > > Matthew > > > > > > PS: Here are the messages > > > > May 14 13:32:59 freenas kernel: SMP: AP CPU #1 Launched! > > > > May 14 13:32:59 freenas kernel: GEOM: da0s1: geometry does not match > label > > (16h,63s != 255h,63s). > > > > May 14 13:32:59 freenas kernel: GEOM: da0s2: geometry does not match > label > > (16h,63s != 255h,63s). > > > > May 14 13:32:59 freenas kernel: Trying to mount root from > > ufs:/dev/ufs/FreeNASs2a > > > > May 14 13:32:59 freenas kernel: WARNING: /data was not properly > dismounted > > > > May 14 13:32:59 freenas kernel: ZFS filesystem version 4 > > > > May 14 13:32:59 freenas kernel: ZFS storage pool version 15 > > > > May 14 13:33:00 freenas ntpd[1512]: ntpd 4.2.4p5-a (1) > > > > May 14 13:33:00 freenas root: /etc/rc: WARNING: failed precmd routine for > > vmware_guestd > > > > May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: > > 0.freebsd.pool.ntp.org > > > > May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` > > 0.freebsd.pool.ntp.org', giving up on it > > > > May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: > > 1.freebsd.pool.ntp.org > > > > May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` > > 1.freebsd.pool.ntp.org', giving up on it > > > > May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: > > 2.freebsd.pool.ntp.org > > > > May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` > > 2.freebsd.pool.ntp.org', giving up on it > > ___ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org > " > -- * Matthew Doughty * * *Director Comercial Cel: +56 (9) 82366003Fijo: +56 (2) 9484196www.b12.cl ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: ntpd couldn't resolve host name on system boot
Thanks Vince, I'll give it a go. Regards, Matthew On 17 May 2012 14:49, Vincent Hoffman wrote: > On 17/05/2012 17:13, Matthew Doughty wrote: > > Hi, thanks for your quick reply. > > > > Please could you explain how to do that? Or if you know a post that > > explains > > Its not that obvious but... > man 5 rc.conf > and have a look at the netwait_* variable options (particularly > netwait_enable) > Basically they pause the boot up process until a network connection is > available, (a user defined IP is pingable) > they should be added to your /etc/rc.conf. The default values are > > jhary@ostracod $ grep netwait /etc/defaults/rc.conf > netwait_enable="NO"# Enable rc.d/netwait (or NO) > #netwait_ip=""# IP addresses to be pinged by netwait. > netwait_timeout="60"# Total number of seconds to perform pings. > #netwait_if=""# Interface name to watch link state on. > netwait_if_timeout="30"# Total number of seconds to monitor link > state. > > Vince > > > > Thanks, > > Matthew > > > > On 17 May 2012 11:42, wrote: > > > >> Matthew, > >> > >> netwait script is already implemented: > >> http://lists.freebsd.org/pipermail/svn-src-head/2011-June/028593.html > >> > >> So, you shuld just add netwit_* entries in your rc.conf file. > >> > >> 2012/5/17 Matthew Doughty : > >>> Dear Jerermy, > >>> > >>> Whilst searching for a solution to a problem, I found your post: > >>> > >> > http://lists.freebsd.org/pipermail/freebsd-stable/2011-October/064350.html > >>> Please could you explain how I can implement the netwait script to > solve > >>> the problem? I'm new to freenas/BSD but am willing to try working from > >> the > >>> Cmd line. > >>> > >>> Best regards, > >>> > >>> Matthew > >>> > >>> > >>> PS: Here are the messages > >>> > >>> May 14 13:32:59 freenas kernel: SMP: AP CPU #1 Launched! > >>> > >>> May 14 13:32:59 freenas kernel: GEOM: da0s1: geometry does not match > >> label > >>> (16h,63s != 255h,63s). > >>> > >>> May 14 13:32:59 freenas kernel: GEOM: da0s2: geometry does not match > >> label > >>> (16h,63s != 255h,63s). > >>> > >>> May 14 13:32:59 freenas kernel: Trying to mount root from > >>> ufs:/dev/ufs/FreeNASs2a > >>> > >>> May 14 13:32:59 freenas kernel: WARNING: /data was not properly > >> dismounted > >>> May 14 13:32:59 freenas kernel: ZFS filesystem version 4 > >>> > >>> May 14 13:32:59 freenas kernel: ZFS storage pool version 15 > >>> > >>> May 14 13:33:00 freenas ntpd[1512]: ntpd 4.2.4p5-a (1) > >>> > >>> May 14 13:33:00 freenas root: /etc/rc: WARNING: failed precmd routine > for > >>> vmware_guestd > >>> > >>> May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: > >>> 0.freebsd.pool.ntp.org > >>> > >>> May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` > >>> 0.freebsd.pool.ntp.org', giving up on it > >>> > >>> May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: > >>> 1.freebsd.pool.ntp.org > >>> > >>> May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` > >>> 1.freebsd.pool.ntp.org', giving up on it > >>> > >>> May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: > >>> 2.freebsd.pool.ntp.org > >>> > >>> May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` > >>> 2.freebsd.pool.ntp.org', giving up on it > >>> ___ > >>> freebsd-stable@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable > >>> To unsubscribe, send any mail to " > freebsd-stable-unsubscr...@freebsd.org > >> " > >> > > > > > > -- * Matthew Doughty * * *Director Comercial Cel: +56 (9) 82366003Fijo: +56 (2) 9484196www.b12.cl ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: ntpd couldn't resolve host name on system boot
Hello Bjoern, It's still a problem for me. Here is a list of my system information: Hostname freenas.local FreeNAS Build FreeNAS-8.0.4-RELEASE-p1-x64 (11059) Platform AMD Athlon(tm) II X2 250 Processor Memory 8144MB System Time Fri May 18 09:07:22 2012 Uptime 9:07AM up 6 mins, 0 users Load Average 0.00, 0.21, 0.16 OS Version FreeBSD 8.2-RELEASE-p6 Are you refering to the OS version? 9.0 or 8.3? Looks like I'm using 8.2. Best regards, Matthew On 17 May 2012 16:48, Bjoern A. Zeeb wrote: > > On 17. May 2012, at 15:03 , Matthew Doughty wrote: > > > Dear Jerermy, > > > > Whilst searching for a solution to a problem, I found your post: > > > http://lists.freebsd.org/pipermail/freebsd-stable/2011-October/064350.html > > > > Please could you explain how I can implement the netwait script to solve > > the problem? I'm new to freenas/BSD but am willing to try working from > the > > Cmd line. > > ntpd in head 9.0 and later and 8.3 and later should not exhibit that > problem > anymore as it was fixed. Could you please tell me if that is not the > case? > > /bz > > -- > Bjoern A. Zeeb You have to have visions! > It does not matter how good you are. It matters what good you do! > > -- * Matthew Doughty * * *Director Comercial Cel: +56 (9) 82366003Fijo: +56 (2) 9484196www.b12.cl ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: ntpd couldn't resolve host name on system boot
Bjoern: I've done a fresh install of version FreeNAS-8.0.4-RELEASE-*p2*-x64. and the problem is solved. The last line says: * freenas ntpd[1485]: time reset +0.946762 s* Is that the correct now? Matthew On 18 May 2012 11:14, Bjoern A. Zeeb wrote: > > On 18. May 2012, at 13:28 , Matthew Doughty wrote: > > > Hello Bjoern, > > > > It's still a problem for me. Here is a list of my system information: > > > > > > Hostname freenas.local > > FreeNAS Build FreeNAS-8.0.4-RELEASE-p1-x64 (11059) > > Platform AMD Athlon(tm) II X2 250 Processor > > Memory8144MB > > System Time Fri May 18 09:07:22 2012 > > Uptime 9:07AM up 6 mins, 0 users > > Load Average 0.00, 0.21, 0.16 > > OS VersionFreeBSD 8.2-RELEASE-p6 > > > > Are you refering to the OS version? 9.0 or 8.3? Looks like I'm using > 8.2. > > Right, 8.2 didn't have the fix yet. Sorry. The newer onces might still > complain at boot time that DNS cannot be found but will retry themselves, > which the old versions (pre-fix) didn't do. Thus after a couple of > minutes ntpdcs -c peers and ntpdc -c sysinfo should be good and the logging > should stop. I would assume that a newer FreeNAS release will pick these > things up automatically once they go to 8.3 or 9.0. > > /bz > > -- > Bjoern A. Zeeb You have to have visions! > It does not matter how good you are. It matters what good you do! > > -- * Matthew Doughty * * *Director Comercial Cel: +56 (9) 82366003Fijo: +56 (2) 9484196www.b12.cl ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"