mysql cluster

Discussion in 'Server Operation' started by swordsaint, Aug 16, 2007.

  1. swordsaint

    swordsaint New Member

    Hi. I'm using the guide on How To Set Up A Load-Balanced MySQL Cluster but when I get to the command ndbd --initial I get this error message
    -su: /usr/sbin/ndbd: No such file or directory

    I think it may be because I installed mysql with apt but I removed it with apt-get remove and installed mysql-max-5.0.19. also I was wondering if I could use ultra monkey to cluster the sites on Ispconfig but not Ispconfig itself. Please Help!!!!:confused:
     
    Last edited: Aug 16, 2007
  2. falko

    falko Super Moderator Howtoforge Staff

    Please reinstall the packages as shown in the tutorial.

    Yes, that should be no problem. You could mirror the sites from one server to the other (so that their files are always in sync) ( http://www.howtoforge.com/mirroring_with_rsync ) and then use Ultramonkey.
     
  3. swordsaint

    swordsaint New Member

    Hi I gost past the ndbd --initial part, but when I try to install DBD-mysql I get this error mrssage

    Can't exec "mysql_config": No such file or directory at Makefile.PL line 76.

    Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
    not contain the path to mysql_config. Resorting to guessed values!
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
    Failed to determine directory of mysql.h.


    I know that I can specify the mysql directory but I dont know how to find out where it is. Please Help!!! Thanks
     
    Last edited: Aug 19, 2007
  4. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    updatedb
    locate mysql_config
    ?
     

Share This Page