469,140 Members | 1,202 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,140 developers. It's quick & easy.

4.0.14 install problem: mysqld crashes

Description: I've recently compiled mysql 4.0.14 on redhat 8.0.
The installation fails, however, when running mysql_install_db.
I've attached a transcript below.

I gather from searching the 'net that this isn't an entirely
unusual thing to happen, and is likely the result of some
misconfiguration on my part, or perhaps a version incompatability
with my libc. Unfortunately, I haven't seen any concrete suggestions
on how to get past it.

I've studied the installation instructions pretty closely,
experimented with various compilation flags. I just keep getting
the same results.

This should be a pretty vanilla installation. Can someone please
point me in the direction of figuring out what I'm doing wrong?
How-To-Repeat: Geez ... how *not* to repeat it :)
Fix: dunno Submitter-Id: ga**@cotecorner.com
Originator: Gary
Organization: personal use MySQL support: email support
Synopsis: 4.0.14 install problems; mysqld crashes
Severity: minor
Priority: low
Category: mysql
Class: sw-bug
Release: mysql-4.0.14 (Source distribution) C compiler: gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
C++ compiler: gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

<machine, os, target, libraries (multiple lines)>
System: Linux xeon 2.4.20-19.7 #2 Wed Aug 20 14:21:18 CDT 2003 i686 i686
i386 GNU/Linux
Architecture: i686

Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with:
.../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking --host=i386-redha
t-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Compilation info: CC='gcc' CFLAGS='-O3 ' CXX='gcc'
CXXFLAGS='-O3 -fno-exceptions -fno-rtti -felide-constructors' LDFLAGS=''
lrwxrwxrwx 1 root root 14 Aug 21 17:58 /lib/libc.so.6 ->
-rwxr-xr-x 1 root root 1235468 Sep 5 2002 /lib/libc-2.2.93.so
-rw-r--r-- 1 root root 2233342 Sep 5 2002 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Sep 5 2002 /usr/lib/libc.so
Configure command: ./configure '--prefix=/usr/local/mysql'
'--enable-assembler' '--with-mysqld-ldflags=-all-static' 'CFLAGS=-O3 '
'CXXFLAGS=-O3 -fno-exceptions -fno-rtti -felide-constructors' 'CXX=gcc'

$ ./mysql_install_db

Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
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
the problem, but since we have already crashed, something is definitely
and this may fail.

It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections =
225791 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=0xbf5fea68, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
../mysql_install_db: line 1: 31298 Segmentation fault
/usr/local/mysql/libexec/mysqld --bootstrap --skip-grant-tables --basedir=/u
sr/local/mysql --datadir=/usr/local/mysql/var --skip-innodb --skip-bdb
Installation of grant tables failed!

Examine the logs in /usr/local/mysql/var for more information.
You can also try to start the mysqld daemon with:
/usr/local/mysql/libexec/mysqld --skip-grant &
You can use the command line tool
/usr/local/mysql/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/local/mysql/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /usr/local/mysql/var that may be helpful.

The latest information about MySQL is available on the web at
Please consult the MySQL manual section: 'Problems running
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/local/mysql/bin/mysqlbug

MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
0 2088

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Lonn Hunter | last post: by
reply views Thread by thomas-lists | last post: by
reply views Thread by I.P. | last post: by
reply views Thread by Gary Cote | last post: by
reply views Thread by Mark88 | last post: by
1 post views Thread by Jeremy Kohansimeh | last post: by
2 posts views Thread by pc | last post: by
1 post views Thread by PowerLifter1450 | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.