From owner-freebsd-questions@FreeBSD.ORG Fri Oct 6 19:05:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EBC216A415 for ; Fri, 6 Oct 2006 19:05:27 +0000 (UTC) (envelope-from steve@havk.org) Received: from web1.arilion.com (web1.arilion.com [63.238.52.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id E83B243D7D for ; Fri, 6 Oct 2006 19:05:21 +0000 (GMT) (envelope-from steve@havk.org) Received: from localhost (localhost.arilion.com [127.0.0.1]) by web1.arilion.com (Postfix) with ESMTP id 1CD633E121; Fri, 6 Oct 2006 14:05:23 -0500 (CDT) X-Virus-Scanned: amavisd-new at arilion.com Received: from web1.arilion.com ([127.0.0.1]) by localhost (web1.arilion.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nGlqFXjmX0R3; Fri, 6 Oct 2006 14:05:22 -0500 (CDT) Received: from bsd.havk.org (unknown [67.58.95.46]) by web1.arilion.com (Postfix) with ESMTP id 8D10239AE5; Fri, 6 Oct 2006 14:05:14 -0500 (CDT) Received: by bsd.havk.org (Postfix, from userid 1001) id 9A0F31A78B; Fri, 6 Oct 2006 14:05:11 -0500 (CDT) Date: Fri, 6 Oct 2006 14:05:11 -0500 From: Steve Price To: freebsd-questions@freebsd.org Message-ID: <20061006190511.GA56851@bsd.havk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 4.9-STABLE i386 Subject: MySQL hangs jail on startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2006 19:05:27 -0000 I have a server running 6.1-STABLE. One of the jails on that machine runs MySQL 4.1.21. If I have mysql_enable="YES" in /etc/rc.conf when I start the jail it hangs indefinitely. If I set it to NO the jail starts fine. I can then login to the jail via SSH and change it to YES and start MySQL manually with no problems. I've tried tweaking all the jail knobs in sysctl, messed around a bit with REQUIRE and BEFORE in the mysql-server startup script, and tried some of the mysqld startup options to skip networking, bind only to the jail's IP, ... but to no avail. Any pointers on what might be happening and how I go about fixing it? Thanks. -steve