Oracle Discovery sets Oracle Home to the Grid Infrastructure home when executablePath is empty<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } IssueOracle DB On Unix discovery populates the Oracle Home with the Grid Infrastructure home instead of the database Oracle home, resulting in an incorrect database version.SymptomsOracle Home on the Oracle instance CI points to the Grid home.Database version is incorrect or missing.Pattern log shows executablePath is empty and the fallback step uses oracleHome from the Grid oraagent process.CauseThe Discovery credential cannot read the executable path of the ora_pmon process. When executablePath is empty, the pattern falls back to the oracleHome value from the process environment. In Grid Infrastructure, RAC and Oracle Restart environments, that value comes from the Grid oraagent process, so the Grid home is used.ResolutionOpen the pattern log for the Oracle DB On Unix pattern and confirm executablePath is empty.Log in to the host as the Discovery credential user and confirm it can read the ora_pmon process executable path.Grant the Discovery user the required permissions (Oracle group membership such as oinstall, or sudo for the Discovery commands).Rerun Discovery and confirm the Oracle Home and version are correct.If the issue persists, enable MID Server debug, rerun Discovery and review the MID Server agent logs.