From owner-freebsd-questions@FreeBSD.ORG Mon Aug 29 14:50:35 2005 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 7D3C616A41F for ; Mon, 29 Aug 2005 14:50:35 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDEE843D6A for ; Mon, 29 Aug 2005 14:50:28 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: by xproxy.gmail.com with SMTP id i29so594580wxd for ; Mon, 29 Aug 2005 07:50:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y4P3T6Uti1whEBAmn1gMJ+jpEUsPEvqu+3Yunl+pz3xMnBkauOLS+o2atPO3feBhWiK2SZHJdnbvDg8ach1c8hvSGQdpNeUjz9zQtSE4mWoBHx6ZaSzXArtedYq5/PvGikOnaIN5jd6NaVzixHbD9Xb22QNyJtnq0LheCJyw8Ok= Received: by 10.70.96.6 with SMTP id t6mr99731wxb; Mon, 29 Aug 2005 07:50:25 -0700 (PDT) Received: by 10.70.104.20 with HTTP; Mon, 29 Aug 2005 07:50:15 -0700 (PDT) Message-ID: <35c231bf05082907503769b7fd@mail.gmail.com> Date: Mon, 29 Aug 2005 07:50:25 -0700 From: David Kirchner Sender: dpkirchner@gmail.com To: Norberto Meijome In-Reply-To: <43131C18.5030101@meijome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43122387.3090202@eircom.net> <431319BC.2050008@eircom.net> <43131C18.5030101@meijome.net> Cc: freebsd-questions@freebsd.org, Aidan Whyte Subject: Re: mysqld startup problems 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: Mon, 29 Aug 2005 14:50:35 -0000 On 8/29/05, Norberto Meijome wrote: > Not directly, but when I find myself in this pickle, I try to see what > exactly is the process doing: >=20 > $ ktrace /usr/local/etc/rc.d/mysql-server.sh start >=20 > ( wait for it to finish ) >=20 > kdump -f ./ktrace.out | less >=20 > and look for any errors / etc, and take it from there. you'll be able to > see any access errors / file not found,etc (i'd say it's a missing > directory or wrong access in a directory for mysql user) Excellent advice -- also, if you add the "-d" flag to ktrace, it will also include all descendants in the resulting ktrace.out file.