Bug #7477 "mysql-test-run --with-ndbcluster" fails to start up on 32bit HP-UX
Submitted: 22 Dec 2004 12:00 Modified: 11 Jan 2005 8:35
Reporter: Lenz Grimmer Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:4.1 OS:HP/UX (HP-UX 11.00/11.11)
Assigned to: Tomas Ulin CPU Architecture:Any

[22 Dec 2004 12:00] Lenz Grimmer
Description:
The 32bit binaries of MySQL Cluster 4.1.8 fail to pass the test suite - it stops at this point:

[SNIP]
mysqldev@hp3750:/home/mysqldev/hp3750/test/mysql-cluster-4.1.8-hp-hpux11.00-hppa2.0w/mysql-test> ./mysql-test-run --tmpdir=/tmp --with-ndbcluster
Installing Test Databases
Removing Stale Files
Installing Master Databases
running  ../bin/mysqld --no-defaults --bootstrap --skip-grant-tables     --basedir=.. --datadir=mysql-test/var/master-data --skip-innodb --skip-ndbcluster --skip-bdb
Installing Master Databases 1
running  ../bin/mysqld --no-defaults --bootstrap --skip-grant-tables     --basedir=.. --datadir=mysql-test/var/master-data1 --skip-innodb --skip-ndbcluster --skip-bdb
Installing Slave Databases
running  ../bin/mysqld --no-defaults --bootstrap --skip-grant-tables     --basedir=.. --datadir=mysql-test/var/slave-data --skip-innodb --skip-ndbcluster --skip-bdb
Manager disabled, skipping manager start.
Starting ndbcluster
rm: /home/mysqldev/hp3750/test/mysql-cluster-4.1.8-hp-hpux11.00-hppa2.0w/mysql-test/var/ndbcluster-9350/ndb_1_fs directory
rm: /home/mysqldev/hp3750/test/mysql-cluster-4.1.8-hp-hpux11.00-hppa2.0w/mysql-test/var/ndbcluster-9350/ndb_2_fs directory
Starting ndbd
Starting ndbd
Waiting for started...
waitNodeState(STARTED, -1) resetting number of attempts 0
[CTRL+C]
[SNIP]

The 64bit binaries however start up and pass the test suite just fine on the same machine. After aborting the test suite with CTRL+C, one can see that there are ndbd and ndbd_mgmd processes in the process list.

How to repeat:
Try to run "mysql-test-run --with-ndbcluster" on the 32bit HP-UX binaries and compare to the results of the 64bit ones.
[22 Dec 2004 12:05] Lenz Grimmer
This happens on both HP-UX 11.00 and 11.11 (PA-RISC)
[10 Jan 2005 11:04] Joerg Bruehe
With 4.1.9 (changeset 
  1.2190.1.1 05/01/07 12:29:15 lenz@mysql.com +1 -0
  - Updated Do-pkg to include the MySQL Preference Pane into the Mac OS X
    installation disk images
) the symptom changed slightly, but is still specific to HP, 32 bit:

=== cut ===
Manager disabled, skipping manager start.
Starting ndbcluster
Starting ndbd
Starting ndbd
Waiting for started...
waitNodeState(STARTED, -1) resetting number of attempts 0
waitNodeState(STARTED, -1) resetting number of attempts 1
waitNodeState(STARTED, -1) resetting number of attempts 2
waitNodeState(STARTED, -1) resetting number of attempts 3
waitNodeState(STARTED, -1) resetting number of attempts 4
waitNodeState(STARTED, -1) resetting number of attempts 5
waitNodeState(STARTED, -1) resetting number of attempts 6
waitNodeState(STARTED, -1) resetting number of attempts 7
waitNodeState(STARTED, -1) resetting number of attempts 8
waitNodeState(STARTED, -1) resetting number of attempts 9
waitNodeState(STARTED, -1) resetting number of attempts 10
waitNodeState(STARTED, -1) timeout after 121 attemps
Ndbcluster startup failed
=== cut ===
[11 Jan 2005 8:35] Tomas Ulin
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html