LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 05-15-2006, 07:08 AM   #1
azeini
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:
Quote:
...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:
Quote:
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[1541]: started
STOPPING server from pid file /var/run/mysqld/mysqld.pid
mysqld_safe[1548]: ended
Running "mysqld" gives this:
Quote:
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.

key_buffer_size=16777216
read_buffer_size=131072
max_used_connections=0
max_connections=100
threads_connected=0
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.

thd=(nil)
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:
0x8195bac
0x42327450
(nil)
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://dev.mysql.com/doc/mysql/en/Us...ack_trace.html 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 http://www.mysql.com/doc/en/Crashing.html 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 07:28 AM.
 
Old 05-15-2006, 10:46 AM   #2
azeini
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
 
  


Reply

Tags
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
Trackbacks are Off
Pingbacks are On
Refbacks are 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-07-2008 11:48 PM
MySql Startup Under FC5 Linux31 Fedora 2 04-20-2006 05:14 PM
mysql startup eyewittness Linux - Software 1 07-23-2005 09:04 AM
apache/mysql startup robyne *BSD 1 07-11-2005 01:34 AM
Mysql install and startup buttersoft Slackware - Installation 5 03-15-2005 04:39 PM


All times are GMT -5. The time now is 02:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration