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

columnstoreAlias.sh produces error upon login for non-clustered ColumnStore install

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.6.2, 6.2.1
    • 6.2.2
    • None
    • None
    • 2021-16

    Description

      When a user logs in, he sees: "grep: /etc/columnstore/cmapi_server.conf: No such file or directory"

      login as: root
      Authenticating with public key "rsa-key-20200325" from agent
      Linux cs 4.19.0-17-cloud-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64
       
      The programs included with the Debian GNU/Linux system are free software;
      the exact distribution terms for each program are described in the
      individual files in /usr/share/doc/*/copyright.
       
      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
      permitted by applicable law.
      Last login: Sun Aug  8 13:41:23 2021 from 181.56.133.171
      grep: /etc/columnstore/cmapi_server.conf: No such file or directory
      root@cs:~$ 
      

      Workaround, in file /etc/profile.d/columnstoreAlias.sh

      mcsapikey=$(grep -r 'x-api-key' /etc/columnstore/cmapi_server.conf 2>/dev/null | cut -d= -f2 | xargs)
      

      Attachments

        Activity

          People

            dleeyh Daniel Lee (Inactive)
            edward Edward Stoever
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.