MySQL Forums
Forum List  »  NDB clusters

ndb_setup.py failure
Posted by: Mark Kirk
Date: July 28, 2017 04:44PM

I'm trying to install mysql ndb. I'm following the quick start instructions. I've installed these rpms:
mysql-cluster-community-common-7.5.7-1.el6.x86_64.rpm
mysql-cluster-community-libs-7.5.7-1.el6.x86_64.rpm
mysql-cluster-community-client-7.5.7-1.el6.x86_64.rpm
mysql-cluster-community-server-7.5.7-1.el6.x86_64.rpm
mysql-cluster-community-auto-installer-7.5.7-1.el6.x86_64.rpm
and these for python (I have 2.6.6)
paramiko (1.10.1)
pycrypto (2.6.1)

My OS is RHEL 6.9

I'm following these instructions: https://downloads.mysql.com/tutorials/cluster/mysql_wp_cluster_quickstart.pdf

I'm running ndb_setup.py from a regular user as per the doc but I get this:
Running out of install dir: /usr/bin
Traceback (most recent call last):
File "./ndb_setup.py", line 38, in <module>
request_handler.main(mcc_config.install_prefix, mcc_config.abs_install_subdir)
File "/usr/share/mysql/mcc/request_handler.py", line 562, in main
file_handle = os.open('mcc.pid', flags)
OSError: [Errno 13] Permission denied: 'mcc.pid'

Setting permissions on /usr/share/mysql and subdirs to 777 doesn't even make a difference.



Edited 1 time(s). Last edit at 07/28/2017 04:45PM by Mark Kirk.

Options: ReplyQuote


Subject
Views
Written By
Posted
ndb_setup.py failure
1978
July 28, 2017 04:44PM
756
August 01, 2017 04:05AM
714
August 01, 2017 04:21AM
941
August 01, 2017 08:55AM
765
August 04, 2017 04:46AM
769
August 04, 2017 05:08AM


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.