Oracle Database
1. Select v$instance for only Database version
SQL> select version from V$INSTANCE;
VERSION
-----------------
11.2.0.4.0
2. Select v$version table in database
SQL> Select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
PL/SQL Release 11.2.0.4.0 - Production
CORE 11.2.0.4.0 Production
TNS for Linux: Version 11.2.0.4.0 - Production
NLSRTL Version 11.2.0.4.0 – Production
Identifying Your Oracle Database Software Release
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
PL/SQL Release 11.2.0.4.0 - Production
CORE 11.2.0.4.0 Production
TNS for Linux: Version 11.2.0.4.0 - Production
NLSRTL Version 11.2.0.4.0 – Production
Identifying Your Oracle Database Software Release
·
10
is the major database release number
·
1
is the database maintenence release number
·
0
is the application server release number
·
1
is the component-specific release number
·
0
is the platform-specific release number
3. Search for “Enterprise Edition” in alert_SID.log file
$cat alert_ORCL.log |grep "Enterprise Edition"
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
Oracle Weblogic:
1.Find WebLoic version from WebLogic Jar file using below command
For ex:-
$cd /u01/home/ wls1211/wlserver_12.1/server/lib/
java -cp weblogic.jar weblogic.version
2. Check registry.xml under $MW_HOME and search for earch for “component name=”WebLogic Server””
For ex: cat /u01/home/ wls1211/registry.xml | grep 'component name="WebLogic Server"'
<component name="WebLogic Server" version="12.1.1.0" InstallDir="/u01/home/oracle/Agile/wls1211/wlserver_12.1">
3. You can also find version by searching “WebLogic Server” in WebLogic Admin server logfile
$DOMAIN_HOME/servers/AdminServer/admin/AdminServer.log
For ex:-
$cd /u01/home/ wls1211/wlserver_12.1/server/lib/
java -cp weblogic.jar weblogic.version
2. Check registry.xml under $MW_HOME and search for earch for “component name=”WebLogic Server””
For ex: cat /u01/home/ wls1211/registry.xml | grep 'component name="WebLogic Server"'
<component name="WebLogic Server" version="12.1.1.0" InstallDir="/u01/home/oracle/Agile/wls1211/wlserver_12.1">
3. You can also find version by searching “WebLogic Server” in WebLogic Admin server logfile
$DOMAIN_HOME/servers/AdminServer/admin/AdminServer.log
Regards,
Satishbabu Gunukula, Oracle ACE
http://www.oracleracexpert.com