From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OquWH-0008FQ-Jf for garchives@archives.gentoo.org; Wed, 01 Sep 2010 21:06:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F740E0823; Wed, 1 Sep 2010 21:06:16 +0000 (UTC) Received: from mail-vw0-f53.google.com (mail-vw0-f53.google.com [209.85.212.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 50503E0823 for ; Wed, 1 Sep 2010 21:06:16 +0000 (UTC) Received: by vws15 with SMTP id 15so7842255vws.40 for ; Wed, 01 Sep 2010 14:06:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=kJm8ILIHaZoZ7LaYKsll/1D4glTOr19aB0j7wqkA9Pg=; b=Md4PdC6uZnLQtLNFZKX3IPC9UN0XqydK9HsWJGZf5wsonDvjMW2i7YcibAZFKCH7Wk JjJ7x9sTV3M1hh80rCgvytdWm4ablCkpBrpPtcY3DDUD8SYEXWpKa/AA89K9Pk+I+C4G JSdom1hVwlfh2nhCA6zubFOBqdpTpb0Mvd7Qk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=dI5UeSu/D5QmoVDR0j1OKLtd6RzmVC7GWtg+5755U8hFwiayez5is4oO1zWjAWMj6N +BgUxQWR00kGxcVo+ECEwDwGBJJIfyjzqA0NC8oUSrQLQ5VjUXpoejU95ffxvNucSNOI rcGqY2nmurPxhZaL4k0irkau2NYV1ZWE5SUG4= Received: by 10.220.88.30 with SMTP id y30mr4338429vcl.239.1283375127286; Wed, 01 Sep 2010 14:05:27 -0700 (PDT) Received: from [192.168.1.2] (adsl-95-133-232.jan.bellsouth.net [98.95.133.232]) by mx.google.com with ESMTPS id w1sm6108354vbl.18.2010.09.01.14.05.25 (version=SSLv3 cipher=RC4-MD5); Wed, 01 Sep 2010 14:05:26 -0700 (PDT) Message-ID: <4C7EC013.4040206@gmail.com> Date: Wed, 01 Sep 2010 16:05:23 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100801 Gentoo/2.0.6 SeaMonkey/2.0.6 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Proper way of updating mysql from 5.0.90-r2 to 5.1.50? References: <4C7D3C94.2070602@gmail.com> <201008311931.08748.michaelkintzios@gmail.com> <201009012200.16350.mailingdotlist@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: e8f7044a-a75d-4832-9fe3-2ae48aa7e5e8 X-Archives-Hash: 66ae1674580df304c6a6a487135a7bd0 Mick wrote: > 2010/9/1 Aniruddha: > >> On Tuesday 31 August 2010 20:30:55 Mick wrote: >> >>>> But this is apparently not the proper way, because after >>>> restarting the server, apache does not show my web-page >>>> reporting there is no such a database. I checked it with >>>> phpmyadmin, and really, there is absolutely no database >>>> in mysql! >>>> >>>> I quickly restored backup version which I have done just >>>> before trying mysql-update, so my web-site is up and running. >>>> Now I would like to update mysql the right way, I but do not >>>> know how to do it... >>>> >>> Hi Jarry, >>> >>> Some years ago I ran into some similar problem, I can't recall exactly >>> what. Lost in folklore (wiki?) were some instructions to first stop mysql >>> before you update it and I have been following them since. >>> >>> I stop apach& mysql, run the update, dispatch-conf and then restart them >>> both. Haven't had problems since. >>> >>> There may be a better way for doing this - in which case others who know >>> better will hopefully chime in. >>> >> I'm curious as well. Imo it shouldn't be necessary to stop mysql server for >> each update. >> > Actually, this problem may be more sinister ... a bug? > > I also updated to the latest stable and as soon as I tried to restart > apache I got: > ========================================= > # /etc/init.d/apache2 start > * apache2 has detected an error in your setup: > apache2: Syntax error on line 155 of /etc/apache2/httpd.conf: Syntax error on > line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load > /usr/lib/apache2/modules/libphp5.so into server: libmysqlclient.so.15: cannot > open shared object file: No such file or directory > ========================================= > > What the ... ? > > Line 155 of my /etc/apache2/httpd.conf says: > > Include /etc/apache2/modules.d/*.conf > > Line 4 of /etc/apache2/modules.d/70_mod_php5.conf, says: > > LoadModule php5_module modules/libphp5.so > > Also, I seem to have modules/libphp5.so and is world readable: > > $ ls -la /usr/lib/apache2/modules/libphp5.so > -rw-r--r-- 1 root root 5720576 Aug 13 20:09 /usr/lib/apache2/modules/libphp5.so > > > I am downgrading now before a lynch mob arrives, but has anyone else > run into this problem? > > PS. I'm running www-servers/apache-2.2.16 > I'm no expert on this package so take this with a grain of salt. Mine just updated and portage said to run "emerge @preserved-rebuild" which I did. Thing is, one of the packages failed to emerge so here I sit. The error says something is missing which is the same reason the "emerge @preserved-rebuild" won't finish. So, looks like you need to rebuild some stuff but don't hold your breath on being able to. There is a thread on the forums already if you want to monitor it. http://forums.gentoo.org/viewtopic-t-842671.html Dale :-) :-)