LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-18-2014, 04:53 PM   #1
pix9
Member
 
Registered: Jan 2010
Location: Mumbai, India
Distribution: ArchLinux, Fedora 24, Centos 7.0
Posts: 177

Rep: Reputation: 19
Question unable to start mysql on RHEL6.2


Hi Firends,
I am not able to start mysql on one of the systems. Here is what I did to to get into this trouble
Mysql was already running on the server, was master server, I gracefully stopped by running following command.

sudo mysqladmin flush-tables && sudo mysqladmin flush-tables && sudo mysqladmin flush-tables && sudo /etc/init.d/mysqld stop

after that I synced data on other 2 servers
using rsync

OS/package and mysql details OS RHEL6.2

Code:
$ uname -r
2.6.32-358.2.1.el6.x86_64

$ rpm -qa|grep  mysql
php-mysql-5.3.3-3.el6_1.3.x86_64
mysql-5.1.52-1.el6_0.1.x86_64
mysql-server-5.1.52-1.el6_0.1.x86_64
mysql-libs-5.1.52-1.el6_0.1.x86_64

after that I tried starting mysql but it didin't started.
below is my my.cnf file
Code:
$ cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
server-id=833
report-host=X.X.X.X
log-bin=/var/log/mysql/binary/mysql-bin.log

innodb_file_per_table

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
[mysqldump]
quick
max_allowed_packet=64M

[myisamchk]
key_buffer=256M
sort_buffer_size=256M
read_buffer=2M
write_buffer=2M

[mysqlhotcopy]
interactive-timeout
#note I've replace ip address with X.X.X.X for security reasons

permissions on data directory are fine it is mysql.mysql

following is the error I am getting in /var/log/mysqld.log
(NOTE: log was too big to be pasted over here so used pastebin insted.)

http://pastebin.com/Mmz2D31m

Thank you for your efforts and time.

Regards
 
Old 06-18-2014, 05:47 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Did you read the log?

Code:
InnoDB: Starting crash recovery.
...
InnoDB: Page directory corruption: infimum not pointed to
140619 
...
InnoDB: Error: trying to access a stray pointer 0x80007fbcde84bff8
InnoDB: buf pool start is at 0x7fbcde83c000, end at 0x7fbcdf03c000
InnoDB: Probable reason is database corruption or memory
InnoDB: corruption. If this happens in an InnoDB database recovery, see
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html
InnoDB: how to force recovery.
Did you consult http://dev.mysql.com/doc/refman/5.1/...-recovery.html ?
 
Old 06-18-2014, 06:53 PM   #3
pix9
Member
 
Registered: Jan 2010
Location: Mumbai, India
Distribution: ArchLinux, Fedora 24, Centos 7.0
Posts: 177

Original Poster
Rep: Reputation: 19
yes I tried those options of

innodb_force_recovery = 1 upto 6 but didn't worked.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to start MySQL on CentOS 6.2 probuddha Linux - Server 7 06-27-2012 02:41 AM
[SOLVED] Unable to start mysql in slackware Genocide_Hoax Linux - Newbie 3 01-23-2012 06:01 AM
After moving mysql db to NFS[netapp] unable to start mysql server throws error naveenrajn Linux - General 3 09-13-2010 02:20 AM
Unable to start mysql Red Squirrel Linux - Software 2 01-31-2009 11:38 PM
unable to start mysql alee Linux - Software 3 05-14-2008 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration