Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-15-2006, 08:08 AM   #1
LQ Newbie
Registered: May 2004
Distribution: Debian GNU/Linux
Posts: 12

Rep: Reputation: 0
Mysql startup problems

Hi All,

I am using MySQL on a Debian Sarge. I used apt-get to upgrade from 4.0 to 5.0.21. After this upgrade the MySQL server doesn't want to start anymore. I have tried everything that sounded logical to me and have read almost "every" bug or error report on the Internet; but no progress so far.

If I try "/etc/init.d/mysql start", this is what I get:
...failed or took more than 6s.
Please take a look at the syslog.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
If try "mysqld_safe", this is what I get then:
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[1541]: started
STOPPING server from pid file /var/run/mysqld/
mysqld_safe[1548]: ended
Running "mysqld" gives this:
mysqld got signal 11;
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_connections = 233983 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

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...
Cannot determine thread, fp=0x42327158, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read and follow instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do
resolve it
The manual page at contains
information that should help you find out what is causing the crash.
Does anyone know, what is going on here? Any pointers and help is appreciated.
Thanks in advance.

Last edited by azeini; 05-15-2006 at 08:28 AM.
Old 05-15-2006, 11:46 AM   #2
LQ Newbie
Registered: May 2004
Distribution: Debian GNU/Linux
Posts: 12

Original Poster
Rep: Reputation: 0
Replying to myself:

The problem was partly solved by removing the tls directory from /lib. That helps restarting the server. But then I got some other problems with user privileges that I am trying to solve


mysql, mysql5

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-08-2008 12:48 AM
MySql Startup Under FC5 Linux31 Fedora 2 04-20-2006 06:14 PM
mysql startup eyewittness Linux - Software 1 07-23-2005 10:04 AM
apache/mysql startup robyne *BSD 1 07-11-2005 02:34 AM
Mysql install and startup buttersoft Slackware - Installation 5 03-15-2005 05:39 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:39 AM.

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