OL7: dbasscli Commands Fail with error "Unable to run command. This command should be run as user: or root. Currently: oracle"
(Doc ID 2763481.1)
Last updated on OCTOBER 07, 2022
Applies to:
Oracle Compute Cloud Service - Version N/A and laterLinux x86-64
Symptoms
In OL7, dbasscli commands fail to run with oracle user when sudo to oracle but works when su to oracle
$ sudo /var/opt/oracle/dbaascli/dbaascli dbhome info
DBAAS CLI version xx.xx.xx.xx
Executing command dbhome info
Unable to run command. This command should be run as user: or root. Currently: oracle
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |