Scenario:- While trying to disable archivelog, following error is reported.
ORA-38781: cannot disable media recovery - have guaranteed restore points
|
OS |
OEL 6.9 |
|
DB SID |
Ora12c |
|
DB Version |
12.1.0.2 EE |
Dive into our comprehensive blog, your go-to resource for all things related to Oracle Database, Middleware, MSSQL, MySQL, and beyond. Whether you're a seasoned database administrator, an IT professional, or a tech enthusiast, you'll find valuable insights, expert tips, and the latest updates to help you master these powerful technologies and elevate your skills.
Scenario:- While trying to disable archivelog, following error is reported.
ORA-38781: cannot disable media recovery - have guaranteed restore points
|
OS |
OEL 6.9 |
|
DB SID |
Ora12c |
|
DB Version |
12.1.0.2 EE |
Oracle Application Express 20.1 Installation Steps
Before installing Oracle Application Express, you must verify your configuration meets the minimum installation requirements.
• Oracle Database Requirements
Oracle Application Express release 20.1 requires an Oracle Database release 11.2.0.4 or later, including Enterprise Edition and Express Edition (Oracle Database XE). Oracle Application Express can be installed in single-instance database and in Oracle Real Application Clusters (Oracle RAC) database.
• MEMORY_TARGET of the Target Database
Oracle Application Express requires the system global area (SGA) and program global area (PGA) to be at least 300 MB.
• Oracle XML DB Requirement
Oracle XML DB must be installed in the Oracle database that you want to use if you are installing a full development environment. Oracle XML DB is not required for runtime only installations. If you are using a preconfigured database created either during an installation or by Database Configuration Assistant (DBCA), Oracle XML DB is already installed and configured.
Download Link: -
Oracle Application
Express can be downloaded from HERE
Environment details:-
|
OS |
RHEL 6.4 |
|
IP |
192.168.0.106 |
|
Hostname |
server3.soumya.com |
|
Apex Version |
20.1 |
|
DB Version |
12.1.0.2 |
How to find out which Enterprise Edition features are being used in your oracle database ?
I have seen many customer uses Enterprise Edition features unknowingly. They fall into trouble when Oracle performs an audit into their database and find out what are features they have using without their knowledge. As many of those features require extra cost.
A few of EE features that require extra licensing such as
We can use following query to find out if any features that are being used cost extra.
|
spool
DB_features_usage.lst Set
feedback off Set
lines 222 Col
name format a50 heading "Feature" Col
version format a10 heading "Version" Col
detected_usages format 999,990 heading "Detected|usages" Col
currently_used format a06 heading
"Curr.|used?" Col
first_usage_date format a10 heading "First
use" Col
last_usage_date format a10 heading "Last
use" Col
nop noprint Break
on nop skip 1 on name SQL>
Select decode(detected_usages,0,2,1) nop, name,
version, detected_usages, currently_used,
to_char(first_usage_date,'DD/MM/YYYY') first_usage_date,
to_char(last_usage_date,'DD/MM/YYYY') last_usage_date
from dba_feature_usage_statistics
order by nop, 1, 2;
|
This would save the output in a file by name DB_features_usage.lst.
Reference: https://docs.oracle.com/en/database/oracle/oracle-database/12.2/dblic/Licensing-Information.html#GUID-AB354617-6614-487E-A022-7FC9A5A08472
It is assumed that you have an existing server with either Oracle Linux 6.x or 7.x installed on it.
Download the Weblogic Server 12c software
from Oracle
Technology Network.
|
We would use the fustion middleware
infrastructure pack as we would be installing forms and reports 12c services
later.
Make sure Java is installed properly
.Check exact java version using
The following actions should be performed
by the "root" user.
Make sure the "/etc/hosts" file
contains correct entries for both the "localhost" and real host
names.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain410.0.95.10 test.soumya.com testCreate a new group and user.
groupadd -g 54321 oinstalluseradd -u 54321 -g oinstall oraclepasswd oracleCreate the directories in which the Oracle
software will be installed.
mkdir -p /d01/app/oracle/product/12.2.1.4chown -R oracle:oinstall /d01chmod -R 775 /d01/Create an environment file named app_env
Add the following line in .bash_profile
alias app_env='. /home/oracle/app_env'
vi /home/oracle/app_env
ORACLE_BASE=/d01/app/oracle; export ORACLE_BASEORACLE_HOME=$ORACLE_BASE/product/12.2.1.4; export ORACLE_HOMEMW_HOME=$ORACLE_HOME ; export MW_HOMEWLS_HOME=$MW_HOME/wlserver; export WLS_HOMEWL_HOME=$WLS_HOME ;export WLS_HOMEDOMAIN_HOME=/d01/app/oracle/product/12.2.1.4/user_projects/domains/prod_domain; export DOMAIN_HOMEJAVA_HOME=/usr/java/jdk1.8.0_231-amd64; export JAVA_HOMEexport OHS_INST=/d01/app/oracle/product/12.2.1.4/user_projects/domains/prod_domain/config/fmwconfig/components/OHS/instances/ohs1 ;export OHS_INSTPATH=$JAVA_HOME/bin:$PATH ; export PATHexport LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/libexport CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlibexport FORMS_PATH=/d01/app/oracle/product/12.2.1.4/forms; export FORMS_PATH[root@mesappprod u01]# rpm -Uvh
jdk-8u241-linux-x64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:jdk1.8-2000:1.8.0_241-fcs ################################# [100%]
Unpacking JAR files...
tools.jar...
plugin.jar...
javaws.jar...
deploy.jar...
rt.jar...
jsse.jar...
charsets.jar...
localedata.jar...
[root@mesappprod u01]# java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
[root@mesappprod u01]# alternatives --config java
-----------------------------------------------
*+ 1 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el7_7.x86_64/jre/bin/java)
2
/usr/java/jdk1.8.0_241-amd64/jre/bin/java
Enter to keep the current selection[+], or
type selection number: 2
For Oracle Linux 6, as specified in MOS Note [ID 1487773.1], amend the
"/etc/security/limits.d/90-nproc.conf" file, making the following
change.
# From* soft nproc 1024 #To* - nproc 16384Run the installer as the "oracle"
user.
[oracle@weblogic_sw]$ unzip
fmw_12.2.1.4.0_infrastructure_Disk1_1of1.zip
$ $JAVA_HOME/bin/java -jar
fmw_12.2.1.4.0_infrastructure.jar
If this is is the
first installation on the machine you will need to specify an inventory
location. Enter the inventory location, like "/u01/app/oraInventory"
and click the "OK" button. In our case we had database installed
previously on the same machine hence it didn’t ask for inventory location.
Select the "Skip Auto Updates"
options, then click the "next" button.
Enter the middleware home
("/u01/app/oracle/product/12.2.1") and click the "Next"
button.
Wait for the prerequisite checks to
complete. If there are failures, correct them and rerun the checks. If there
are no failures, click the "Next" button.
If you are ok with the summary
information, click the "Install" button.
Wait for the installation to complete, then click the
"Next" button.
On the installation complete screen, click
the "Finish" button to launch the Configuration Wizard.
A single script to gather various information's of your database. Save the following code as .sql file and run it from sql prompt. This will generate a .lst file with the datetime.
This script has been tested on 11gR2, 12cR1, 12cR2, 19c
|
column tm new_value file_time noprint |
![]() |
In this post I will describe the installation of Oracle Database 26ai 64-bit on Oracle Linux 9 (OL8) 64-bit. The installation requires a m...