From owner-freebsd-questions@FreeBSD.ORG Mon Nov 3 06:47:03 2008 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 072461065674 for ; Mon, 3 Nov 2008 06:47:03 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.176]) by mx1.freebsd.org (Postfix) with ESMTP id 7DA648FC23 for ; Mon, 3 Nov 2008 06:47:02 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so1588687ika.3 for ; Sun, 02 Nov 2008 22:47:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=W4cGZHncqfZJenEkmu2rFGH3Tbr1jT+eCeBntp7++oA=; b=x8hzM384q80qMGCokwWNawwfO4uId02ju2GEBRcZHEanhiwL8tJ4TQnWSIOvJ5TnD0 W+fFm8uPE1cmXWIWMxFkRDsZf0Jck/1Toz4DKdl+3DTcoR3GB6TFvFUV66wDMXyHwDFE FOxEtWb4JuYxHHGxE2rvZVnWvT4BnseaY/YQ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=oFuPaqng5bLj97eJ0EQ+CYRFVi50Ggrku0BeRB5g1jC4CrI+tEoh3uN0fYkfk/OLRS RAK2aIE4k3E8t0oiU89quiaWYgPimI66tgQcR7l2hbtTUnUObfeSTicS0Jjv5kFu6sR2 FfwoFf3IJnPKDAqEloVdndBteJ4PPXMUZp4vo= Received: by 10.210.104.20 with SMTP id b20mr17188774ebc.20.1225692982877; Sun, 02 Nov 2008 22:16:22 -0800 (PST) Received: from darklight.homeunix.org ([85.175.24.53]) by mx.google.com with ESMTPS id m5sm13432614gve.3.2008.11.02.22.16.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 02 Nov 2008 22:16:22 -0800 (PST) Received: from darklight.homeunix.org (yuri@darklight.homeunix.org [127.0.0.1]) by darklight.homeunix.org (8.14.3/8.14.3) with ESMTP id mA36GIHr013619; Mon, 3 Nov 2008 09:16:18 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.homeunix.org (8.14.3/8.14.3/Submit) id mA36GIpV013618; Mon, 3 Nov 2008 09:16:18 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.homeunix.org: yuri set sender to yuri.pankov@gmail.com using -f Date: Mon, 3 Nov 2008 09:16:18 +0300 From: Yuri Pankov To: Andrew Berry Message-ID: <20081103061618.GA99308@darklight.homeunix.org> References: <513F7DF0-642B-4D58-B533-A49FEBD2E2AF@sentex.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <513F7DF0-642B-4D58-B533-A49FEBD2E2AF@sentex.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Freebsd questions Subject: Re: MySQL not restarted after portupgrade 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, 03 Nov 2008 06:47:03 -0000 On Mon, Nov 03, 2008 at 12:52:53AM -0500, Andrew Berry wrote: > Hi, > > For some reason, after running portupgrade databases/mysql51-server, > MySQL is brought down, but not restarted. It's not a huge issue, as I > just have to remember to run the rc.d script after upgrading, but I was > wondering if anyone else had seen this? portupgrade seems to work fine > with other daemons such as Apache and Courier IMAP. > > Thanks, > --Andrew Apache and Courier IMAP are just not stopped during deinstall stage (IIRC). You can use AFTERINSTALL in /usr/local/etc/pkgtools.conf to start MySQL after upgrade. HTH, Yuri