确认OHS版本的方法

还是 opatch lsinventory 好用

C:OracleMiddlewareohsOPatch>opatch lsinventory

Oracle Interim Patch Installerバージョン11.1.0.9.9
Copyright (c) 2012, Oracle Corporation.  All rights reserved。


Oracle Home       : C:OracleMIDDLE~1ohs
Central Inventory : C:Program FilesOracleInventory
   from           : n/a
OPatch version    : 11.1.0.9.9
OUI version       : 11.1.0.9.0
Log file location : C:OracleMIDDLE~1ohscfgtoollogsopatchopatch2017-05-24_1
6-20-00午後_1.log


OPatch detects the Middleware Home as "C:OracleMiddleware"

Lsinventory Output file location : C:OracleMIDDLE~1ohscfgtoollogsopatchlsi
nvlsinventory2017-05-24_16-20-00午後.txt

--------------------------------------------------------------------------------

インストールされた最上位製品(1):

Oracle WebTier and Utilities CD                                      11.1.1.7.0
このOracleホームには1の製品がインストールされています。

httpd -version 的话,凑活吧。

C:OracleMiddlewareohsOPatch>cd /d C:OracleMiddlewareohsohsbin

C:OracleMiddlewareohsohsin>httpd -version
Server version: Oracle-HTTP-Server/2.2.22 (Win64)
Server built:   Jan 22 2013 20:01:01
Server label:   unknown
原文地址:https://www.cnblogs.com/johnsonshu/p/6899121.html