From owner-freebsd-ports@FreeBSD.ORG Wed Dec 29 20:56:43 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19DF716A4CE for ; Wed, 29 Dec 2004 20:56:43 +0000 (GMT) Received: from testequity.com (mach2.testequity.net [205.147.14.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E14443D2D for ; Wed, 29 Dec 2004 20:56:42 +0000 (GMT) (envelope-from Michael.Collette@testequity.com) Received: from smtp.priv.testequity.com [192.168.3.27] by testequity.com with ESMTP (SMTPD32-7.13) id A9C74FE80150; Wed, 29 Dec 2004 12:55:35 -0800 Received: from metlap (metlap.priv.testequity.com [192.168.3.53]) by smtp.priv.testequity.com (Postfix) with ESMTP id 1242E11A359; Wed, 29 Dec 2004 12:56:42 -0800 (PST) From: Michael Collette Organization: TestEquity Inc To: freebsd-ports@freebsd.org Date: Wed, 29 Dec 2004 12:56:46 -0800 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412291256.47298.Michael.Collette@testequity.com> Subject: MySQL rc-ng startup X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 20:56:43 -0000 Having an odd problem with the mysql-server-4.0.22 rc.d startup script here. When it runs I get dropped to a shell prompt running as the mysql user. When I run the following command, which I believe is what the rc script is trying to do, the mysql daemon starts up normally. mysqld_safe \ --user=mysql \ --datadir=/var/db/mysql \ --pid-file=/var/db/mysql/myhostname.pid > /dev/null & I would prefer using the rc startup script so I have a means of nicely starting and stopping this service. Any ideas? Thanks, -- Michael Collette IT Manager TestEquity Inc Michael.Collette@TestEquity.com http://www.testequity.com/