DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd July 2008
dcreatorx dcreatorx is offline
New User
 
Join Date: Jul 2008
Posts: 2
Thumbs up Mysql Cluster Questions . . Help!

Hello, I'm trying to start my management server on a Freebsd 7 amd64. When I run it, it says the following:

Code:
-- NDB Cluster -- Management Client --
ndb_mgm> show
Unable to connect with connect string: nodeid=0,localhost:1186
Retrying every 5 seconds. Attempts left: 2

I know what it means. The computer can't connect to itseflt through the port 1186.
The thing is that I tried the same configuration but with a Debian server acting as the manager and that does not happen. I want this server to be the manager but it have to be an http server also, so that way I'm using Freebsd before Debian. I tried lots of things but this crap still happen every time. Please help me !


I dont' really know If I compiled the port the right way. First I did make WITH_NDB="yes", then make install and then make clean. Does that include the right way the cluster support ?
Thanks.

Last edited by dcreatorx; 2nd July 2008 at 06:03 PM.
Reply With Quote
  #2   (View Single Post)  
Old 2nd July 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Default

And what exactly happens when you start your management server? The output you showed tells us that your management client is not unable to connect to the management server. Is you ndb_mgmd process running?

If you have ndbd, your MySQL is *usually* built with NDB support. To make sure it is the case, you can run the following query in any MySQL client: "show engines;". If you have NDB enabled there, everything is fine.

I built a test MySQL server under FreeBSD 7.0 with jails and had 0 problems. Performance was good too. Let me know if you still have issues/questions.

Good luck.
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
  #3   (View Single Post)  
Old 2nd July 2008
dcreatorx dcreatorx is offline
New User
 
Join Date: Jul 2008
Posts: 2
Default that's it.

Hi. That's it . . . I noticed taht debian uses by deault the "ndb_mgmd" daemon. But I can't find it on the installation under Freebsd. I tryed to find information about it during hours at job today, but sincerely, I didn't find a whole thing, even any documentation about it. Can you please tell me where is the script that launches the ndb_mgmd daemon ?

Thanks a lot.
Reply With Quote
  #4   (View Single Post)  
Old 3rd July 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Default

There is no startup script for this daemon (on FreeBSD and RHEL at least).The ndb_mgmd binary resides somewhere under /usr or /var.
Code:
# find /var | grep ndb
should point you out all the files with ndb in their name under the /var directory. After, you can start the daemon with ndb_mgmd -c <config>.
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some Questions ?? ultranothing OpenBSD Security 6 4th September 2009 04:59 PM
Diskless Cluster syrushcw FreeBSD General 1 6th July 2009 12:20 PM
freebsd cluster how to t4y4n FreeBSD General 18 18th September 2008 06:11 PM
Load balancing cluster. bigb89 General software and network 16 3rd July 2008 09:28 PM
MySQL High Availability FreeBSD Cluster businessgeeks FreeBSD General 7 24th June 2008 07:12 PM


All times are GMT. The time now is 08:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick