Results 1 to 4 of 4

Thread: MySQL won't start

  1. #1
    Join Date
    Jul 2012

    MySQL won't start

    I had a power outage and ever since I've been unable to start the MySQL daemon. I have these errors in /var/log/mysql/error.log:

    130524 20:07:43 [Note] Plugin 'FEDERATED' is disabled.
    130524 20:07:43 InnoDB: The InnoDB memory heap is disabled
    130524 20:07:43 InnoDB: Mutexes and rw_locks use GCC atomic builtins
    130524 20:07:43 InnoDB: Compressed tables use zlib
    130524 20:07:43 InnoDB: Initializing buffer pool, size = 128.0M
    130524 20:07:43 InnoDB: Completed initialization of buffer pool
    130524 20:07:43 InnoDB: highest supported file format is Barracuda.
    InnoDB: The log sequence number in ibdata files does not match
    InnoDB: the log sequence number in the ib_logfiles!
    130524 20:07:43 InnoDB: Database was not shut down normally!
    InnoDB: Starting crash recovery.
    InnoDB: Reading tablespace information from the .ibd files...
    InnoDB: Restoring possible half-written data pages from the doublewrite
    InnoDB: buffer...
    130524 20:07:43 InnoDB: Waiting for the background threads to start
    130524 20:07:44 InnoDB: 5.5.31 started; log sequence number 72354077
    130524 20:07:44 InnoDB: Assertion failure in thread 140690101622528 in file fut0lst.ic line 83
    InnoDB: Failing assertion: == FIL_NULL || addr.boffset >= FIL_PAGE_DATA
    InnoDB: We intentionally generate a memory trap.
    nnoDB: Failing assertion: == FIL_NULL || addr.boffset >= FIL_PAGE_DATAInnoDB: Submit a detailed bug report to
    InnoDB: If you get repeated assertion failures or crashes, even
    InnoDB: immediately after the mysqld startup, there may be
    InnoDB: corruption in the InnoDB tablespace. Please refer to
    InnoDB: about forcing recovery.
    10:07:44 UTC - mysqld got signal 6 ;
    This could be because you hit a bug. It is also possible that this binary
    or one of the libraries it was linked against is corrupt, improperly built,
    or misconfigured. This error can also be caused by malfunctioning hardware.
    We will try our best to scrape up some info that will hopefully help
    diagnose the problem, but since we have already crashed,
    something is definitely wrong and this may fail.

    It is possible that mysqld could use up to
    key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4945524 K bytes of memory
    Hope that's ok; if not, decrease some variables in the equation.

    Thread pointer: 0x0
    Attempting backtrace. You can use the following information to find out
    where mysqld died. If you see no messages after this, something went
    terribly wrong...
    stack_bottom = 0 thread_stack 0x30000
    130524 20:07:44 [Note] Server hostname (bind-address): ''; port: 3306
    130524 20:07:44 [Note] - '' resolves to '';
    130524 20:07:44 [Note] Server socket created on IP: ''.
    The manual page at contains
    information that should help you find out what is causing the crash.

    I'm wondering whether MySQL got corrupted when the power outage occurred. Does anyone know how to recover from something like this?

  2. #2
    Join Date
    Jul 2012

    Re: MySQL won't start

    There is a tool calles "mysqlrepair", which may help you. Check the "--help" output. I guess "-c" (check), and "-r" (repair) are the most interesting parameters for you.

  3. #3
    Join Date
    Feb 2011
    new york state
    Ubuntu Development Release

    Re: MySQL won't start

    what happens if you stop the backend start mysql and then restart the backend ?
    sudo service mythbackend stop
    sudo service mysql start
    sudo service mythbackend start
    Power tends to corrupt, and absolute power corrupts absolutely. Great men are almost always bad men, even when they exercise influence and not authority

  4. #4
    Join Date
    Jul 2012

    Re: MySQL won't start

    I think I've found the solution to this. It turns out to be a Cixtrix XenServer issue (sorry, in hindsight I should have posted it to a different forum).

    I removed the storage respositories from XenServer as per CTX131328 - How to Remove a Storage Repository from XenServer - Citrix Knowledge Center.

    I then followed the instructions at CTX121896 - How to Introduce a Local Storage Repository in XenServer - Citrix Knowledge Center to re-introduce the storage repositories. I reattached them to the Mythbuntu VM and it then booted up fine.

    So definitley a XenServer issue, I think. Hope this helps someone else in the future.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts