Below are the possible ways to find Oracle HTTP Server (OHS) version
1) Go to $OHS_HOME/bin
Run ./httpd -version
It should return result as below based on the version of OHS
$ ./httpd -version
Server version: Oracle-HTTP-Server/2.2.15 (Unix)
Server built: Apr 2 2011 23:51:27
Server label: APACHE_11.1.1.5.0_LINUX.X64_110325.2001
Please note:
Ensure LD_LIBRARY_PATH variable is set and include all the libraries in the path.
Example: $export LD_LIBRARY_PATH=/(middlewarehome)
Else you will get error as below when running httpd -version command.
./httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory
2) Check in Enterprise Manager
- Login to Enterprise Manager console /em.
- Select ohs component (eg: ohs1, ohs2 ....)
- Right click on it and select General Information
- You will see the version of OHS
- However this version info may not be reliable as it may show you can incorrect version in EM specially after upgrades
Eg: If you upgrade from 11.1.1.3 to 11.1.1.5, OHS version may wrongly show as 11.1.1.2 or 11.1.1.4. This is a possible bug.
Even if you have run below commands after OHS upgrade, incorrect version may show up in EM.
./opmnctl unregisterinstance
./opmnctl redeploy
./opmnctl registerinstance
Check out for more information from this Oracle Support Doc ID 260449.1
OHS Server Log Location
OHS Server Log Location
ORACLE_INSTANCE
/diagnostics/logs/OHS/
component_name
No comments:
Post a Comment