New Install - Ubuntu Server 12.04
I am trying to get it setup and I am following the guide here, http://support.severalnines.com/entries/21952156-get-your-galera-cluster-under-clustercontrol and it fails to create the directories under /usr/local/cmon , it keeps trying to create a file instead of extracting the tar to a new directory cmon.
I already have a 3 node Galera cluster setup so I am just installing the cluster control,
Jason
-
Hi,
Can you try downloading the package again. I've updated it to handle downloading via symbolic links, because the v1.35 package changed to a symbolic link to an updated 1.35b package.
$ wget -O cc-bootstrap-1.1.34.tar.gz http://severalnines.com/downloads/cmon/cc-bootstrap-1.1.34.tar.gz
$ tar zxvf cc-bootstrap-1.1.34.tar.gz
$ cd cc-bootstrap-1.1.34
$ bin/bootstrap-controller.shAt least that's what I suspect is one of the issues here.
Best Regards,
-alex
-
Still nothing, this time it errors during the download when running the script,
--2012-11-13 16:00:59-- http://www.severalnines.com/downloads/cmon/cmon-1.1.35- 64bit-glibc23-mc70.tar.gz
Resolving www.severalnines.com (www.severalnines.com)... 194.236.32.162
Connecting to www.severalnines.com (www.severalnines.com)|194.236.32.162|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-11-13 16:01:00 ERROR 404: Not Found. -
It got passed that error but now it is doing what the other was doing before, When it gets to the part where it extracts the tar.gz package in /usr/local instead of making a folder named cmon in /usr/local/ it creates a file instead erroring the rest out after wards because the directory fails to be created. The directory structure looks like this afterwards,
/usr/local/bin
/usr/local/cmon-1.1.35c-64bit-glibc23-mc70
/usr/local/etc
/usr/local/include
/usr/local/lib
/usr/local/man
/usr/local/sbin
/usr/local/share
/usr/local/src
cmon <--- It creates a file not a directory like it should have
I have tried to go through the script but I cannot find where it create the folder and extracts the archive.
-
Hi,
It should create a symbolic link in /usr/local called cmon pointing to /usr/local/cmon-1.1.35c-64bit-glibc23-mc70. The script installing the controller is called install-controller.sh
I've run this on a AWS created ubuntu 12.04 without an issue. Is the user that you are using in the sudoers list?
Try running it as root.
$ sudo bash
$ bin/bootstrap-controller.sh
And if you have any issues again please attach the log output. Thanks.
Best Regards,
-alex
Please sign in to leave a comment.
Comments
5 comments