Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-08, 02:13:46

Author Topic: Mysqld will not start.  (Read 2106 times)

0 Members and 1 Guest are viewing this topic.

Offline Michael Spencer

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Mysqld will not start.
« on: 2015-06-13, 14:00:04 »
So I was installing a chat server (Mumble) and while doing this I was emailed saying that a clients page was down.

I checked and sure enough it was. I logged in to see what was going on and mysqld had crashed. I tried to restart it and it failed with the following error.

Code: [Select]
150609 17:48:11 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
150609 17:48:11 [Warning] option 'relay_log_space_limit': unsigned value 17179869184 adjusted to 4294967295
150609 17:48:11 [Note] /usr/libexec/mysqld (mysqld 5.5.43) starting as process 29530 ...
150609 17:48:11 [Note] Plugin 'FEDERATED' is disabled.
150609 17:48:11 InnoDB: The InnoDB memory heap is disabled
150609 17:48:11 InnoDB: Mutexes and rw_locks use InnoDB's own implementation
150609 17:48:11 InnoDB: Compressed tables use zlib 1.2.3
150609 17:48:11 InnoDB: Using Linux native AIO
150609 17:48:11 InnoDB: Initializing buffer pool, size = 128.0M
150609 17:48:11 InnoDB: Completed initialization of buffer pool
150609 17:48:11 InnoDB: highest supported file format is Barracuda.
InnoDB: Log scan progressed past the checkpoint lsn 1192812596
150609 17:48:11  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...
InnoDB: Doing recovery: scanned up to log sequence number 1192881317
150609 17:48:11  InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 150609 17:48:11  InnoDB: Error: space id and page n:o stored in the page
InnoDB: read in are 1932485733:539977839, should be 0:1088!
InnoDB: Database page corruption on disk or a failed
InnoDB: file read of page 1088.
InnoDB: You may have to recover from a backup.

150609 17:48:11  InnoDB: Page checksum 3160549759, prior-to-4.0.14-form checksum 2142795346
InnoDB: stored checksum 1696622958, prior-to-4.0.14-form stored checksum 1701716083
InnoDB: Page lsn 1633968431 1752458351, low 4 bytes of lsn at page end 1953654113
InnoDB: Page number (if stored to page already) 539977839,
InnoDB: space id (if created with >= MySQL-4.1.1 and stored already) 1932485733
InnoDB: Database page corruption on disk or a failed
InnoDB: file read of page 1088.
InnoDB: You may have to recover from a backup.
InnoDB: It is also possible that your operating
InnoDB: system has corrupted its own file cache
InnoDB: and rebooting your computer removes the
InnoDB: error.
InnoDB: If the corrupt page is an index page
InnoDB: you can also try to fix the corruption
InnoDB: by dumping, dropping, and reimporting
InnoDB: the corrupt table. You can use CHECK
InnoDB: TABLE to scan your table for corruption.
InnoDB: See also http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
InnoDB: Ending processing because of a corrupt database page.
150609 17:48:11  InnoDB: Assertion failure in thread 2790103952 in file buf0buf.c line 3620
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
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: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
21:48:11 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.

key_buffer_size=67108864
read_buffer_size=1048576
max_used_connections=0
max_threads=151
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 375899 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
/usr/libexec/mysqld(my_print_stacktrace+0x33)[0x8427fe3]
/usr/libexec/mysqld(handle_fatal_signal+0x42b)[0x82d7f1b]
[0xb7708500]
[0xb7708420]
/lib/libc.so.6(gsignal+0x50)[0xb72b2b10]
/lib/libc.so.6(abort+0x101)[0xb72b4421]
/usr/libexec/mysqld[0x852af69]
/usr/libexec/mysqld[0x855dcfd]
/usr/libexec/mysqld[0x84da740]
/lib/libpthread.so.0[0xb76ea912]
/lib/libc.so.6(clone+0x5e)[0xb735f4ae]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
150609 17:48:11 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

I figured that a table had crashed and so I tried to do a few things, including the mysql-to-mariadb switch, and that didn't help.

Not I am missing the pid file for mysql and can not go back to regular mysql...

I am so lost I have no idea where to go from here.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Mysqld will not start.
« Reply #1 on: 2015-06-13, 14:34:01 »
Try 'sh /script/mysql-convert --engine=<engine>' where <engine> = myisam or innodb.

Better update your system with 'yum clean all; yum update -y' because convert.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Michael Spencer

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: Mysqld will not start.
« Reply #2 on: 2015-06-16, 22:10:55 »
Alright, I did what you said, but there seems to be an error. It will not convert to or from Innodb.

When I tried to start it this time from root, I had it output the error when starting.

The new error is as follows.
Code: [Select]
150616 16:11:52 [Note] mysqld (mysqld 10.0.19-MariaDB) starting as process 29076 ...
150616 16:11:52 [Note] InnoDB: Using mutexes to ref count buffer pool pages
150616 16:11:52 [Note] InnoDB: The InnoDB memory heap is disabled
150616 16:11:52 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
150616 16:11:52 [Note] InnoDB: Memory barrier is not used
150616 16:11:52 [Note] InnoDB: Compressed tables use zlib 1.2.3
150616 16:11:52 [Note] InnoDB: Using Linux native AIO
150616 16:11:52 [Note] InnoDB: Not using CPU crc32 instructions
150616 16:11:52 [ERROR] mysqld: Can't create/write to file '/var/lib/mysqltmp/ibXLmgpk' (Errcode: 2 "No such file or directory")
2015-06-16 16:11:52 b71c9700  InnoDB: Error: unable to create temporary file; errno: 2
150616 16:11:52 [ERROR] Plugin 'InnoDB' init function returned error.
150616 16:11:52 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
150616 16:11:52 [ERROR] Failed to initialize plugins.
150616 16:11:52 [ERROR] Aborting

150616 16:11:52 [Note] mysqld: Shutdown complete

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Mysqld will not start.
« Reply #3 on: 2015-06-17, 05:19:35 »
Sebagian orang akan pakai firewall (seperti iptables). Cara termudah adalah men-disable port tersebut di /etc/services. Cari 'smtp' (ada 2 baris) dan ubah menjadi '#smtp'. Kemudian reboot.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Michael Spencer

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: Mysqld will not start.
« Reply #4 on: 2015-06-19, 02:28:24 »
Translated what you said, I think this is correct.
Quote
Most people will use a firewall ( like iptables ) . The easiest way is to disable the port in / etc / services . Search ' smtp ' ( there are 2 lines ) and change it to ' #smtp ' . Then reboot .

This didn't seem to work, as I do not have the firewall on.

Offline Michael Spencer

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: Mysqld will not start.
« Reply #5 on: 2015-07-23, 21:36:04 »
So, I finally removed the offending mysql error, and got it to work.

I did in the mean time make my server a slave with a master so that I could get in and fix it. My problem now is I don't see any of my clients or websites, and hte dns isnt resolving on any of the sites I have on it. I am wondering if I did something wrong when I made it a slave.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Mysqld will not start.
« Reply #6 on: 2015-07-23, 22:06:01 »
What's you did before until 'got it to work'?
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.037 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM