Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-1134

non-root install - columnstoreAlias file not update and reference by postConfigure

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Cannot Reproduce
    • 1.1.2
    • 1.1.3
    • installation
    • None
    • non-root AMI amazon 3pm system
    • 2018-02

    Description

      At the end of postConfigure, it gives the command to create the alias. But the Alias file isnt updated with the non-root install path. The version in /etc/profile.d is updated.

      from postconfigure

      Enter the following command to define MariaDB ColumnStore Alias Commands

      . /home/mariadb-user/mariadb/columnstore/bin/columnstoreAlias

      . /home/mariadb-user/mariadb/columnstore/bin/columnstoreAlias
      [mariadb-user@ip-172-30-0-204 ~]$
      [mariadb-user@ip-172-30-0-204 ~]$ mcsmysql
      -bash: /usr/local/mariadb/columnstore/mysql/bin/mysql: No such file or directory
      [mariadb-user@ip-172-30-0-204 ~]$ cat /home/mariadb-user/mariadb/columnstore/bin/columnstoreAlias

      1. MariaDB Columnstore Alias Commands
        #
        alias mcsmysql='/usr/local/mariadb/columnstore/mysql/bin/mysql --defaults-extra-file=/usr/local/mariadb/columnstore/mysql/my.cnf -u root'
        alias ma=/usr/local/mariadb/columnstore/bin/mcsadmin
        alias mcsadmin=/usr/local/mariadb/columnstore/bin/mcsadmin
        alias cpimport=/usr/local/mariadb/columnstore/bin/cpimport
        alias home='cd /usr/local/mariadb/columnstore'
        alias log='cd /var/log/mariadb/columnstore/'
        alias core='cd /var/log/mariadb/columnstore/corefiles'
        alias tmsg='tail -f /var/log/messages'
        alias tdebug='tail -f /var/log/mariadb/columnstore/debug.log'
        alias tinfo='tail -f /var/log/mariadb/columnstore/info.log'
        alias dbrm='cd /usr/local/mariadb/columnstore/data1/systemFiles/dbrm'
        alias module='cat /usr/local/mariadb/columnstore/local/module'
        [mariadb-user@ip-172-30-0-204 ~]$ cat /etc/profile.d/col
        colorgrep.csh colorls.csh columnstoreAlias.sh
        colorgrep.sh colorls.sh columnstoreEnv.sh
        [mariadb-user@ip-172-30-0-204 ~]$ cat /etc/profile.d/columnstoreAlias.sh
      2. MariaDB Columnstore Alias Commands
        #
        alias mcsmysql='/home/mariadb-user/mariadb/columnstore/mysql/bin/mysql --defaults-extra-file=/home/mariadb-user/mariadb/columnstore/mysql/my.cnf -u root'
        alias ma=/home/mariadb-user/mariadb/columnstore/bin/mcsadmin
        alias mcsadmin=/home/mariadb-user/mariadb/columnstore/bin/mcsadmin
        alias cpimport=/home/mariadb-user/mariadb/columnstore/bin/cpimport
        alias home='cd /home/mariadb-user/mariadb/columnstore'
        alias log='cd /var/log/mariadb/columnstore/'
        alias core='cd /var/log/mariadb/columnstore/corefiles'
        alias tmsg='tail -f /var/log/messages'
        alias tdebug='tail -f /var/log/mariadb/columnstore/debug.log'
        alias tinfo='tail -f /var/log/mariadb/columnstore/info.log'
        alias dbrm='cd /home/mariadb-user/mariadb/columnstore/data1/systemFiles/dbrm'
        alias module='cat /home/mariadb-user/mariadb/columnstore/local/module'

      Attachments

        Activity

          People

            hill David Hill (Inactive)
            hill David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.