LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-19-2010, 08:07 PM   #16
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101

Hi,

Quote:
Originally Posted by zushiba View Post
101119 9:12:12 [ERROR] Error message file '/usr/share/mysql/english/errmsg.sys' had only 480 error messages,
but it should contain at least 705 error messages.
Check that the above file is the right version for this program!
/usr/libexec/mysqld: Unknown error 1146
I had got this problem when updating MySQL to version 5.1.x. It seems that you are running 64-bit with a both of mysql.i386 and mysql.x86-64 version. And you got this problem because of the mysql-server upgrade to new version but the mysql-client still keep the old version. And the solution is download the source code of right mysql-server version which you are running, extract it, and copy the errmsg.sys to the correlative path in the server.

The next time, you should remove the mysql.i386 version before updating.
 
Old 11-19-2010, 11:12 PM   #17
zushiba
LQ Newbie
 
Registered: Sep 2007
Posts: 15

Original Poster
Rep: Reputation: 0
That sounds reasonable. Since this is a test box I'm free to do just that. I'll give it a try when I get back to work Monday. Thanks for the tip I'll post to success or failure whichever comes first.
 
Old 11-22-2010, 11:06 AM   #18
d072330
Member
 
Registered: Nov 2007
Location: USA
Distribution: CentOS 5/6
Posts: 186

Rep: Reputation: 6
@quanta - good catch did not see that.

Hopefully that fixes the problem. Let us know.
 
Old 11-22-2010, 11:14 PM   #19
zushiba
LQ Newbie
 
Registered: Sep 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Well I did manage to get MySQL working correctly and creating it sock with a reinstall. However for whatever reason php-mysql would not install. I downgraded from 5.3.4(remi's latest release) to the 5.3.3 release which also didn't work. I removed that version and managed to get it working via this http://www.webtatic.com/blog/2009/06...0-on-centos-5/
 
Old 06-18-2011, 11:21 PM   #20
ThreeDFX
LQ Newbie
 
Registered: Jun 2011
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by quanta View Post
Hi,


I had got this problem when updating MySQL to version 5.1.x. It seems that you are running 64-bit with a both of mysql.i386 and mysql.x86-64 version. And you got this problem because of the mysql-server upgrade to new version but the mysql-client still keep the old version. And the solution is download the source code of right mysql-server version which you are running, extract it, and copy the errmsg.sys to the correlative path in the server.

The next time, you should remove the mysql.i386 version before updating.
Thank you, so much. I registered just to say thanks. Been searching for hours with the same problem. I had added a non standard redhat repo to grab a php package from this century (seriously redhat, 5.1.6?). It pulled my mysql install from that repo and also carried over some x86 nonsense. I had to do the following:

- Wipe everything from the previous MySQL installs (including any conflicting files)
- Clean Yum
- Temporarily disable my custom repo

Worked just fine. Thank you for posting that and not just blowing the original poster off like almost every other forum thread found through google seems to be full of.
 
Old 07-04-2011, 05:13 AM   #21
JINXING
LQ Newbie
 
Registered: Mar 2010
Location: china
Distribution: redhat5.5
Posts: 6

Rep: Reputation: 0
vi /etc/my.cnf
# For low memory, Berkeley DB should not be used so keep skip-bdb uncommented unless required
#skip-bdb

comment out of the "skip-bdb" section.
TRY it.
 
Old 09-29-2011, 07:08 PM   #22
Carnix
LQ Newbie
 
Registered: Aug 2011
Posts: 10

Rep: Reputation: Disabled
I had the same problem...

So, I was having the same issue. Exactly the same across the board -- all your posts and outputs matched my exactly. After hours or trolling google and beating my head against the wall I did something extraordinary.

I RTFM.... http://dev.mysql.com/tech-resources/...sql_intro.html

$ sudo mysql_install_db

It did some stuff... then when I started mysqld ($ sudo /sbin/service mysqld start) I got that wonderful... beautiful... [ OK ]
 
1 members found this post helpful.
Old 04-18-2012, 03:25 PM   #23
chris407x
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
Red face Another cause of mysqld not restarting

I was backing up a database when this happened to me: mysqld would not restart, even after a system restart. What had happened in the middle of the backup was that the disk became 100% full and mysql could not even create its .pid file. Just run
Code:
df -h
to check your disk space.
 
Old 05-17-2013, 10:09 PM   #24
revil
LQ Newbie
 
Registered: Feb 2012
Posts: 3

Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by Carnix View Post
So, I was having the same issue. Exactly the same across the board -- all your posts and outputs matched my exactly. After hours or trolling google and beating my head against the wall I did something extraordinary.

I RTFM.... http://dev.mysql.com/tech-resources/...sql_intro.html

$ sudo mysql_install_db

It did some stuff... then when I started mysqld ($ sudo /sbin/service mysqld start) I got that wonderful... beautiful... [ OK ]
Thanks, mate! It solved my problem!
 
Old 08-29-2013, 09:15 PM   #25
HollywoodMarks
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Rep: Reputation: Disabled
Thank you

Thank you for posting that. I also removed and re-installed, but it wasn't 'til after I ran the install line that it started.

# mysql_install_db
 
  


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
mysql daemon won't start on boot Foress_89 Slackware 12 01-03-2009 12:53 PM
mysql failed to start. reinstall failed either!!! gavin2u Linux - Server 10 11-13-2008 10:07 PM
mysql daemon fail to start on slackware 10.2 sharathg786 Linux - Server 6 10-05-2006 02:53 PM
MySQL - Timeout error occurred trying to start MySQL Daemon. stuartornum Linux - Software 3 02-26-2006 12:54 PM
can't start mysql daemon IceGrill Linux - Software 3 07-29-2003 07:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:32 AM.

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