Bug 1058719

Summary: MySQL server does not restart after unclean reboot
Product: Red Hat Enterprise Linux 6 Reporter: Libor Miksik <lmiksik>
Component: mysqlAssignee: Honza Horak <hhorak>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.5CC: azelinka, byte, chris+bugzilla.redhat.com, databases-maint, dpolyakov, hhorak, lhh, mark, matthias, milan.kerslager, mkolaja, ondrejj, ovasik, pclegg, pm-eus, sclewis, scott, xdmoon
Target Milestone: rcKeywords: Patch, Regression, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: MySQL socket was checked for existence, but it was not checked if any process uses it. Consequence: If a server crashed, it couldn't be started again. Fix: Existence of MySQL socket is ignored in case no process uses it. Result: Server can be restarted after crash.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-12 18:24:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1037650, 1064862    
Bug Blocks:    

Description Libor Miksik 2014-01-28 12:24:26 UTC
This bug has been copied from bug #1037650 and has been proposed
to be backported to 6.5 z-stream (EUS).

Comment 5 Honza Horak 2014-01-28 16:59:11 UTC
How to test:
1. service mysqld start
2. killall -9 mysqld_safe mysqld
3. service mysqld start
4. echo $?

Actual results:
1
Service doesn't start

Expected results:
0
Service starts

Comment 9 errata-xmlrpc 2014-02-12 18:24:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2014-0164.html