New Install - Ubuntu Server 12.04

Comments

5 comments

  • Avatar
    Alex

    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.sh 

     At least that's what I suspect is one of the issues here.


    Best Regards,

    -alex

    0
    Comment actions Permalink
  • Avatar
    Jason Everling

    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.

    0
    Comment actions Permalink
  • Avatar
    Alex

    Hi,

    Please try editing the config.defaults file directly and change the  cmon_package_x86_64 value to below.

    cmon_package_x86_64="cmon-1.1.35c-64bit-glibc23-mc70.tar.gz"


    Notice the version is 1.1.35c.

    Best Regards,

    -alex

    0
    Comment actions Permalink
  • Avatar
    Jason Everling

    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.

    0
    Comment actions Permalink
  • Avatar
    Alex

    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

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk