List:Cluster« Previous MessageNext Message »
From:Jonas Oreland Date:August 16 2004 6:57pm
Subject:Re: Cluster installation on Solaris 9
View as plain text  
Qi Chen wrote:
> Jonas,
> 
> 
> So if I conclude:
> - 4.1.3 suffers from the bus error on sparc, this is a known bug in
> 4.1.3
> <<<
> 
> Yes.  I tried compile 4.1.3 with GCC 2.95.3 and GCC 3.3.  Both compiled
> ndbd code got bus error.  The compile and installation were fine.
> 
> 
> - in 4.1-bk these bugs has been solved.
> - you fail to compile 4.1-bk.
> So could you then please give error message/prinout that you get
> when compiling 4.1-bk on sparc.
> <<<
> 
> Yes. Yesterday, I re-downloaded 4.1-bk, and I still get the compile
> error.  I will send you my screen dump file for my compile process.
> Since the files are sort of big, I will send them directly to your mail
> box with a separate email.
> 
> Thanks,
> Qi

Hi,

I will fix those problems tomorrow at work.

/Jonas


> ------------------------
> 
> Alex, did you get the bus error when compiling 4.1-bk?
> Why does your compilation work, while Qi's fail?
> 
> /jonas
> 
> ----- Original Message ----- 
> From: "Qi Chen" <qi.chen@stripped>
> To: "'Jonas Oreland'" <jonas@stripped>; "'Alexander Haubold'"
> <ah297@stripped>; "'Magnus Svensson'" <magnus.svensson@stripped>
> Cc: <cluster@stripped>
> Sent: Sunday, August 15, 2004 1:24 AM
> Subject: RE: Cluster installation on Solaris 9
> 
> 
> 
>>Jonas,
>>
>>I have tried both 4.1.3 source and bitkeeper 4.1.  The problems are on
>>Sun Solaris 9 machine.
>>
>>With 4.1.3 source, the cofigure/make/make install seems all ok, no
>>significant errors.  Ndb_mgmt starts ok.  However, when I start ndbd,
> 
> I
> 
>>get a "Bus Error".
>>
>>With bitkeeper 4.1, I always have compile errors when I run
>>BUILD/compile-solaris-sparc.
>>
>>With the same 4.1.3 source code, I set up ndbcluster ok on our RedHat
>>Fedora machine.  It means that ndbcluster is tricky on Sun Solaris
>>machine, at least on Solaris 9.
>>
>>If you need any further information, please let me know.
>>
>>Thanks,
>>Qi
>>
>>-----Original Message-----
>>From: Jonas Oreland [mailto:jonas@stripped]
>>Sent: Saturday, August 14, 2004 4:02 PM
>>To: Qi Chen; 'Alexander Haubold'; 'Magnus Svensson'
>>Cc: cluster@stripped
>>Subject: Re: Cluster installation on Solaris 9
>>
>>Hi Qi & Alex,
>>
>>Sorry to hear that you have so much trouble.
>>
>>I just wanted to ask if you're using 4.1.3, or using the latest
>>source from bitkeeper?
>>
>>If you're using 4.1.3 there are atleast the following bugs which have
>>been
>>solved.
>>These fixes will be in 4.1.4, (or in the bitkeeper tree ofcourse).
>>
>>http://bugs.mysql.com/bug.php?id=4384
>>http://bugs.mysql.com/bug.php?id=4800
>>http://bugs.mysql.com/bug.php?id=4908
>>
>>For information on how to access the public repository
>>see http://www.mysql.com/doc/I/n/Installing_source_tree.html
>>
>>If you are using the latest source, please file a bug report @
>>http://bugs.mysql.com/ with as much info as possible, and I will try
> 
> to
> 
>>fix
>>it asap.
>>
>>Regards,
>>    Jonas Oreland
>>
>>---
>>Jonas Oreland
>>Software Developer
>>MySQL AB
>>
>>----- Original Message ----- 
>>From: "Qi Chen" <qi.chen@stripped>
>>To: "'Alexander Haubold'" <ah297@stripped>; "'Magnus Svensson'"
>><magnus.svensson@stripped>
>>Cc: <cluster@stripped>
>>Sent: Sunday, August 15, 2004 12:35 AM
>>Subject: RE: Cluster installation on Solaris 9
>>
>>
>>
>>>Alex,
>>>
>>>I tried gcc 2.95.3 (I could not find 2.95.4 on GNU GCC site) on the
>>
>>same
>>
>>>Solaris machine with no luck.  The compile even failed.
>>>
>>>With the same MySQL 4.1.3 source code, I am able to set cluster up
> 
> on
> 
>>>our RedHat Fedora (core 1) Linux machine.  When I type "show storage
>>>engines;" command, I can see NDBCLUSTER is YES on that Linux
> 
> machine.
> 
>>>What is your Libtool version?  Mine is 1.5.8.  Magnus suggested
> 
> using
> 
>>>1.5.6.  I will give it a try next.  What is your ncurses version?  I
>>
>>am
>>
>>>a little bit confused with ncurses.  I installed ncurses 5.4, but
> 
> when
> 
>>I
>>
>>>check the libncurses, I found it is libncurses.so.5.0.4. (if ncurses
>>>5.3, then libncurses.so.5.0.3)  Based on Anders Karlsson (1.1)
>>>instruction, I need libncurses (5.2.2).  I don't know where to get
>>>libncurses 5.2.2.  What is your libcurses status? (see
>>>
>>
> http://dev.mysql.com/tech-resources/articles/mysql-cluster-for-mysql-use
> 
>>>rs.html)
>>>
>>>I will let you know if I have anything new.
>>>
>>>Thanks,
>>>Qi
>>>-----Original Message-----
>>>From: Alexander Haubold [mailto:ah297@stripped]
>>>Sent: Friday, August 13, 2004 6:47 PM
>>>To: Qi Chen; 'Magnus Svensson'
>>>Cc: cluster@stripped
>>>Subject: RE: Cluster installation on Solaris 9
>>>
>>>Qi,
>>>
>>>I am using gcc 3.3.2, bison 1.875, and the rest of the packages are
>>>roughly
>>>the same versions.
>>>
>>>Magnus suggested running gdb using the core file from the Bus Error.
>>>Have a
>>>look at some of my most recent posts to the list (simply search for
>>>keyword
>>>"solaris"), and you will find the results of gdb. There appears to
> 
> be
> 
>>>some
>>>problem with the Configuration during start-up of ndbd. Last I
> 
> heard,
> 
>>>Magnus wanted to make this into a bug report for further
>>
>>investigation.
>>
>>>Please let us know if you have any further luck.
>>>
>>>- Alex
>>>
>>>At 07:28 PM 8/13/2004, Qi Chen wrote:
>>>
>>>>Alex and Magnus,
>>>>
>>>>I also got a Bus Error.  Here is my installation procedure:
>>>>
>>>>Server machine: Sun Enterprise Ultra 3500, sun4u with Solaris 9
> 
> with
> 
>>>the
>>>
>>>>kernel patch Generic_112233-08.
>>>>
>>>>Downloaded MySQL 4.1.3 tarball source file.
>>>>
>>>>I have ncurses (5.4), gmake(3.8) gawk(3.12), autoconf(2.59),
>>>>libtool(1.58) gcc(3.3), bison(1.75), zlib(1.2.1), openssl(0.9.7d).
>>>>
>>>>Run configure first with the following options:
>>>>./configure \
>>>>--prefix=/some/of/our/installation/directory \
>>>>--localstatedir=/some/of/our/data/directory \
>>>>--with-mysql-user=mysql \
>>>>--with-openssl \
>>>>--with-vio \
>>>>--enable-thread-safe-client \
>>>>--enable-local-infile \
>>>>--with-example-storage-engine \
>>>>--with-ndbcluster \
>>>>--with-ndb-shm
>>>>
>>>>Configuration runs ok.
>>>>
>>>>Run make, make finished successfully.  Then run 'make install'.  So
>>>
>>>far,
>>>
>>>>so good.
>>>>
>>>>Following the MySQL menu within MySQL Cluster section, run
> 
> ndb_mgmd.
> 
>>>>Ndb_mgmd daemon starts ok.  Good!
>>>>
>>>>Start ndbd daemon.  Got syntax error.  Correct the syntax error
> 
> with
> 
>>>the
>>>
>>>>following command:
>>>>
>>>>$MYSQL_HOME/libexec/ndbd -c 'nodeid=2;host=localhost:2200' -d
>>>>where $MYSQL_HOME is the directory we have MySQL server with 'make
>>>>install' command.
>>>>
>>>>Or
>>>>
>>>>$MYSQL_HOME/libexec/ndbd -d
>>>>Note: the Ndb.cfg file is under the same directory where ndbd
> 
> command
> 
>>>>locates.
>>>>
>>>>Both ndbd commands above cause a "Bus Error".  No further message
>>>>available, and ndbd command is aborted.
>>>>
>>>>
>>>>What is your GCC version?
>>>>Do you have any significant difference with the tools version?
>>>>
>>>>I will try MySQL 5.0.1 with exactly same procedure.
>>>>
>>>>If you have any ideas or suggestions, please let me know.
>>>>
>>>>Thanks,
>>>>Qi
>>>>
>>>>
>>>>
>>>>-----Original Message-----
>>>>From: Alexander Haubold [mailto:ah297@stripped]
>>>>Sent: Friday, August 13, 2004 12:57 PM
>>>>To: Magnus Svensson; Qi Chen
>>>>Cc: cluster@stripped
>>>>Subject: Re: Cluster installation on Solaris 9
>>>>
>>>>Hi Qi,
>>>>
>>>>With Magnus' suggestions, were you able to get MySQL Cluster
> 
> working?
> 
>>>>Are
>>>>you running on a SPARC processor?
>>>>I have posted a number of messages some time ago about how I was
>>
>>unable
>>
>>>>to
>>>>get ndbd started, even after a seemingly successful compile.
>>
>>Executing
>>
>>>>the
>>>>command ndbd produces a Bus Error on the SPARC Ultra 10 with
> 
> Solaris
> 
>>9
>>
>>>>that
>>>>I am using.
>>>>
>>>>I would appreciate if you could report any success story back to
> 
> this
> 
>>>>board. I am curious to find out.
>>>>
>>>>Thanks.
>>>>
>>>>- Alex
>>>>
>>>>
>>>>At 04:50 AM 8/12/2004, Magnus Svensson wrote:
>>>>
>>>>>On Thu, 2004-08-12 at 08:47, Qi Chen wrote:
>>>>>
>>>>>>I have problem to install MySQL Cluster 4.1.3 on Solaris 9.  I
>>>
>>>need
>>>
>>>>>>help.
>>>>>>
>>>>>>My first question is: can I install the cluster from
> 
> downloaded
> 
>>>>source
>>>>
>>>>>>code rather than run "bk clone
> 
> bk://mysql.bkbits.net/mysql-4.1"
> 
>>>and
>>>
>>>>>>"BUILD/compile-solaris-sparc"?
>>>>>
>>>>>Yes.
>>>>>
>>>>>
>>>>>> I downloaded MySQL 4.1.3.  I enabled
>>>>>>"--with-ndbcluster -with-ndb-shm".  Configure, make and make
>>>
>>>install
>>>
>>>>>>were all ok.  However, I cannot find the ndb command such as
>>>>
>>>>mgmtsrvr,
>>>>
>>>>>>ndb, etc. in the installed directories.
>>>>>
>>>>>They have been renamed to ndbd and ndb_mgmd respectively. Sorry
>>
>>about
>>
>>>>>the confusion.
>>>>>
>>>>>
>>>>>>  If I compile and install 4.1.3
>>>>>>with ndb-cluster enabled, does it mean ndb-cluster will be
>>>>
>>>>installed?
>>>>
>>>>>Yes, the binaries for starting a cluster is installed.
>>>>>
>>>>>
>>>>>
>>>>>> What is the
>>>>>>difference between running compile-solaris-sparc script and
>>>>
>>>>compiling
>>>>
>>>>>>the downloaded package from scratch?
>>>>>
>>>>>There should be none. But it's easier to use the scripts in
> 
> BUILD,
> 
>>as
>>
>>>>>you see there are a number of steps to remember otherwise.
>>>>>
>>>>>
>>>>>>I also tried BUILD/compile-solaris-sparc script.  I have
> 
> ncurses
> 
>>>>(5.4)
>>>>
>>>>>>gmake(3.8) gawk(3.12), autoconf(2.59), libtool(1.58) gcc(2.953
>>
>>and
>>
>>>>3.3
>>>>
>>>>>>both tried), bison(1.75), zlib(1.2.1) ready.  However, when I
>>
>>run
>>
>>>>>>BUILD/compile-solaris-sparc, I got the following errors:
>>>>>>
>>>>>>. .
>>>>>>rm -f liblibedit.a
>>>>>>false cru liblibedit.a chared.o el.o fgetln.o history.o map.o
>>>>
>>>>prompt.o
>>>>
>>>>>>readline.
>>>>>>o search.o strlcpy.o tokenizer.o vi.o common.o emacs.o hist.o
>>>
>>>key.o
>>>
>>>>>>parse.o read
>>>>>>.o refresh.o sig.o term.o tty.o help.o fcns.o
>>>>>>gmake[3]: *** [liblibedit.a] Error 1
>>>>>>gmake[3]: Leaving directory
>>>>>>`/mysql_common/src/ndb-cluster/mysql-4.1/cmd-line-ut
>>>>>>ils/libedit'
>>>>>>gmake[2]: *** [all-recursive] Error 1
>>>>>>gmake[2]: Leaving directory
>>>>>>`/mysql_common/src/ndb-cluster/mysql-4.1/cmd-line-ut
>>>>>>ils'
>>>>>>gmake[1]: *** [all-recursive] Error 1
>>>>>>gmake[1]: Leaving directory
>>>>
>>>>`/mysql_common/src/ndb-cluster/mysql-4.1'
>>>>
>>>>>>gmake: *** [all] Error 2
>>>>>>
>>>>>>Does anyone know what was wrong with the above error message?
>>>>>
>>>>>It could be that you have a too high version of libtool 1.58
>>
>>instead
>>
>>>of
>>>
>>>>>1.5. Look at
>>>>>http://dev.mysql.com/doc/mysql/en/Installing_source_tree.html and
>>>>>http://dev.mysql.com/doc/mysql/en/Solaris.html
>>>>>
>>>>>If the problem still persist please report again...
>>>>>
>>>>>Best regards
>>>>>Magnus
>>>>>
>>>>>
>>>>>--
>>>>>Magnus Svensson, Software Engineer
>>>>>MySQL AB, www.mysql.com
>>>>>Office: +46 709 164 491
>>>>>
>>>>>
>>>>>--
>>>>>MySQL Cluster Mailing List
>>>>>For list archives: http://lists.mysql.com/cluster
>>>>>To unsubscribe:
>>>>
>>>>http://lists.mysql.com/cluster?unsub=1
>>>>
>>>>-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
>>>>Alexander Haubold
>>>>Columbia University - SEAS 2001, 2003
>>>>
>>>>362 Riverside Dr. #5B3
>>>>New York, NY 10025
>>>>
>>>>Phone: +212-853-8239
>>>>Email: ah297 [at] columbia [dot] edu
>>>>WWW: http://www.aquaphoenix.com
>>>
>>>-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
>>>Alexander Haubold
>>>Columbia University - SEAS 2001, 2003
>>>
>>>362 Riverside Dr. #5B3
>>>New York, NY 10025
>>>
>>>Phone: +212-853-8239
>>>Email: ah297 [at] columbia [dot] edu
>>>WWW: http://www.aquaphoenix.com
>>>
>>>
>>>
>>>-- 
>>>MySQL Cluster Mailing List
>>>For list archives: http://lists.mysql.com/cluster
>>>To unsubscribe:
>>>http://lists.mysql.com/cluster?unsub=1
>>>
>>>
>>>-- 
>>>MySQL Cluster Mailing List
>>>For list archives: http://lists.mysql.com/cluster
>>>To unsubscribe:
>>
>>http://lists.mysql.com/cluster?unsub=1
>>
>>
>>-- 
>>MySQL Cluster Mailing List
>>For list archives: http://lists.mysql.com/cluster
>>To unsubscribe:
> 
> http://lists.mysql.com/cluster?unsub=1
> 
>>
> 
> 


-- 
Jonas Oreland, Software Engineer
MySQL AB, www.mysql.com
Thread
Cluster installation on Solaris 9Qi Chen12 Aug
  • Re: Cluster installation on Solaris 9Magnus Svensson12 Aug
    • Re: Cluster installation on Solaris 9Alexander Haubold13 Aug
      • RE: Cluster installation on Solaris 9Qi Chen13 Aug
      • RE: Cluster installation on Solaris 9Qi Chen14 Aug
        • RE: Cluster installation on Solaris 9Alexander Haubold14 Aug
          • RE: Cluster installation on Solaris 9Qi Chen14 Aug
          • RE: Cluster installation on Solaris 9Qi Chen15 Aug
            • Re: Cluster installation on Solaris 9Jonas Oreland15 Aug
              • RE: Cluster installation on Solaris 9Qi Chen15 Aug
                • RE: Cluster installation on Solaris 9Qi Chen15 Aug
                  • RE: Cluster installation on Solaris 9Alexander Haubold15 Aug
                    • Re: Cluster installation on Solaris 9Jonas Oreland18 Aug
                      • Re: Cluster installation on Solaris 9Alexander Haubold19 Aug
                • Re: Cluster installation on Solaris 9Jonas Oreland15 Aug
                  • Re: Cluster installation on Solaris 9Alexander Haubold15 Aug
                    • Re: Cluster installation on Solaris 9Jonas Oreland16 Aug
                  • RE: Cluster installation on Solaris 9Qi Chen16 Aug
                    • Re: Cluster installation on Solaris 9Jonas Oreland16 Aug
                  • RE: Cluster installation on Solaris 9Qi Chen16 Aug
                    • Re: Cluster installation on Solaris 9Martin Skold16 Aug