PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Startprobleme mit MYSQL Server unter Suse 9.1



slg2001
12.04.05, 18:44
Hallo,

ich habe Probleme mit dem Start von MYSQL 4.0.18-32.13 unter Suse 9.1.

Wenn ich den Server unter '/etc/init.d/mysql start' ausführe oder mit dem mit dem Command '/usr/sbin/mysqld-max --log=/var/lib/mysql/mysqld.log --user=mysql' start kommt folgender fehler:

-------------------------- cut -------------------------------

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 = 80383 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=0x8434638
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...
Bogus stack limit or frame pointer, fp=0xbffbd5c4, stack_bottom=0x65726200, thread_stack=196608, aborting backtrace.
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0xfffefdfc is invalid pointer
thd->thread_id=1
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.
-------------------------- cut -------------------------------


als nächste habe ich dann '/usr/bin/mysqlbug' ausgeführt
-------------------------- cut -------------------------------

>Description:
<precise description of the problem (multiple lines)>
>How-To-Repeat:
<code/input/activities to reproduce the problem (multiple lines)>
>Fix:
<how to correct or work around the problem, if known (multiple lines)>

>Submitter-Id: <submitter ID>
>Originator: Administrator
>Organization:
<organization of PR author (multiple lines)>
>MySQL support: [none | licence | email support | extended email support ]
>Synopsis: <synopsis of the problem (one line)>
>Severity: <[ non-critical | serious | critical ] (one line)>
>Priority: <[ low | medium | high ] (one line)>
>Category: mysql
>Class: <[ sw-bug | doc-bug | change-request | support ] (one line)>
>Release: mysql-4.0.18 (Source distribution)

>C compiler: gcc (GCC) 3.3.3 (SuSE Linux)
>C++ compiler: g++ (GCC) 3.3.3 (SuSE Linux)
>Environment:
<machine, os, target, libraries (multiple lines)>
System: Linux 2.6.5-7.151-default #1 Fri Mar 18 11:31:21 UTC 2005 i686 athlon i386 GNU/Linux
Architecture: i686

Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.3 (SuSE Linux)
Compilation info: CC='gcc' CFLAGS='-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -DPIC -fPIC -fno-strict-aliasing' CXX='g++' CXXFLAGS='-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fno-strict-aliasing -felide-constructors -fno-exceptions -fno-rtti -fPIC -DPIC' LDFLAGS='' ASFLAGS=''
LIBC:
-rwxr-xr-x 1 root root 1334147 2004-04-05 17:16 /lib/libc.so.6
-rw-r--r-- 1 root root 16782802 2004-04-05 17:16 /usr/lib/libc.a
-rw-r--r-- 1 root root 204 2004-04-05 17:16 /usr/lib/libc.so
lrwxrwxrwx 1 root root 20 2005-01-21 11:59 /usr/lib/libc-client.so -> libc-client.so.2002e
-rwxr-xr-x 1 root root 768036 2004-04-06 03:50 /usr/lib/libc-client.so.2002e
Configure command: ./configure '--disable-shared' '--enable-thread-safe-client' '--with-mysqld-ldflags=-static' '--with-client-ldflags=-static' '--without-berkeley-db' '--with-extra-tools' '--without-innodb' '--enable-assembler' '--enable-large-files' '--infodir=/usr/share/info' '--libdir=/usr/lib' '--libexecdir=/usr/sbin' '--localstatedir=/var/lib/mysql' '--mandir=/usr/share/man' '--prefix=/usr' '--sysconfdir=/etc' '--with-mysqld-user=mysql' '--without-debug' '--datadir=/usr/share' '--includedir=/usr/include' '--with-extra-charsets=complex' '--with-unix-socket-path=/var/lib/mysql/mysql.sock' '--with-libwrap' 'CFLAGS=-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -DPIC -fPIC -fno-strict-aliasing' 'CXXFLAGS=-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fno-strict-aliasing -felide-constructors -fno-exceptions -fno-rtti -fPIC -DPIC'
-------------------------- cut -------------------------------
mit dem kann ich leider auch nicht viel anfangen!

Die einzige Mögichkeit den Server zu start ist mit diesem Command:
/usr/sbin/mysqld --log=/var/lib/mysql/mysqld.log --user=mysql

Daraufhin kann ich mich auch bei phpmyadmin anmelden.

-------------------------- cut -------------------------------

Bei dem '/usr/bin/mysqlcheck --verbose --auto-repair --password=xxxxxx --all-databases'
# Connecting to localhost...
mysql.columns_priv OK
mysql.db OK
mysql.func OK
mysql.host OK
mysql.tables_priv OK
mysql.user OK
# Disconnecting from localhost...
-------------------------- cut -------------------------------

An dem Startscript habe ich nichts geändert!!!! Also kann es dies auch nicht sein, ich bin einfach ratlos!
Aber ich hoffe es kann mir jemand von euch helfen, denn bei google und hier im forum habe ich nichts zu diesem Thema gefunden!

THX

slg2001

alterpinguin
13.04.05, 14:48
dem mysqld, wenn es den "max" gibt? Schau mal in das script rein. Dann kannst Du den mysql-max entfernen und das script sollte funktionieren, da dann wie bei Deiner händischen Eingabe von mysqld dieses Programm gestartet wird. Hast Du schon auf SusE Updates überprüft ob für dieses Problem ein Update da ist, wenn Du unbedingt den mysqld-max laufen lassen musst?

slg2001
13.04.05, 16:36
Es hat leider keine Updates diesbezüglich gegben! Aber nach der Änderung des Start-Skriptes OHNE mysql-max, startet der Server wieder richtig!

slg2001