I am installing MySQL 4.0.9 on a server running Red Hat 8.0 but am running into some 
showstoppers. I seem to have success compiling - no warnings are raised - but 
mysql_install_db will crash when installing the grant tables.

Initially I thought it may have been the hardware configuration (I have had some 
hardware and driver issues) however testing on other systems of different 
configurations end in the same result. Installing the binary distribution will work 
fine, but unfortunately I need to modify the stopword list in ft_static.c

Is anyone else experiencing these problems under Red Hat 8.0? I notice from mailing 
lists there are some known issues but these seem to be of a different nature to the 
ones I am experiencing.



Here is my configure line:

./configure --prefix=/usr/local/mysql --localstatedir=/home/database/mysql 
--enable-assembler --disable-shared --with-mysqld-ldflags=-all-static 
--with-client-ldflags=-all-static --enable-thread-safe-client



Here is the output from mysql_install_db:

# ./scripts/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 diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=8388600
read_buffer_size=131072
sort_buffer_size=2097144
max_used_connections=0
max_connections=100
threads_connected=1
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.

thd=0x83b1720
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=0xbf5fea88, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x8088860
0x822b9b8
0x8242336
0x80980fd
0x809adde
0x8097f1c
0x80929c0
0x8226e0d
0x82629da
./scripts/mysql_install_db: line 1: 24876 Segmentation fault      
/usr/local/mysql/libexec/mysqld --bootstrap --skip-grant-tables 
--basedir=/usr/local/mysql --datadir=/home/database/mysql --skip-innodb --skip-bdb
Installation of grant tables failed!



Here is some additional information from mysqlbug:

Release:        mysql-4.0.9-gamma (Source distribution)
C compiler:     gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
C++ compiler:   g++ (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
System: Linux minime 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 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/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-redhat-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=''  CXX='g++'  CXXFLAGS=''  LDFLAGS=''  ASFLAGS=''
LIBC: 
lrwxrwxrwx    1 root     root           14 Jan 25 17:36 /lib/libc.so.6 -> 
libc-2.2.93.so
-rwxr-xr-x    1 root     root      1235468 Sep  5 23:12 /lib/libc-2.2.93.so
-rw-r--r--    1 root     root      2233342 Sep  5 22:59 /usr/lib/libc.a
-rw-r--r--    1 root     root          178 Sep  5 22:50 /usr/lib/libc.so
Configure command: ./configure '--prefix=/usr/local/mysql' 
'--localstatedir=/home/database/mysql' '--enable-assembler' '--disable-shared' 
'--with-mysqld-ldflags=-all-static' '--with-client-ldflags=-all-static' 
'--enable-thread-safe-client'



I hope this information is helpful to anyone who might be willing to have a look into 
this. If there is any other assistance I can provide please let me know.

Cheers,
Duncan
[EMAIL PROTECTED]

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to