mysql initscript fails

Bug #317734 reported by Mark Foster
2
Affects Status Importance Assigned to Milestone
mysql-5.1 (Ubuntu)
Expired
Wishlist
Unassigned

Bug Description

On a system with many databases and/or large dataset initscript exits with fail! even though the database is still starting up. Sometimes this can be ignored, but it appears it is hosing an upgrade, as it keeps returning to this set of tasks...

Errors were encountered while processing:
 mysql-server-5.0
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up mysql-server-5.0 (5.0.51a-3ubuntu5.4) ...
 * Stopping MySQL database server mysqld
   ...done.
 * Starting MySQL database server mysqld
   ...fail!
invoke-rc.d: initscript mysql, action "start" failed.

Revision history for this message
Diogo Matsubara (matsubara) wrote :

Thank you for the report, but this is not a launchpad bug, re-assigning to Ubuntu.
We're interested in why you accidentally recorded this bug as occurring in Launchpad instead of Ubuntu. If you can explain what happened, please let us know in bug 88818.

Changed in launchpad:
status: New → Invalid
Revision history for this message
Mark Foster (fostermarkd) wrote :

Changing sleep 1 to sleep 10 on line 111 is what "fixes" the problem for me.
Perhaps a TIMEOUT setting in /etc/defaults/mysql to set the timeout length would be the proper fix here.

Mathias Gug (mathiaz)
Changed in mysql-dfsg-5.0:
importance: Undecided → Low
status: New → Confirmed
Mathias Gug (mathiaz)
Changed in mysql-dfsg-5.0:
status: Confirmed → Triaged
Chuck Short (zulcss)
affects: mysql-dfsg-5.0 (Ubuntu) → mysql-5.1 (Ubuntu)
Changed in mysql-5.1 (Ubuntu):
importance: Low → Wishlist
Martin Pool (mbp)
affects: launchpad → null
Revision history for this message
Dave Walker (davewalker) wrote :

Has anyone managed to reproduce this recently on a supported or development release?

Thanks.

Changed in mysql-5.1 (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-5.1 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-5.1 (Ubuntu):
status: Incomplete → Expired
Curtis Hovey (sinzui)
no longer affects: null
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.