From owner-freebsd-questions@FreeBSD.ORG Wed Jan 6 15:59:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9370E1065693 for ; Wed, 6 Jan 2010 15:59:56 +0000 (UTC) (envelope-from lists@midsummerdream.org) Received: from p3plsmtpa01-04.prod.phx3.secureserver.net (p3plsmtpa01-04.prod.phx3.secureserver.net [72.167.82.84]) by mx1.freebsd.org (Postfix) with SMTP id 5B56D8FC22 for ; Wed, 6 Jan 2010 15:59:54 +0000 (UTC) Received: (qmail 21181 invoked from network); 6 Jan 2010 15:59:54 -0000 Received: from unknown (70.131.55.97) by p3plsmtpa01-04.prod.phx3.secureserver.net (72.167.82.84) with ESMTP; 06 Jan 2010 15:59:54 -0000 Message-ID: <4B44B376.2010005@midsummerdream.org> Date: Wed, 06 Jan 2010 09:59:50 -0600 From: Rob User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: mysql not starting on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lists@midsummerdream.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 15:59:56 -0000 Since I upgraded to FreBSD 8.0, I'm noticing that mysql isn't starting on boot anymore. It starts fine once the system has booted, and looking at the mysql log I see: 100105 17:46:56 mysqld_safe Starting mysqld daemon with databases from /var/db/m ysql 100105 17:46:56 [ERROR] Can't start server: cannot resolve hostname!: Unknown er ror: 0 100105 17:46:56 [ERROR] Aborting I use dhcp and ddns in my network, so I'm guessing that mysql is attempting to start before the networking has stabilized. Is there a way to make mysql be the last thing started at boot? I tried adding: # REQUIRE: NETWORKING To the init script, but that didn't seem to have any effect. Is there a tool that will run through all the init scripts and tell you the order of startup? Rob