Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.6.2, 6.2.1
-
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)
|