Bug #27805 mysql-server 5.0.37 don't install on redhat 9
Submitted: 13 Apr 2007 9:49 Modified: 4 May 2007 11:41
Reporter: christophe hubert Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:5.0.37 OS:Linux (redhat 9)
Assigned to: CPU Architecture:Any

[13 Apr 2007 9:49] christophe hubert
Description:
On fresh installation of redhat 9, I can't install mysql-server 5.0.37 (tried the rhel 3 and normal glib23). Symptom is stalled installation :

When launching rpm -Uvh MySQL-server-community-5.0.37-0.rhel3.i386.rpm :

warning: MySQL-server-community-5.0.37-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
   1:MySQL-server-community ########################################### [100%]
Then nothing.

ps shows this :

root     17226  1.2  0.4  8284 4272 pts/1    S    19:16   0:01 rpm -Uvh MySQL-server-community-5.0.37-0.rhel3.i386.rpm
root     21697  0.0  0.1  4156 1048 pts/1    S    19:16   0:00 /bin/sh /var/tmp/rpm-tmp.31091 1
root     20179  0.0  0.1  4176 1108 pts/1    S    19:16   0:00 /bin/sh /usr/bin/mysql_install_db --rpm --user=mysql
root      6194  0.1  0.1  4316 1172 pts/1    S    19:16   0:00 /bin/sh /usr/bin/mysql_create_system_tables real /var/lib/mysql/mysql formation.agarik.com 0
root     25763  0.0  0.1  4176 1116 pts/1    S    19:16   0:00 /bin/sh /usr/bin/mysql_install_db --rpm --user=mysql
mysql    11189  0.0  0.3 17588 3884 pts/1    S    19:16   0:00 /usr/sbin/mysqld --bootstrap --skip-grant-tables --basedir=/ --datadir=/var/lib/mysql --skip-innodb --skip-bdb --skip-ndbcluster --user=mysql --max_allowed_packet=8M --net_buffer_length=16K
root     26582  0.0  0.0  3448  428 pts/1    S    19:16   0:00 cat

As I can see, there's a cat running (chasing mouses?) that must be waiting for something (don't have mouse here, will wait for a long time).
When I kill it (after waiting several minutes) :

/usr/bin/mysql_create_system_tables: line 778: 26582 Terminated
cat  <<END_OF_DATA
use mysql;
set table_type=myisam;
$c_d
$i_d

$c_h
$i_h

$c_u
$i_u

$c_f
$i_f

$c_t
$c_c

$c_ht
$c_hc
$c_hr
$c_hk

$c_tzn
$i_tzn
$c_tz
$i_tz
$c_tzt
$i_tzt
$c_tztt
$i_tztt
$c_tzls
$i_tzls

$c_p
$c_pp

END_OF_DATA

And stalled again.
Ps shows this :
root     17226  0.1  0.4  8284 4272 pts/1    S    19:16   0:01 rpm -Uvh MySQL-server-community-5.0.37-0.rhel3.i386.rpm
root     21697  0.0  0.1  4156 1048 pts/1    S    19:16   0:00 /bin/sh /var/tmp/rpm-tmp.31091 1
root     20179  0.0  0.1  4176 1108 pts/1    S    19:16   0:00 /bin/sh /usr/bin/mysql_install_db --rpm --user=mysql
root     25763  0.0  0.1  4176 1116 pts/1    S    19:16   0:00 /bin/sh /usr/bin/mysql_install_db --rpm --user=mysql
mysql    11189  0.0  0.3 17588 3884 pts/1    S    19:16   0:00 /usr/sbin/mysqld --bootstrap --skip-grant-tables --basedir=/ --datadir=/var/lib/mysql --skip-innodb --skip-bdb --skip-ndbcluster --user=mysql --max_allowed_packet=8M --net_buffer_length=16K

5.0.27 works fine.

How to repeat:
rpm -Uvh MySQL-server-community-5.0.37-0.rhel3.i386.rpm on a fresh install
[13 Apr 2007 13:53] Valeriy Kravchuk
Thank you for a problem report. As RH9 has kernel 2.4.x, as far as I remember, it can be a duplicate of bug #27714. Please, check.
[13 Apr 2007 14:04] christophe hubert
Sounds like the same bug, I'll try to test on a redhat 9 with a 2.6 kernel when I'll get time.
[14 Apr 2007 17:10] Valeriy Kravchuk
Please, inform about the results of your tests with 2.6.x kernel.
[16 Apr 2007 8:36] christophe hubert
Install works on the same RH9 upgraded to use a 2.6 kernel. Only lilo and stuff for modules are upgraded, all others packages are the same. Seems to be a bug with 2.4 kernel
[16 Apr 2007 10:43] Valeriy Kravchuk
Please, send the results of:

getconf GNU_LIBPTHREAD_VERSION
getconf GNU_LIBC_VERSION

from your environment with kernel 2.4.x and 2.6.x.
[16 Apr 2007 10:49] christophe hubert
here it goes :

2.4.33
# getconf GNU_LIBPTHREAD_VERSION
NPTL 0.29
# getconf GNU_LIBC_VERSION
glibc 2.3.2

2.6.19
# getconf GNU_LIBPTHREAD_VERSION
NPTL 0.29
# getconf GNU_LIBC_VERSION
glibc 2.3.2
[4 May 2007 11:41] Valeriy Kravchuk
Let's consider this a duplicate of http://bugs.mysql.com/bug.php?id=27714 (and, likely, http://bugs.mysql.com/bug.php?id=27970) for now.