SuperCluster DB Home check fails with "Error Command Can't Open /etc/oratab"
(Doc ID 2906474.1)
Last updated on NOVEMBER 06, 2022
Applies to:Oracle SuperCluster Specific Software - Version 3.x and later
Information in this document applies to any platform.
Customer was working with DB RAC support on another service request when the the support engineer asks them to execute the following command; however, as one can see there is an error in the output:
Command: " egrep -v "^#|^$|agent" /etc/oratab | cut -d ":" -f2 | sort | uniq | while read home;do echo -n "$home==>"; stat -c %U:%G $home/inventory; done "
it is evident that it does not work, this is the output: egrep: can't open /etc/oratab
To provide the correct syntax for a one line command to output DB instances and homes in an engineered systems' SPARC / Solaris environment.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!