MySQL Forums
Forum List  »  NDB clusters

cluster setup
Posted by: stefan
Date: May 31, 2005 02:19AM

Hello all

I'm trying to cluster mysql with the great openssi project www.openssi.org . on debian sarge synchronistaion is don via DRBD. mysql version is 4.1.

I'm trying the mysql cluster with this discription
http://dev.mysql.com/tech-resources/articles/mysql-cluster-for-two-servers.html

I can start the first node it seems that all went okay .

But when I try to start the second no

I do "mysqld & " then I have the od problem with

>"InnoDB: Unable to lock ./ibdata1, error: 11"

It seems that the file is locked throught the first mysql, or?

When I do "/etc/init.d/mysql start"


"node2:/var/lib/mysql-cluster# /etc/init.d/mysql start
> Starting MySQL database server: mysqld...failed.
> Please take a look at the syslog.
> /usr/bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (111)'
> Check that mysqld is running and that the socket:
> '/var/run/mysqld/mysqld.sock' exists!"


The mysql.sock is on its place. And far as I know it should be created when I start mysql, or?

I google a lot but cant find a solution for it.

Can someone help me , please?
Need more information?

-tia

stefan

Options: ReplyQuote


Subject
Views
Written By
Posted
cluster setup
2721
May 31, 2005 02:19AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.