FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

 
 
LinkBack Thread Tools
 
Old 04-27-2012, 10:45 AM
Lorenzo Salvadorini
 
Default Mysql service does not restart after unattended upgrade on Hardy

Hi all,
we are experiencing this issue on many of our hardy hosts with
unattended upgrades enabled.
After upgrade from 5.0.51 to version 5.0.95 or from 5.0.95 to 5.0.96
the upgrade fails and the mysql service does not restarts correctly.
With a manual restart the mysql service come up without any apparent
problem but the version is still the old one.*The day after, we have
done the upgrade manually without any problem. We experienced this
problem on different platform and setup:
- on EC2 hosts and on physical hosts on common HP DL360 G6/G7 hardware.
- on mysql clustered with DRBD and standalone hosts

I'm trying to understand what could be causing this behaviour reading
changelog or unattended upgrade logs/mail but I've not found anything
until now, is this happened to someone else?


More info about our typical setup affected by the issue:

~# lsb_release -r
Release: * * * *8.04

~# uname -a
Linux foo02 2.6.24-28-server #1 SMP Sat Oct 16 18:09:42 UTC 2010
x86_64 GNU/Linux

Aptitude log:
/var/log/aptitude.2.gz:[UPGRADE] mysql-server-5.0 5.0.51a-3ubuntu5.8
-> 5.0.95-0ubuntu1

unattended-upgrades version 0.30ubuntu1

Mail example from unattended-upgrade on a server that failed the upgrade:
----------------------------------------------------------------------
Unattended*upgrade returned: True

Preconfiguring packages ...
(Reading database ... 33848 files and directories currently installed.)
Preparing to replace libssl-dev 0.9.8g-4ubuntu3.17 (using
.../libssl-dev_0.9.8g-4ubuntu3.18_amd64.deb) ...
Unpacking replacement libssl-dev ...
Preparing to replace libssl0.9.8 0.9.8g-4ubuntu3.17 (using
.../libssl0.9.8_0.9.8g-4ubuntu3.18_amd64.deb) ...
Unpacking replacement libssl0.9.8 ...
Preparing to replace*mysql-client 5.0.95-0ubuntu1 (using
.../mysql-client_5.0.96-0ubuntu1_all.deb) ...
Unpacking replacement*mysql-client ...
Preparing to replace*mysql-server 5.0.95-0ubuntu1 (using
.../mysql-server_5.0.96-0ubuntu1_all.deb) ...
** Stopping*MySQL*database server mysqld
* ...done.
Unpacking replacement*mysql-server ...
Preparing to replace openssl 0.9.8g-4ubuntu3.17 (using
.../openssl_0.9.8g-4ubuntu3.18_amd64.deb) ...
Unpacking replacement openssl ...
Setting up libssl0.9.8 (0.9.8g-4ubuntu3.18) ...

Setting up libssl-dev (0.9.8g-4ubuntu3.18) ...
Setting up*mysql-client (5.0.96-0ubuntu1) ...
Setting up*mysql-server (5.0.96-0ubuntu1) ...
Setting up openssl (0.9.8g-4ubuntu3.18) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place

----------------------------------------------------------------------

Thanks for any help,
Lorenzo Salvadorini.

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 04-27-2012, 12:05 PM
Marc Deslauriers
 
Default Mysql service does not restart after unattended upgrade on Hardy

On Fri, 2012-04-27 at 12:45 +0200, Lorenzo Salvadorini wrote:
> Hi all,
> we are experiencing this issue on many of our hardy hosts with
> unattended upgrades enabled.
> After upgrade from 5.0.51 to version 5.0.95 or from 5.0.95 to 5.0.96
> the upgrade fails and the mysql service does not restarts correctly.
> With a manual restart the mysql service come up without any apparent
> problem but the version is still the old one. The day after, we have
> done the upgrade manually without any problem. We experienced this
> problem on different platform and setup:
> - on EC2 hosts and on physical hosts on common HP DL360 G6/G7 hardware.
> - on mysql clustered with DRBD and standalone hosts
>
> I'm trying to understand what could be causing this behaviour reading
> changelog or unattended upgrade logs/mail but I've not found anything
> until now, is this happened to someone else?
>

It may be this bug:

https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.0/+bug/988325

I'll look into it before the next security update.

Marc.



--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 04-27-2012, 02:14 PM
Lorenzo Salvadorini
 
Default Mysql service does not restart after unattended upgrade on Hardy

> It may be this bug:
>
> https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.0/+bug/988325
>
> I'll look into it before the next security update.

Yes, it looks very similar... packages after the upgrade are exactly
the same: the metapackage mysql-server results upgraded to .96 but the
mysql-server-5.0 packages is stil .95

I've subscribed the bug
thanks!

L.

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 

Thread Tools




All times are GMT. The time now is 01:41 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org