From owner-freebsd-ports@FreeBSD.ORG Wed Jan 26 12:52:54 2005 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 176DE16A4CE for ; Wed, 26 Jan 2005 12:52:54 +0000 (GMT) Received: from smradoch.ath.cx (r2g224.chello.upc.cz [62.245.70.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1254F43D5D for ; Wed, 26 Jan 2005 12:52:53 +0000 (GMT) (envelope-from neuhauser@chello.cz) Received: by smradoch.ath.cx (Postfix, from userid 1001) id 375D01F87BED; Wed, 26 Jan 2005 13:52:51 +0100 (CET) Date: Wed, 26 Jan 2005 13:52:51 +0100 From: Roman Neuhauser To: Fred Condo Message-ID: <20050126125251.GA2034@isis.wad.cz> Mail-Followup-To: Fred Condo , freebsd-ports@freebsd.org, Michael Collette References: <672DC1EE-6C10-11D9-9754-003065C7DFE8@quinn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <672DC1EE-6C10-11D9-9754-003065C7DFE8@quinn.com> User-Agent: Mutt/1.5.6i cc: Michael Collette cc: freebsd-ports@freebsd.org Subject: Re: MySQL 4.0.23a on 5-STABLE has a startup glitch 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, 26 Jan 2005 12:52:54 -0000 # fcondo@quinn.com / 2005-01-21 16:56:09 -0800: > On Jan 21, 2005, at 2:43 PM, Michael Collette wrote: > >On 5-STABLE I am unable to get mysql-server-4.0.23a to start with the > >rcng script. Upon launching the script it dumps me to a prompt owned > >by the mysql user. I have run into one other user on the mailing > >lists with the same exact problem. > I'm seeing identical behavior under FreeBSD 4.10-p5 with MySQL 4.1.9. I > finally traced the execution of the startup script by invoking it as: > > sh -x /usr/local/etc/rc.d/mysql-server.sh start > > The resulting output showed this detail: > > + su -m mysql -c sh -c "/usr/local/bin/mysqld_safe --user=mysql > --datadir=/var/db/mysql --pid-file=/var/db/mysql/OBFUSCATED.pid > > /dev/null &" > bash: no job control in this shell That looks like you have installed bash and replaced the original /bin/sh with (a link to) bash and/or have a strange $PATH. I strongly suggest you don't try to use bash as /bin/sh: it's a poor /bin/sh lookalike, and will e. g. break quite a few jobs in periodic(8). -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html